aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/image/brcm/lzma-loader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image/brcm/lzma-loader/Makefile')
-rw-r--r--target/linux/image/brcm/lzma-loader/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/image/brcm/lzma-loader/Makefile b/target/linux/image/brcm/lzma-loader/Makefile
index 134fdde9dd..1d7b6a3196 100644
--- a/target/linux/image/brcm/lzma-loader/Makefile
+++ b/target/linux/image/brcm/lzma-loader/Makefile
@@ -9,7 +9,7 @@ PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
$(PKG_BUILD_DIR)/.prepared:
mkdir $(PKG_BUILD_DIR)
- cp -fpR ./src/* $(PKG_BUILD_DIR)/
+ $(CP) ./src/* $(PKG_BUILD_DIR)/
touch $@
$(PKG_BUILD_DIR)/loader.gz: $(PKG_BUILD_DIR)/.prepared
@@ -17,10 +17,10 @@ $(PKG_BUILD_DIR)/loader.gz: $(PKG_BUILD_DIR)/.prepared
LD=$(TARGET_CROSS)ld CROSS_COMPILE=$(TARGET_CROSS)
$(BUILD_DIR)/loader.gz: $(PKG_BUILD_DIR)/loader.gz
- cp $< $@
+ $(CP) $< $@
$(BUILD_DIR)/loader.elf: $(PKG_BUILD_DIR)/loader.o
- cp $< $@
+ $(CP) $< $@
source:
prepare: $(PKG_BUILD_DIR)/.prepared