mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
default-distrovars: set default KERNEL_IMAGETYPE(S)
With the change from assuming kernels will be named "vmlinuz" everywhere, to instead using KERNEL_IMAGETYPE, we require that KERNEL_IMAGETYPE is set to something. Instead of setting the default in multiple individual files, set it in default-distrovars.inc. x86(-64) arches get bzImage as the default. Others get zImage as per meta/conf/documentation.conf. Also set KERNEL_IMAGETYPES, as we will eventually be switching away from KERNEL_IMAGETYPE. Thanks to Andre McCurdy <armccurdy@gmail.com> for the arch defaults part. (From OE-Core rev: a57d784211a39587538094425ee0246e9ddfbf9d) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
00cd8f2db9
commit
dfd5dc1f55
@@ -22,7 +22,6 @@ GRUB_CFG_LIVE = "${S}/grub_live.cfg"
|
||||
GRUB_TIMEOUT ?= "10"
|
||||
#FIXME: build this from the machine config
|
||||
GRUB_OPTS ?= "serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1"
|
||||
KERNEL_IMAGETYPE ??= "bzImage"
|
||||
|
||||
EFIDIR = "/EFI/BOOT"
|
||||
GRUB_ROOT ?= "${ROOT}"
|
||||
|
||||
@@ -32,8 +32,6 @@ PCBIOS_CLASS = "${@['','syslinux'][d.getVar('PCBIOS') == '1']}"
|
||||
inherit ${EFI_CLASS}
|
||||
inherit ${PCBIOS_CLASS}
|
||||
|
||||
KERNEL_IMAGETYPE ??= "bzImage"
|
||||
|
||||
populate_kernel() {
|
||||
dest=$1
|
||||
install -d $dest
|
||||
|
||||
@@ -21,7 +21,6 @@ do_bootimg[depends] += "${MLPREFIX}syslinux:do_populate_sysroot \
|
||||
syslinux-native:do_populate_sysroot"
|
||||
|
||||
ISOLINUXDIR ?= "/isolinux"
|
||||
KERNEL_IMAGETYPE ??= "bzImage"
|
||||
SYSLINUXDIR = "/"
|
||||
# The kernel has an internal default console, which you can override with
|
||||
# a console=...some_tty...
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
KERNEL_IMAGETYPE ??= "bzImage"
|
||||
|
||||
SYSTEMD_BOOT_CFG ?= "${S}/loader.conf"
|
||||
SYSTEMD_BOOT_ENTRIES ?= ""
|
||||
SYSTEMD_BOOT_TIMEOUT ?= "10"
|
||||
|
||||
@@ -47,3 +47,9 @@ BB_STRICT_CHECKSUM = "1"
|
||||
|
||||
GTK2DISTROFEATURES = "directfb x11"
|
||||
GTK3DISTROFEATURES = "x11 wayland"
|
||||
|
||||
ARCH_DEFAULT_KERNELIMAGETYPE = "zImage"
|
||||
ARCH_DEFAULT_KERNELIMAGETYPE_x86 = "bzImage"
|
||||
ARCH_DEFAULT_KERNELIMAGETYPE_x86-64 = "bzImage"
|
||||
KERNEL_IMAGETYPE ??= "${ARCH_DEFAULT_KERNELIMAGETYPE}"
|
||||
KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
|
||||
|
||||
Reference in New Issue
Block a user