summaryrefslogtreecommitdiff
path: root/classes/image_type_tezi.bbclass
diff options
context:
space:
mode:
authorMing Liu <ming.liu@toradex.com>2021-02-15 11:06:36 +0100
committerMing Liu <ming.liu@toradex.com>2021-03-04 11:52:13 +0100
commit3f3703403ce8451c997faee1eb1f7665bff24437 (patch)
treea5b6e383ae53e80375c67e4e505831ef595f3e95 /classes/image_type_tezi.bbclass
parentc8651feae915eeac23510565dde0f64557696de7 (diff)
toradex-devicetree.bbclass: introduce bbclass file
The major reason for doing this is because we are currently deploying all dtbo files to ${DEPLOY_DIR_IMAGE}/devicetree, but not machine specific ones, and they will be unnecessarily bundled into fitimage when kernel-fitimage.bbclass is being inherited. To fix that, we introduce a extra task do_collect_overlays to collect machine specific overlays to ${DT_FILES_PATH} before do_compile, where dtb compilation is being compiled in. In this way, only machine specific overlays would be compiled and deployed. Now we can drop device-tree-overlay-filter recipe with this change. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com>
Diffstat (limited to 'classes/image_type_tezi.bbclass')
-rw-r--r--classes/image_type_tezi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass
index fe52818..97328f1 100644
--- a/classes/image_type_tezi.bbclass
+++ b/classes/image_type_tezi.bbclass
@@ -5,7 +5,7 @@
# Since it also generates the image.json description file it is rather
# interwind with the boot flow which is U-Boot target specific.
-WKS_FILE_DEPENDS_append = " tezi-metadata device-tree-overlay-filter"
+WKS_FILE_DEPENDS_append = " tezi-metadata virtual/dtb"
DEPENDS += "${WKS_FILE_DEPENDS}"
IMAGE_BOOT_FILES_append = " overlays.txt overlays/*;overlays/ "