projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
045966d
)
au1000: use srecimage.pl instead of objcopy, fixes imagebuilder
author
Jo-Philipp Wich
<
[email protected]
>
Thu, 28 May 2015 15:54:01 +0000
(15:54 +0000)
committer
Jo-Philipp Wich
<
[email protected]
>
Thu, 28 May 2015 15:54:01 +0000
(15:54 +0000)
Signed-off-by: Jo-Philipp Wich <
[email protected]
>
SVN-Revision: 45809
target/linux/au1000/image/Makefile
patch
|
blob
|
history
diff --git
a/target/linux/au1000/image/Makefile
b/target/linux/au1000/image/Makefile
index 63c0b03d682d74394a6e4f51603b99632b61956d..3d5752930fb60f024c0739e9d575fc402dd0f07c 100644
(file)
--- a/
target/linux/au1000/image/Makefile
+++ b/
target/linux/au1000/image/Makefile
@@
-55,7
+55,7
@@
define Image/Build/Initramfs
endef
define Image/Build
- $(
TARGET_CROSS)objcopy -O srec -I binary --adjust-vma $(FLASH_FS) $(KDIR)/root.$(1) $(KDIR)/root.$(1).srec
+ $(
SCRIPT_DIR)/srecimage.pl $(KDIR)/root.$(1) $(KDIR)/root.$(1).srec $(FLASH_FS)
grep -v S7 $(KDIR)/root.$(1).srec > $(BIN_DIR)/$(IMG_PREFIX)-$(1).srec
grep -v S0 $(KDIR)/kernel.flash.srec >> $(BIN_DIR)/$(IMG_PREFIX)-$(1).srec
$(INSTALL_BIN) $(KDIR)/kernel.flash.bin $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.bin