summaryrefslogtreecommitdiffstats
path: root/conf/distro/sota.conf.inc
diff options
context:
space:
mode:
authorAnton Gerasimov <anton@advancedtelematic.com>2016-12-23 12:35:31 +0100
committerAnton Gerasimov <anton@advancedtelematic.com>2016-12-23 12:35:31 +0100
commit4a264b592a001ab35b9ec0a4cf916873e4c39930 (patch)
tree4769993506bf139e818dd9925b18f2ccdc2fec79 /conf/distro/sota.conf.inc
parentdb58e575655be131df4a597d66bfdec2ca128474 (diff)
downloadmeta-updater-4a264b592a001ab35b9ec0a4cf916873e4c39930.tar.gz
Add u-boot configs for intel machines
Diffstat (limited to 'conf/distro/sota.conf.inc')
-rw-r--r--conf/distro/sota.conf.inc14
1 files changed, 13 insertions, 1 deletions
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}"
10OSTREE_OSNAME ?= "poky" 10OSTREE_OSNAME ?= "poky"
11OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image" 11OSTREE_INITRAMFS_IMAGE ?= "initramfs-ostree-image"
12 12
13# Platform-specific configuration 13# Platform-specific configurations
14
15## RaspberryPi
14IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota" 16IMAGE_CLASSES_append_raspberrypi2 = " image_types_uboot sdcard_image-rpi-ota"
15IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota" 17IMAGE_CLASSES_append_raspberrypi3 = " image_types_uboot sdcard_image-rpi-ota"
16IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}" 18IMAGE_FSTYPES += "${@'rpi-sdimg-ota' if d.getVar('MACHINE', True).startswith('raspberrypi') else ''}"
@@ -27,5 +29,15 @@ PREFERRED_PROVIDER_virtual/bootloader_raspberrypi3 = "u-boot"
27# Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off 29# Some BSPs (e.g. meta-raspberrypi) use this variable to turn debug on/off
28DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}" 30DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "release",d)}"
29 31
32## Minnowboard
33PREFERRED_PROVIDER_virtual/bootloader_intel-corei7-64 = "u-boot-ota"
34UBOOT_MACHINE_intel-corei7-64 = "minnowmax_defconfig"
35
36## QEMU
37PREFERRED_PROVIDER_virtual/bootloader_qemux86 = "u-boot-ota"
38UBOOT_MACHINE_qemux86 = "qemu-x86_defconfig"
39PREFERRED_PROVIDER_virtual/bootloader_qemux86-64= "u-boot-ota"
40UBOOT_MACHINE_qemux86-64 = "qemu-x86_defconfig"
41
30DISTROOVERRIDES_append = ":sota" 42DISTROOVERRIDES_append = ":sota"
31DISTRO_FEATURES_append = " sota" 43DISTRO_FEATURES_append = " sota"