summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-30 14:31:49 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-30 14:31:49 +0100
commitaef047bf7d61880ed478e6410205ad2f7ff6067c (patch)
treeffbbe27d7471acfff0668875920a08cb47f5b58e
parentbdee5e4fe08cc59d6bd31f78a6663e98c8449b19 (diff)
fix find command, reported by phil
-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 34f4c924a..5da057219 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 -exec {} \;
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec rm {} \;
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 9b0cac27c..a5cfaa4a2 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 -exec {} \;
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec rm {} \;
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 d6dd4fb96..b2a18804d 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -167,7 +167,7 @@ ifeq ($(ADK_UCLIBC_TEST),y)
endif
ifeq ($(ADK_TARGET_TOOLCHAIN),y)
# cleanup toolchain
- -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \;
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec rm {} \;
# 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 4d3ab1ca3..ff227dc88 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -166,7 +166,7 @@ ifeq ($(ADK_UCLIBC_TEST),y)
endif
ifeq ($(ADK_TARGET_TOOLCHAIN),y)
# cleanup toolchain
- -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec {} \;
+ -find $(STAGING_TARGET_DIR) $(STAGING_HOST_DIR) -name \*.la -exec rm {} \;
# 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)