aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-10-11 06:45:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-10-11 06:45:07 +0000
commitf1b30c6b89e8fb68c3922b282ac88641e53d4c74 (patch)
tree3efa1d32ee9fdc8df8330eed1f17f231cb037939 /target/linux/ar7
parent7a87fcf7607d436c31883a41ad22f58ac564ccc1 (diff)
downloadupstream-f1b30c6b89e8fb68c3922b282ac88641e53d4c74.tar.gz
upstream-f1b30c6b89e8fb68c3922b282ac88641e53d4c74.tar.bz2
upstream-f1b30c6b89e8fb68c3922b282ac88641e53d4c74.zip
[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
Diffstat (limited to 'target/linux/ar7')
-rw-r--r--target/linux/ar7/image/Makefile2
1 files changed, 2 insertions, 0 deletions
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