diff options
Diffstat (limited to 'conf/machine/include/meta-intel.inc')
-rw-r--r-- | conf/machine/include/meta-intel.inc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc new file mode 100644 index 0000000..d45f482 --- /dev/null +++ b/conf/machine/include/meta-intel.inc | |||
@@ -0,0 +1,45 @@ | |||
1 | # | ||
2 | # BSP variables and settings specific to the meta-intel layer. | ||
3 | # You must include the meta-intel layer in your bblayers.conf | ||
4 | # to use them. | ||
5 | # | ||
6 | |||
7 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" | ||
8 | PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel" | ||
9 | |||
10 | # Only use the Intel-tuned zlib for target builds to improve reuse | ||
11 | PREFERRED_PROVIDER_zlib = "zlib-intel" | ||
12 | PREFERRED_PROVIDER_zlib-native = "zlib-native" | ||
13 | PREFERRED_PROVIDER_nativesdk-zlib = "nativesdk-zlib" | ||
14 | |||
15 | PREFERRED_VERSION_linux-intel_linuxstdbase ?= "4.19%" | ||
16 | PREFERRED_VERSION_linux-intel ?= "4.19%" | ||
17 | PREFERRED_VERSION_linux-intel-rt ?= "4.19%" | ||
18 | |||
19 | XSERVER_X86_ASPEED_AST = "xf86-video-ast \ | ||
20 | " | ||
21 | |||
22 | # include the user space intel microcode loading support in the generated images. | ||
23 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)} thermald" | ||
24 | |||
25 | # recommended extra packages common to all intel machines | ||
26 | MACHINE_EXTRA_RRECOMMENDS_append = " kernel-modules linux-firmware" | ||
27 | |||
28 | # for the early boot time kernel microcode loading support, | ||
29 | # merge the microcode data in the final initrd image. | ||
30 | INITRD_LIVE_prepend = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" | ||
31 | |||
32 | DISK_SIGNATURE_UUID ??= "deadbeef-dead-beef-dead-beefdeadbeef" | ||
33 | |||
34 | EFI_PROVIDER ?= "systemd-boot" | ||
35 | EFI_PROVIDER_x86-x32 = "grub-efi" | ||
36 | |||
37 | # Add general MACHINEOVERRIDE for meta-intel | ||
38 | MACHINEOVERRIDES =. "intel-x86-common:" | ||
39 | |||
40 | # Definition of (more or less) suitable virtual machines. | ||
41 | require conf/machine/include/qemuboot-intel.inc | ||
42 | |||
43 | # Ensure that the extra tools needed by qemu are built when building images | ||
44 | # and tweak machine definition to make the result more usable under qemu. | ||
45 | require conf/machine/include/qemu-intel.inc | ||