]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
routerstationpro: swap KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE
authorMichel Thebeau <michel.thebeau@windriver.com>
Thu, 28 Mar 2013 19:32:55 +0000 (19:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2013 15:56:57 +0000 (16:56 +0100)
The routerstationpro has a 16mb flash which the kernel image should
fit into.  The default build type for vmlinux then should be the
stripped arch/mips/boot/vmlinux.bin.

Swapping KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE for rsp causes
vmlinux.bin to be linked in tmp/deploy/images instead of vmlinux, and
causes vmlinux.bin to appear in the kernel rpm file.

[YOCTO #3515]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto-bsp/conf/machine/routerstationpro.conf

index e5e4d1a338544d12d6e90c402b5486f1dbcb2e53..a727e2a0a2aab858b47310806eefbb43ad2e8baa 100644 (file)
@@ -6,8 +6,8 @@ require conf/machine/include/tune-mips32.inc
 
 MACHINE_FEATURES = "screen keyboard pci usbhost ext2 ext3 serial"
 
-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
+KERNEL_ALT_IMAGETYPE = "vmlinux"
+KERNEL_IMAGETYPE = "vmlinux.bin"
 
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
 PREFERRED_VERSION_linux-yocto ?= "3.4%"