au1000: use srecimage.pl instead of objcopy, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45809
This commit is contained in:
parent
045966d4e9
commit
7d44f7630f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue