diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-03 08:38:09 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-03 08:38:09 +0100 |
commit | b52a881b03cdd926ec06ccaca7b4d7d63fc3cb8c (patch) | |
tree | 84ef25bc26986d91bf128cc32fddd0da2fdbe552 /toolchain/musl | |
parent | b8baf73967b23844f8a15a9a58f0fb623a95d4f1 (diff) | |
parent | 6d8a8d81525622bdc1d294f3368dbd301e6c4b3b (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/musl')
-rw-r--r-- | toolchain/musl/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile index abb7af366..d675dc4cc 100644 --- a/toolchain/musl/Makefile +++ b/toolchain/musl/Makefile @@ -59,8 +59,11 @@ $(WRKBUILD)/.fixup: $(MAKE) -C $(WRKBUILD) DESTDIR=$(STAGING_TARGET_DIR) install # cleanup toolchain -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete - PATH="$(TARGET_PATH)" debug='' prefix='${TARGET_CROSS}' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_TARGET_DIR) - debug='' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_HOST_DIR) +ifeq ($(ADK_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) + debug='0' prefix=' ' ${BASH} ${SCRIPT_DIR}/rstrip.sh $(STAGING_HOST_DIR) +endif touch $@ include ${TOPDIR}/mk/toolchain.mk |