aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile2
-rw-r--r--toolchain/kernel-headers/Makefile2
-rw-r--r--toolchain/libnotimpl/Makefile2
-rw-r--r--toolchain/uClibc/Makefile2
-rw-r--r--toolchain/utils/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 642662e8f1..2d24cdd13e 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -187,7 +187,7 @@ ifeq ($(findstring 3.3.,$(GCC_VERSION)),3.3.)
echo staging dir specs file is missing ; \
/bin/false ; \
fi;
- cp ./$(GCC_VERSION)/specs-$(ARCH)-soft-float $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
+ $(CP) ./$(GCC_VERSION)/specs-$(ARCH)-soft-float $(STAGING_DIR)/lib/gcc-lib/$(REAL_GNU_TARGET_NAME)/$(GCC_VERSION)/specs
endif
endif
# We do another ugly hack here because the standard behaviour is
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 9f466d321d..27da1d5e9f 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -38,7 +38,7 @@ $(LINUX_HEADERS_DIR)/.unpacked: $(DL_DIR)/$(LINUX_HEADERS_SOURCE)
touch $(LINUX_HEADERS_DIR)/.unpacked
$(LINUX_HEADERS_DIR)/.configured: $(LINUX_HEADERS_DIR)/.unpacked
- -cp -af ./files/config.$(LINUX_HEADERS_ARCH) $(LINUX_HEADERS_DIR)/.config
+ -$(CP) ./files/config.$(LINUX_HEADERS_ARCH) $(LINUX_HEADERS_DIR)/.config
$(MAKE) -C $(LINUX_HEADERS_DIR) ARCH=$(LINUX_HEADERS_ARCH) oldconfig include/linux/version.h
touch $(LINUX_HEADERS_DIR)/.configured
diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile
index 9ae2bf2407..f68346c371 100644
--- a/toolchain/libnotimpl/Makefile
+++ b/toolchain/libnotimpl/Makefile
@@ -17,7 +17,7 @@ $(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS)
$(STAGING_DIR)/usr/lib/libnotimpl.a: $(LIBNOTIMPL_DIR)/libnotimpl.a
mkdir -p $(STAGING_DIR)/usr/lib
- cp -fpR $< $@
+ $(CP) $< $@
touch -c $@
source:
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index 82c979c871..d77f554a12 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -47,7 +47,7 @@ $(UCLIBC_DIR)/.unpacked: $(DL_DIR)/$(UCLIBC_SOURCE)
$(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.unpacked
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(UCLIBC_DIR)/Rules.mak
- cp ./files/config.$(ARCH) $(UCLIBC_DIR)/.config
+ $(CP) ./files/config.$(ARCH) $(UCLIBC_DIR)/.config
$(SED) 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"$(LINUX_HEADERS_DIR)\",g' \
$(UCLIBC_DIR)/.config
ifeq ($(BR2_LARGEFILE),y)
diff --git a/toolchain/utils/Makefile b/toolchain/utils/Makefile
index b5dae73476..2af6b139df 100644
--- a/toolchain/utils/Makefile
+++ b/toolchain/utils/Makefile
@@ -12,7 +12,7 @@ prepare: $(UTILS_BUILD_DIR)
compile: prepare $(patsubst %,$(UTILS_BUILD_DIR)/%,$(TARGETS))
install: compile
mkdir -p $(STAGING_DIR)/bin
- cp -a $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/
+ $(CP) $(UTILS_BUILD_DIR)/* $(STAGING_DIR)/bin/
package:
clean:
rm -rf $(UTILS_BUILD_DIR)