mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-06 19:19:31 +00:00
add menuconfig item to enable uClibc debug builds
SVN-Revision: 19860
This commit is contained in:
parent
8b22b8e61f
commit
24b495c619
@ -18,3 +18,11 @@ choice
|
|||||||
depends BROKEN
|
depends BROKEN
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|
||||||
|
# Debug version.
|
||||||
|
|
||||||
|
config UCLIBC_ENABLE_DEBUG
|
||||||
|
bool "Build with debug information"
|
||||||
|
depends on TOOLCHAINOPTS && USE_UCLIBC
|
||||||
|
default n
|
||||||
|
@ -97,6 +97,10 @@ UCLIBC_MAKE = PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \
|
|||||||
LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \
|
LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \
|
||||||
DOSTRIP=""
|
DOSTRIP=""
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_UCLIBC_ENABLE_DEBUG),y)
|
||||||
|
UCLIBC_MAKE += DODEBUG=y
|
||||||
|
endif
|
||||||
|
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak
|
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak
|
||||||
$(UCLIBC_MAKE) PREFIX= all
|
$(UCLIBC_MAKE) PREFIX= all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user