projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic lzma loader: add support for memory copying, preserve prom arguments
[openwrt.git]
/
target
/
linux
/
image
/
generic
/
lzma-loader
/
Makefile
diff --git
a/target/linux/image/generic/lzma-loader/Makefile
b/target/linux/image/generic/lzma-loader/Makefile
index
daa8353
..
3de04a8
100644
(file)
--- a/
target/linux/image/generic/lzma-loader/Makefile
+++ b/
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)
$(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
touch $@
$(PKG_BUILD_DIR)/lzma.elf: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/vmlinux.lzma
@@
-17,14
+17,15
@@
$(PKG_BUILD_DIR)/lzma.elf: $(PKG_BUILD_DIR)/.prepared $(PKG_BUILD_DIR)/vmlinux.l
LD=$(TARGET_CROSS)ld CROSS_COMPILE=$(TARGET_CROSS) \
RAMSIZE=$(RAMSIZE) \
LOADADDR=$(LOADADDR) \
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
$(PKG_BUILD_DIR)/vmlinux.lzma: $(KDIR)/vmlinux.lzma
-
cp
$< $@
+
$(CP)
$< $@
$(KDIR)/loader.elf: $(PKG_BUILD_DIR)/lzma.elf
$(KDIR)/loader.elf: $(PKG_BUILD_DIR)/lzma.elf
-
cp
$< $@
+
$(CP)
$< $@
source:
prepare: $(PKG_BUILD_DIR)/.prepared
source:
prepare: $(PKG_BUILD_DIR)/.prepared
This page took
0.028355 seconds
and
4
git commands to generate.