mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Add CONFIG_DEBUG_SYMBOLS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2053 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -163,16 +163,24 @@ defconfig -- This is a configuration file similar to the Linux
|
|||||||
that will be used in the build
|
that will be used in the build
|
||||||
CONFIG_DEBUG - enables built-in debug options
|
CONFIG_DEBUG - enables built-in debug options
|
||||||
CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
debug symbols (needed for use with a debugger).
|
||||||
CONFIG_DEBUG_SCHED - enable OS debug output (disabled by
|
CONFIG_DEBUG_SCHED - enable OS debug output (disabled by
|
||||||
default)
|
default)
|
||||||
CONFIG_DEBUG_MM - enable memory management debug output
|
CONFIG_DEBUG_MM - enable memory management debug output
|
||||||
(disabled by default)
|
(disabled by default)
|
||||||
CONFIG_DEBUG_NET - enable network debug output (disabled
|
CONFIG_DEBUG_NET - enable network debug output (disabled
|
||||||
by default)
|
by default)
|
||||||
|
CONFIG_DEBUG_USB - enable usb debug output (disabled by
|
||||||
|
default)
|
||||||
CONFIG_DEBUG_FS - enable filesystem debug output (disabled
|
CONFIG_DEBUG_FS - enable filesystem debug output (disabled
|
||||||
by default)
|
by default)
|
||||||
CONFIG_DEBUG_LIB - enable C library debug output (disabled
|
CONFIG_DEBUG_LIB - enable C library debug output (disabled
|
||||||
by default)
|
by default)
|
||||||
|
CONFIG_DEBUG_BINFMT - enable binary loader debug output (disabled
|
||||||
|
by default)
|
||||||
|
CONFIG_DEBUG_GRAPHICS - enable NX graphics debug output
|
||||||
|
(disabled by default)
|
||||||
CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
|
CONFIG_ARCH_LOWPUTC - architecture supports low-level, boot
|
||||||
time console output
|
time console output
|
||||||
CONFIG_MM_REGIONS - If the architecture includes multiple
|
CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -81,7 +81,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=uip
|
CONFIG_EXAMPLE=uip
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ CONFIG_NET_C5471_BASET10=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -201,6 +203,7 @@ CONFIG_NET_C5471_BASET10=n
|
|||||||
CONFIG_EXAMPLE=nettest
|
CONFIG_EXAMPLE=nettest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -201,6 +203,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nsh
|
CONFIG_EXAMPLE=nsh
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -108,7 +108,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -256,6 +258,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=uip
|
CONFIG_EXAMPLE=uip
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=y
|
CONFIG_DEBUG_NET=y
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -108,7 +108,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -256,6 +258,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nettest
|
CONFIG_EXAMPLE=nettest
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=y
|
CONFIG_DEBUG_NET=y
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -108,7 +108,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -256,6 +258,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nsh
|
CONFIG_EXAMPLE=nsh
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -111,7 +111,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -253,6 +255,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nxflat
|
CONFIG_EXAMPLE=nxflat
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_BINFMT=y
|
CONFIG_DEBUG_BINFMT=y
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -108,7 +108,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -256,6 +258,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -111,7 +111,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -194,6 +194,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -259,6 +261,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=thttpd
|
CONFIG_EXAMPLE=thttpd
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=y
|
CONFIG_DEBUG_NET=y
|
||||||
CONFIG_DEBUG_BINFMT=y
|
CONFIG_DEBUG_BINFMT=y
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -171,6 +171,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -235,6 +237,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=0
|
CONFIG_RR_INTERVAL=0
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -176,6 +176,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -240,6 +242,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=dhcpd
|
CONFIG_EXAMPLE=dhcpd
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=n
|
CONFIG_DEBUG_NET=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -176,6 +176,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -240,6 +242,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=uip
|
CONFIG_EXAMPLE=uip
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=n
|
CONFIG_DEBUG_NET=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -176,6 +176,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -240,6 +242,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nettest
|
CONFIG_EXAMPLE=nettest
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=n
|
CONFIG_DEBUG_NET=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -176,6 +176,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -240,6 +242,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nsh
|
CONFIG_EXAMPLE=nsh
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=n
|
CONFIG_DEBUG_NET=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -174,6 +174,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -238,6 +240,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ ARCHCPUDEF = _EZ80F91
|
|||||||
ARCHFAMILY = _EZ80ACCLAIM!
|
ARCHFAMILY = _EZ80ACCLAIM!
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
ARCHASMOPTIMIZATION = -debug -NOsdiopt
|
||||||
else
|
else
|
||||||
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
ARCHASMOPTIMIZATION = -nodebug -NOsdiopt
|
||||||
@@ -85,7 +85,7 @@ AFLAGS = $(ARCHASMCPUFLAGS) $(ARCHASMINCLUDES) $(ARCHASMLIST) \
|
|||||||
|
|
||||||
# Compiler definitions
|
# Compiler definitions
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -debug -reduceopt
|
ARCHOPTIMIZATION = -debug -reduceopt
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -nodebug -optsize
|
ARCHOPTIMIZATION = -nodebug -optsize
|
||||||
|
|||||||
@@ -175,6 +175,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
# CONFIG_DEBUG_NET - enables debug of the network subsystem
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
@@ -240,6 +242,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=poll
|
CONFIG_EXAMPLE=poll
|
||||||
CONFIG_DEBUG=y
|
CONFIG_DEBUG=y
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_NET=n
|
CONFIG_DEBUG_NET=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
include ${TOPDIR}/.config
|
include ${TOPDIR}/.config
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -67,7 +67,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -169,6 +171,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -120,7 +120,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -205,6 +207,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nsh
|
CONFIG_EXAMPLE=nsh
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=0
|
CONFIG_RR_INTERVAL=0
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -120,7 +120,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -205,6 +207,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=0
|
CONFIG_RR_INTERVAL=0
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -120,7 +120,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -205,6 +207,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=usbserial
|
CONFIG_EXAMPLE=usbserial
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_USB=n
|
CONFIG_DEBUG_USB=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ else
|
|||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
ARCHOPTIMIZATION = $(MAXOPTIMIZATION) -fno-strict-aliasing -fno-strength-reduce -fomit-frame-pointer
|
||||||
@@ -120,7 +120,7 @@ EXEEXT =
|
|||||||
ifneq ($(CROSSDEV),arm-elf-)
|
ifneq ($(CROSSDEV),arm-elf-)
|
||||||
LDFLAGS += -nostartfiles -nodefaultlibs
|
LDFLAGS += -nostartfiles -nodefaultlibs
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_DEBUG),y)
|
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -205,6 +207,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=usbstorage
|
CONFIG_EXAMPLE=usbstorage
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_DEBUG_USB=n
|
CONFIG_DEBUG_USB=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ ARCHCXXFLAGS = -fno-builtin -fno-exceptions
|
|||||||
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow
|
||||||
ARCHWARNINGSXX = -Wall -Wshadow
|
ARCHWARNINGSXX = -Wall -Wshadow
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -91,7 +91,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -150,6 +150,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -212,6 +214,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=2
|
CONFIG_MM_REGIONS=2
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -82,7 +82,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -189,6 +191,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nettest
|
CONFIG_EXAMPLE=nettest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -82,7 +82,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -189,6 +191,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=nsh
|
CONFIG_EXAMPLE=nsh
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ OBJDUMP = $(CROSSDEV)objdump
|
|||||||
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
ARCHCCVERSION = ${shell $(CC) -v 2>&1 | sed -n '/^gcc version/p' | sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q'}
|
||||||
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
ARCHCCMAJOR = ${shell echo $(ARCHCCVERSION) | cut -d'.' -f1}
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
ARCHOPTIMIZATION = -g
|
ARCHOPTIMIZATION = -g
|
||||||
else
|
else
|
||||||
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
ARCHOPTIMIZATION = -Os -fno-strict-aliasing -fno-strength-reduce \
|
||||||
@@ -82,7 +82,7 @@ OBJEXT = .o
|
|||||||
LIBEXT = .a
|
LIBEXT = .a
|
||||||
EXEEXT =
|
EXEEXT =
|
||||||
|
|
||||||
ifeq ("${CONFIG_DEBUG}","y")
|
ifeq ("${CONFIG_DEBUG_SYMBOLS}","y")
|
||||||
LDFLAGS += -g
|
LDFLAGS += -g
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,8 @@ CONFIG_HAVE_LIBM=n
|
|||||||
# that will be used in the build
|
# that will be used in the build
|
||||||
# CONFIG_DEBUG - enables built-in debug options
|
# CONFIG_DEBUG - enables built-in debug options
|
||||||
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
# CONFIG_DEBUG_VERBOSE - enables verbose debug output
|
||||||
|
# CONFIG_DEBUG_SYMBOLS - build without optimization and with
|
||||||
|
# debug symbols (needed for use with a debugger).
|
||||||
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
# CONFIG_MM_REGIONS - If the architecture includes multiple
|
||||||
# regions of memory to allocate from, this specifies the
|
# regions of memory to allocate from, this specifies the
|
||||||
# number of memory regions that the memory manager must
|
# number of memory regions that the memory manager must
|
||||||
@@ -189,6 +191,7 @@ CONFIG_HAVE_LIBM=n
|
|||||||
CONFIG_EXAMPLE=ostest
|
CONFIG_EXAMPLE=ostest
|
||||||
CONFIG_DEBUG=n
|
CONFIG_DEBUG=n
|
||||||
CONFIG_DEBUG_VERBOSE=n
|
CONFIG_DEBUG_VERBOSE=n
|
||||||
|
CONFIG_DEBUG_SYMBOLS=n
|
||||||
CONFIG_MM_REGIONS=1
|
CONFIG_MM_REGIONS=1
|
||||||
CONFIG_ARCH_LOWPUTC=y
|
CONFIG_ARCH_LOWPUTC=y
|
||||||
CONFIG_RR_INTERVAL=200
|
CONFIG_RR_INTERVAL=200
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user