summaryrefslogtreecommitdiff
path: root/toolchain/musl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-23 19:03:21 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-23 19:03:21 +0200
commit910ee3f081d229f4439aa2bdbb3553b61cc116cd (patch)
tree91382e19d3f519c34777cb6f6277beb8b0190149 /toolchain/musl
parent8cf892f141edd33a54b09a16f72650754f6032b5 (diff)
fix symbol renaming bugs
Diffstat (limited to 'toolchain/musl')
-rw-r--r--toolchain/musl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 7b0eeb104..b49b793f2 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -50,7 +50,7 @@ $(WRKBUILD)/.fixup:
$(MAKE) -C $(WRKBUILD) CFLAGS='$(TARGET_CFLAGS)' DESTDIR=$(STAGING_TARGET_DIR) install
# cleanup toolchain
-find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete
-ifeq ($(ADK_TOOLCHAIN),y)
+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)