diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-07 15:10:57 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-07 15:10:57 +0000 |
commit | 34cb0380a260fbb9f2fdc853d85d7dd34e567cd6 (patch) | |
tree | a6f04063f95aa1f46ae439d0b5302a2b06639d2d /toolchain/uClibc/Makefile | |
parent | ad82a7e442a64e274155709851fe7103764a738a (diff) |
[toolchain] uClibc: enhance debug support (closes: #6118)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20031 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/uClibc/Makefile')
-rw-r--r-- | toolchain/uClibc/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile index b94fc2e71..25fd09f83 100644 --- a/toolchain/uClibc/Makefile +++ b/toolchain/uClibc/Makefile @@ -58,7 +58,10 @@ define Host/SetToolchainInfo $(SED) 's,^\(LIBC_SO_VERSION\)=.*,\1=$(LIBC_SO_VERSION),' $(TOOLCHAIN_DIR)/info.mk endef -GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n $(if $(wildcard $(CONFIG_DIR)/common),'+' $(CONFIG_DIR)/common) ./$(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD)) +GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \ + $(if $(wildcard $(CONFIG_DIR)/common),'+' $(CONFIG_DIR)/common) \ + $(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \ + $(CONFIG_DIR)/$(ARCH)$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD)) define Host/Prepare $(call Host/SetToolchainInfo) @@ -100,10 +103,6 @@ UCLIBC_MAKE = PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \ LIBGCC="$(subst libgcc.a,libgcc_initial.a,$(shell $(TARGET_CC) -print-libgcc-file-name))" \ DOSTRIP="" -ifeq ($(CONFIG_UCLIBC_ENABLE_DEBUG),y) - UCLIBC_MAKE += DODEBUG=y -endif - define Host/Compile $(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak $(UCLIBC_MAKE) PREFIX= all |