summaryrefslogtreecommitdiffstats
path: root/conf/include/local/sota_raspberrypi.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/include/local/sota_raspberrypi.inc')
-rw-r--r--conf/include/local/sota_raspberrypi.inc12
1 files changed, 5 insertions, 7 deletions
diff --git a/conf/include/local/sota_raspberrypi.inc b/conf/include/local/sota_raspberrypi.inc
index 51919f0..ae13b8e 100644
--- a/conf/include/local/sota_raspberrypi.inc
+++ b/conf/include/local/sota_raspberrypi.inc
@@ -1,16 +1,14 @@
1MACHINE ?= "raspberrypi3" 1MACHINE ?= "raspberrypi3"
2 2
3# normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota 3IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}"
4IMAGE_CLASSES += "image_types_uboot sdcard_image-rpi-ota" 4IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}"
5 5
6# normal image is rpi-sdimg, for sota it is rpi-sdimg-ota
7IMAGE_FSTYPES += "rpi-sdimg-ota"
8### both rpi-sdimg and rpi-sdimg-ota broken 6### both rpi-sdimg and rpi-sdimg-ota broken
9IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" 7IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"
10 8
11KERNEL_IMAGETYPE_sota = "uImage" 9KERNEL_IMAGETYPE_sota = "uImage"
12PREFERRED_PROVIDER_virtual/bootloader = "u-boot" 10PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot"
13UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig" 11UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig"
14UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig" 12UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig"
15 13
16OSTREE_BOOTLOADER ?= "u-boot" 14OSTREE_BOOTLOADER ?= "u-boot"