diff options
Diffstat (limited to 'conf/include/local/sota_raspberrypi.inc')
-rw-r--r-- | conf/include/local/sota_raspberrypi.inc | 12 |
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 @@ | |||
1 | MACHINE ?= "raspberrypi3" | 1 | MACHINE ?= "raspberrypi3" |
2 | 2 | ||
3 | # normal image class is sdcard_image-rpi-gdp, for sota it is image_types_uboot & sdcard_image-rpi-ota | 3 | IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}" |
4 | IMAGE_CLASSES += "image_types_uboot sdcard_image-rpi-ota" | 4 | IMAGE_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 | ||
7 | IMAGE_FSTYPES += "rpi-sdimg-ota" | ||
8 | ### both rpi-sdimg and rpi-sdimg-ota broken | 6 | ### both rpi-sdimg and rpi-sdimg-ota broken |
9 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" | 7 | IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz" |
10 | 8 | ||
11 | KERNEL_IMAGETYPE_sota = "uImage" | 9 | KERNEL_IMAGETYPE_sota = "uImage" |
12 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | 10 | PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot" |
13 | UBOOT_MACHINE_raspberrypi2 = "rpi_2_defconfig" | 11 | UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig" |
14 | UBOOT_MACHINE_raspberrypi3 = "rpi_3_32b_defconfig" | 12 | UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig" |
15 | 13 | ||
16 | OSTREE_BOOTLOADER ?= "u-boot" | 14 | OSTREE_BOOTLOADER ?= "u-boot" |