diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-24 13:16:10 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-24 13:17:01 +0200 |
commit | f5f34fe0e16239f40270b1babb002e8aec3d3fed (patch) | |
tree | d16f6fbc6db033bc6e4345fcf9f65ba1ffa35ab6 /toolchain/uclibc/Makefile | |
parent | e88a18927d78680433caca8a63c6f4f24d3468b3 (diff) |
fix uclibc compile for qemu-arm (experimental fix), use DODEBUG as default
Diffstat (limited to 'toolchain/uclibc/Makefile')
-rw-r--r-- | toolchain/uclibc/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile index 90399ae39..7184d6220 100644 --- a/toolchain/uclibc/Makefile +++ b/toolchain/uclibc/Makefile @@ -104,11 +104,6 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.install_headers touch $@ $(WRKBUILD)/.fixup: - # DOSTRIP kills x86 target (ld.so can not map libc.so.0), always use DODEBUG - # DODEBUG compile failure linking with libgcc_eh.a on arm hf -ifneq ($(ADK_LINUX_ARM),y) - $(SED) 's,DOSTRIP,DODEBUG,' ${WRKBUILD}/.config -endif $(MAKE) -C $(WRKBUILD) \ PREFIX=$(STAGING_TARGET_DIR) \ DEVEL_PREFIX=/usr/ \ @@ -116,9 +111,9 @@ endif RUNTIME_PREFIX=/ \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ all install_runtime +ifeq ($(ADK_TARGET_TOOLCHAIN),y) # cleanup toolchain -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete -ifeq ($(ADK_TARGET_TOOLCHAIN),y) # strip target libs and host tools for toolchain builds PATH="$(TARGET_PATH)" debug='0' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh \ $(STAGING_TARGET_DIR) $(TOOLCHAIN_DIR)/usr/lib/gcc/$(GNU_TARGET_NAME) |