diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-28 15:54:01 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-05-28 15:54:01 +0000 |
commit | ba1290ae1cb1cd7a1dd0c37b8b9310c5bb69f52b (patch) | |
tree | fed6e69096e6a4857d924070c896935ee57cced3 /target | |
parent | 22d36e63991bddd8da64eb6b01af03ed9a468b48 (diff) | |
download | upstream-ba1290ae1cb1cd7a1dd0c37b8b9310c5bb69f52b.tar.gz upstream-ba1290ae1cb1cd7a1dd0c37b8b9310c5bb69f52b.tar.bz2 upstream-ba1290ae1cb1cd7a1dd0c37b8b9310c5bb69f52b.zip |
au1000: use srecimage.pl instead of objcopy, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45809 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/au1000/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/au1000/image/Makefile b/target/linux/au1000/image/Makefile index 63c0b03d68..3d5752930f 100644 --- 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 |