Browse Source

routerstationpro: swap KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE

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]

(From meta-yocto rev: 70b569e9ea92a680f23b9bfddb2f27f4f5df3028)

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>
set-pr-number
Michel Thebeau 9 years ago
committed by Richard Purdie
parent
commit
9cd3816e4d
  1. 4
      meta-yocto-bsp/conf/machine/routerstationpro.conf

4
meta-yocto-bsp/conf/machine/routerstationpro.conf

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

Loading…
Cancel
Save