diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-06 11:52:53 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-06 11:52:53 +0200 |
commit | 79a44ad433851e3e9443fbffbf690c5ab3316a94 (patch) | |
tree | 810f6cd111f55148bb7fcd8027a8d74be38fe46a | |
parent | d9f5e00fd639085cecbf024cf5d7656c3e641e1b (diff) |
bsd fixes
-rw-r--r-- | toolchain/glibc/Makefile | 2 | ||||
-rw-r--r-- | toolchain/musl/Makefile | 2 | ||||
-rw-r--r-- | toolchain/uclibc-ng/Makefile | 2 | ||||
-rw-r--r-- | toolchain/uclibc/Makefile | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile index f010386e1..34f4c924a 100644 --- a/toolchain/glibc/Makefile +++ b/toolchain/glibc/Makefile @@ -65,7 +65,7 @@ $(WRKBUILD)/.installed: touch $@ $(WRKBUILD)/.fixup: - -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete + -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \; rm -rf $(STAGING_TARGET_DIR)/usr/share/locale $(STAGING_TARGET_DIR)/usr/share/i18n ifeq ($(ADK_TARGET_TOOLCHAIN),y) # strip target libs and host tools for toolchain builds diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile index 8c25564cc..9b0cac27c 100644 --- a/toolchain/musl/Makefile +++ b/toolchain/musl/Makefile @@ -52,7 +52,7 @@ $(WRKBUILD)/.fixup: $(MAKE) -C $(WRKBUILD) CFLAGS='$(TARGET_CFLAGS)' all $(MAKE) -C $(WRKBUILD) CFLAGS='$(TARGET_CFLAGS)' DESTDIR=$(STAGING_TARGET_DIR) install # cleanup toolchain - -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete + -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \; 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 \ diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile index 48b449ef9..f1cb89456 100644 --- a/toolchain/uclibc-ng/Makefile +++ b/toolchain/uclibc-ng/Makefile @@ -149,7 +149,7 @@ ifeq ($(ADK_UCLIBC_TEST),y) endif ifeq ($(ADK_TARGET_TOOLCHAIN),y) # cleanup toolchain - -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete + -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \; # 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) diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile index 936eab715..d149c6026 100644 --- a/toolchain/uclibc/Makefile +++ b/toolchain/uclibc/Makefile @@ -121,7 +121,7 @@ ifeq ($(ADK_UCLIBC_TEST),y) endif ifeq ($(ADK_TARGET_TOOLCHAIN),y) # cleanup toolchain - -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -delete + -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \; # 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) |