From bd0a05579ccc71b304cd2c8f10c4400cf66ed12d Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Thu, 3 Sep 2020 09:58:47 +0200 Subject: sota: introduce OSTREE_MULTI_DEVICETREE_SUPPORT ostree supports multiple devicetrees provided that there is no /lib/modules/$kversion/devicetree installed on rootfs, in which case, a uboot variable 'fdtdir' would be written to /boot/loader/uEnv.txt instead of fdt_file. Introduce OSTREE_MULTI_DEVICETREE_SUPPORT to control that, when it's set to '0', there is no functional changes with current implementation, while it's set to '1', then /lib/modules/$kversion/devicetree would not be installed and the end users need set their own fdtfile/fdt_file in boot script to locate the devicetree in 'fdtdir'. Signed-off-by: Ming Liu --- classes/sota.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/sota.bbclass') diff --git a/classes/sota.bbclass b/classes/sota.bbclass index fde00cd..e6a0f8b 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass @@ -32,6 +32,7 @@ OSTREE_BOOT_PARTITION ??= "/boot" OSTREE_KERNEL ??= "${KERNEL_IMAGETYPE}" OSTREE_DEPLOY_DEVICETREE ??= "0" OSTREE_DEVICETREE ??= "${KERNEL_DEVICETREE}" +OSTREE_MULTI_DEVICETREE_SUPPORT ??= "0" INITRAMFS_IMAGE ?= "initramfs-ostree-image" -- cgit v1.2.3-54-g00ecf