mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
bb.utils.contains checks if ALL items are in the variable, and since we check for systemd-boot or rmc-boot, it would always be false, assigning mkefidisk as the WKS_FILE in all cases. bb.utils.contains_any checks if one or more items are in the variable, so use that instead. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
39 lines
1.5 KiB
Plaintext
39 lines
1.5 KiB
Plaintext
#@TYPE: Machine
|
|
#@NAME: intel-corei7-64
|
|
|
|
#@DESCRIPTION: Machine configuration for 64 bit Intel Core i7 CPU (and later) with MMX, SSE, SSE2, SSE3, and SSSE3 instruction set support. Supports a moderately wide range of drivers that should boot and be usable on "typical" hardware.
|
|
|
|
require conf/machine/include/meta-intel.inc
|
|
require conf/machine/include/intel-corei7-64-common.inc
|
|
require conf/machine/include/intel-common-pkgarch.inc
|
|
|
|
MACHINE_FEATURES += "pcbios efi"
|
|
MACHINE_FEATURES += "va-impl-intel"
|
|
MACHINE_FEATURES += "wifi 3g nfc"
|
|
MACHINE_FEATURES += "intel-ucode"
|
|
|
|
MACHINE_HWCODECS ?= "va-intel gstreamer1.0-vaapi"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS += "lms8"
|
|
|
|
XSERVER ?= "${XSERVER_X86_BASE} \
|
|
${XSERVER_X86_EXT} \
|
|
${XSERVER_X86_FBDEV} \
|
|
${XSERVER_X86_I915} \
|
|
${XSERVER_X86_I965} \
|
|
${XSERVER_X86_MATROX_MGA} \
|
|
${XSERVER_X86_MODESETTING} \
|
|
${XSERVER_X86_VESA} \
|
|
${XSERVER_X86_ASPEED_AST} \
|
|
"
|
|
|
|
SYSLINUX_OPTS = "serial 0 115200"
|
|
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1 115200;ttyS2"
|
|
APPEND += "rootwait console=ttyS0,115200 console=tty0"
|
|
|
|
PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware-i915"
|
|
|
|
IMAGE_FSTYPES += "wic"
|
|
WKS_FILE ?= "${@bb.utils.contains_any("EFI_PROVIDER", "systemd-boot rmc-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
|
|
do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
|