summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/glibc/Makefile2
-rw-r--r--toolchain/musl/Makefile2
-rw-r--r--toolchain/uclibc-ng/Makefile2
-rw-r--r--toolchain/uclibc/Makefile2
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)