diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2010-06-24 15:00:48 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2010-07-19 11:59:51 -0400 |
commit | d39ae18df26852b96a6493649bfd53c917d58297 (patch) | |
tree | 29b7480646937b73524f0e285ed5a751464a2404 /meta/classes | |
parent | ae6c323a0bf8648fa308128d19d78e601e833a0d (diff) | |
download | openembedded-core-d39ae18df26852b96a6493649bfd53c917d58297.tar.gz openembedded-core-d39ae18df26852b96a6493649bfd53c917d58297.tar.bz2 openembedded-core-d39ae18df26852b96a6493649bfd53c917d58297.zip |
qemu/mips: arrange for vmlinux to be bootable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 85d1158bd3..673cfad231 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -68,13 +68,15 @@ UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}" # We don't want to override kernel Makefile variables from the environment EXTRA_OEMAKE = "" +KERNEL_ALT_IMAGETYPE ??= "" + kernel_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}" if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}" fi - oe_runmake ${KERNEL_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" + oe_runmake ${KERNEL_IMAGETYPE} ${KERNEL_ALT_IMAGETYPE} CC="${KERNEL_CC}" LD="${KERNEL_LD}" if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" else |