From: Florian Fainelli Date: Thu, 11 Oct 2012 06:45:07 +0000 (+0000) Subject: generate vmlinux.srec and vmlinux.bin from srec2bin X-Git-Tag: reboot~12657 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bc3b111cfdcdc297c33962437e05414e1d532de7;p=openwrt%2Fstaging%2Fchunkeey.git generate vmlinux.srec and vmlinux.bin from srec2bin Useful for loading the kernel into RAM using ADAM2/PSPBoot. SVN-Revision: 33718 --- diff --git a/target/linux/ar7/image/Makefile b/target/linux/ar7/image/Makefile index d27c2e8888..dbd482da19 100644 --- a/target/linux/ar7/image/Makefile +++ b/target/linux/ar7/image/Makefile @@ -41,7 +41,9 @@ define Image/Prepare $(LOADER_MAKEOPTS) \ clean compile $(OBJCOPY_SREC) $(KDIR)/loader.elf $(KDIR)/loader.srec + $(OBJCOPY_SREC) $(KDIR)/vmlinux.elf $(KDIR)/vmlinux.srec srec2bin $(KDIR)/loader.srec $(KDIR)/loader.bin + srec2bin $(KDIR)/vmlinux.srec $(KDIR)/vmlinux.bin endef define align/jffs2-64k