mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
qemu/mips: arrange for vmlinux to be bootable
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user