1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 20:08:54 +03:00

[ar7] generate vmlinux.srec and vmlinux.bin from srec2bin

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33718 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2012-10-11 06:45:07 +00:00
parent 8bbe39a23a
commit c8c0e0cce1

View File

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