From 4d610e9f230dd23589b18588446c2368f3a99446 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Tue, 25 Apr 2017 15:21:07 +0200 Subject: Replace includes with bblcasses They are more flexible and allow tricks like conditionally inheriting machine-related classes from the main one which makes things easier for external users like AGL --- classes/sota_porter.bbclass | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 classes/sota_porter.bbclass (limited to 'classes/sota_porter.bbclass') diff --git a/classes/sota_porter.bbclass b/classes/sota_porter.bbclass new file mode 100644 index 0000000..a8f5ba1 --- /dev/null +++ b/classes/sota_porter.bbclass @@ -0,0 +1,10 @@ +# Commit united image to OSTree, not just uImage +OSTREE_KERNEL = "uImage+dtb" + +EXTRA_IMAGEDEPENDS_append_sota = " porter-bootfiles" +IMAGE_CLASSES_append_sota = " image_types_uboot " +IMAGE_BOOT_FILES_sota += "porter-bootfiles/*" + +OSTREE_BOOTLOADER ?= "u-boot" +UBOOT_MACHINE_sota = "porter_config" + -- cgit v1.2.3-54-g00ecf