diff options
author | Mike Baker <mbm@openwrt.org> | 2006-02-01 23:53:19 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-02-01 23:53:19 +0000 |
commit | 2ee20939c6c9ae47d0978043f6377cda257354ae (patch) | |
tree | 9e5e204966ec1a23cc75bb03a90fe931ce3f8397 /openwrt/toolchain | |
parent | e867e35b216b19397502ee134ca3bdbfb55ba2a1 (diff) | |
download | mtk-20170518-2ee20939c6c9ae47d0978043f6377cda257354ae.zip mtk-20170518-2ee20939c6c9ae47d0978043f6377cda257354ae.tar.gz mtk-20170518-2ee20939c6c9ae47d0978043f6377cda257354ae.tar.bz2 |
change cp to $(CP)
SVN-Revision: 3112
Diffstat (limited to 'openwrt/toolchain')
-rw-r--r-- | openwrt/toolchain/gcc/Makefile | 2 | ||||
-rw-r--r-- | openwrt/toolchain/kernel-headers/Makefile | 2 | ||||
-rw-r--r-- | openwrt/toolchain/libnotimpl/Makefile | 2 | ||||
-rw-r--r-- | openwrt/toolchain/uClibc/Makefile | 2 | ||||
-rw-r--r-- | openwrt/toolchain/utils/Makefile | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/openwrt/toolchain/gcc/Makefile b/openwrt/toolchain/gcc/Makefile index 642662e..2d24cdd 100644 --- a/openwrt/toolchain/gcc/Makefile +++ b/openwrt/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/openwrt/toolchain/kernel-headers/Makefile b/openwrt/toolchain/kernel-headers/Makefile index 9f466d3..27da1d5 100644 --- a/openwrt/toolchain/kernel-headers/Makefile +++ b/openwrt/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/openwrt/toolchain/libnotimpl/Makefile b/openwrt/toolchain/libnotimpl/Makefile index 9ae2bf2..f68346c 100644 --- a/openwrt/toolchain/libnotimpl/Makefile +++ b/openwrt/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/openwrt/toolchain/uClibc/Makefile b/openwrt/toolchain/uClibc/Makefile index 82c979c..d77f554 100644 --- a/openwrt/toolchain/uClibc/Makefile +++ b/openwrt/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/openwrt/toolchain/utils/Makefile b/openwrt/toolchain/utils/Makefile index b5dae73..2af6b13 100644 --- a/openwrt/toolchain/utils/Makefile +++ b/openwrt/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) |