summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/image/generic/lzma-loader
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/image/generic/lzma-loader')
-rw-r--r--openwrt/target/linux/image/generic/lzma-loader/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/target/linux/image/generic/lzma-loader/Makefile b/openwrt/target/linux/image/generic/lzma-loader/Makefile
index daa83535e..089254bba 100644
--- a/openwrt/target/linux/image/generic/lzma-loader/Makefile
+++ b/openwrt/target/linux/image/generic/lzma-loader/Makefile
@@ -9,7 +9,7 @@ PKG_BUILD_DIR := $(KDIR)/$(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)/lzma.elf: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/vmlinux.lzma
@@ -21,10 +21,10 @@ $(PKG_BUILD_DIR)/lzma.elf: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/vmlinux.l
$(PKG_BUILD_DIR)/vmlinux.lzma: $(KDIR)/vmlinux.lzma
- cp $< $@
+ $(CP) $< $@
$(KDIR)/loader.elf: $(PKG_BUILD_DIR)/lzma.elf
- cp $< $@
+ $(CP) $< $@
source:
prepare: $(PKG_BUILD_DIR)/.prepared