1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

generate vmlinux.srec and vmlinux.bin from srec2bin

Useful for loading the kernel into RAM using ADAM2/PSPBoot.

SVN-Revision: 33718
This commit is contained in:
Florian Fainelli 2012-10-11 06:45:07 +00:00
parent d3f22617a2
commit bc3b111cfd

@ -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