From 4a264b592a001ab35b9ec0a4cf916873e4c39930 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Fri, 23 Dec 2016 12:35:31 +0100 Subject: Add u-boot configs for intel machines --- conf/distro/sota.conf.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/conf/distro/sota.conf.inc b/conf/distro/sota.conf.inc index 7602464..d9b88c7 100644 --- a/conf/distro/sota.conf.inc +++ b/conf/distro/sota.conf.inc @@ -10,7 +10,9 @@ OSTREE_BRANCHNAME ?= "ota-${MACHINE}" OSTREE_OSNAME ?= "poky" OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" -# Platform-specific configuration +# Platform-specific configurations + +## RaspberryPi IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota" IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota" IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}" @@ -27,5 +29,15 @@ PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot" # Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" +## Minnowboard +PREFERRED_PROVIDER_virtual/bootloader_intel-corei7-64 = "u-boot-ota" +UBOOT_MACHINE_intel-corei7-64 = "minnowmax_defconfig" + +## QEMU +PREFERRED_PROVIDER_virtual/bootloader_qemux86 = "u-boot-ota" +UBOOT_MACHINE_qemux86 = "qemu-x86_defconfig" +PREFERRED_PROVIDER_virtual/bootloader_qemux86-64= "u-boot-ota" +UBOOT_MACHINE_qemux86-64 = "qemu-x86_defconfig" + DISTROOVERRIDES_append = ":sota" DISTRO_FEATURES_append = " sota" -- cgit v1.2.3-54-g00ecf