diff options
Diffstat (limited to 'conf/machine/include/meta-intel.inc')
-rw-r--r-- | conf/machine/include/meta-intel.inc | 52 |
1 files changed, 52 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..34a672c --- /dev/null +++ b/conf/machine/include/meta-intel.inc | |||
@@ -0,0 +1,52 @@ | |||
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 | # | ||
8 | # XSERVER subcomponents, used to build the XSERVER variable | ||
9 | # | ||
10 | |||
11 | # Soft set linux-yocto as preferred kernel like x86-base.inc | ||
12 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" | ||
13 | PREFERRED_PROVIDER_virtual/kernel_poky-tiny ?= "linux-intel" | ||
14 | PREFERRED_PROVIDER_virtual/kernel_linuxstdbase ?= "linux-yocto" | ||
15 | PREFERRED_VERSION_linux-intel ?= "4.9%" | ||
16 | |||
17 | # for Xserver older than 1.13.0 | ||
18 | OLD_XSERVER_X86_EXT = "xserver-xorg-extension-dri \ | ||
19 | xserver-xorg-extension-dri2 \ | ||
20 | xserver-xorg-extension-extmod \ | ||
21 | xserver-xorg-extension-dbe \ | ||
22 | " | ||
23 | |||
24 | XSERVER_X86_MATROX_MGA = "xf86-video-mga \ | ||
25 | " | ||
26 | |||
27 | XSERVER_X86_ASPEED_AST = "xf86-video-ast \ | ||
28 | " | ||
29 | |||
30 | # include the user space intel microcode loading support in the generated images. | ||
31 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)} thermald" | ||
32 | |||
33 | # recommended extra packages common to all intel machines | ||
34 | MACHINE_EXTRA_RRECOMMENDS_append = " kernel-modules linux-firmware" | ||
35 | |||
36 | # for the early boot time kernel microcode loading support, | ||
37 | # merge the microcode data in the final initrd image. | ||
38 | INITRD_LIVE_prepend = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', '${DEPLOY_DIR_IMAGE}/microcode.cpio ', '', d)}" | ||
39 | |||
40 | DISK_SIGNATURE_UUID ??= "deadbeef-dead-beef-dead-beefdeadbeef" | ||
41 | |||
42 | EFI_PROVIDER ?= "rmc-boot" | ||
43 | |||
44 | # Add general MACHINEOVERRIDE for meta-intel | ||
45 | MACHINEOVERRIDES =. "intel-x86-common:" | ||
46 | |||
47 | # Definition of (more or less) suitable virtual machines. | ||
48 | require conf/machine/include/qemuboot-intel.inc | ||
49 | |||
50 | # Ensure that the extra tools needed by qemu are built when building images | ||
51 | # and tweak machine definition to make the result more usable under qemu. | ||
52 | require conf/machine/include/qemu-intel.inc | ||