$(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
LD=$(TARGET_CROSS)ld CROSS_COMPILE=$(TARGET_CROSS) \
RAMSIZE=$(RAMSIZE) \
LOADADDR=$(LOADADDR) \
- KERNEL_ENTRY=$(KERNEL_ENTRY)
+ KERNEL_ENTRY=$(KERNEL_ENTRY) \
+ IMAGE_COPY=$(IMAGE_COPY)
$(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