summaryrefslogtreecommitdiffstats
path: root/conf/include/local/sota_raspberrypi.inc
blob: ae13b8e774dac51427bb74835a747252629c0014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
MACHINE ?= "raspberrypi3"

IMAGE_CLASSES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'image_types_uboot sdcard_image-rpi-ota', '', d)}"
IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'rpi-sdimg-ota', 'rpi-sdimg', d)}"

### both rpi-sdimg and rpi-sdimg-ota broken
IMAGE_FSTYPES += "ext4.xz ext4.bmap tar.xz"

KERNEL_IMAGETYPE_sota = "uImage"
PREFERRED_PROVIDER_virtual/bootloader_sota ?= "u-boot"
UBOOT_MACHINE_raspberrypi2_sota ?= "rpi_2_defconfig"
UBOOT_MACHINE_raspberrypi3_sota ?= "rpi_3_32b_defconfig"

OSTREE_BOOTLOADER ?= "u-boot"