aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commitbc3b111cfdcdc297c33962437e05414e1d532de7 (patch)
treefaa8e4511a98a4228b4baebf903e42f54653083e /target/linux
parentd3f22617a20127c4c2861bc86725d91958fa7953 (diff)
downloadupstream-bc3b111cfdcdc297c33962437e05414e1d532de7.tar.gz
upstream-bc3b111cfdcdc297c33962437e05414e1d532de7.tar.bz2
upstream-bc3b111cfdcdc297c33962437e05414e1d532de7.zip
generate vmlinux.srec and vmlinux.bin from srec2bin
Useful for loading the kernel into RAM using ADAM2/PSPBoot. SVN-Revision: 33718
Diffstat (limited to 'target/linux')
-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