summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/device-tree-overlays-mainline_git.bb
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2021-01-26 20:57:26 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2021-03-23 17:34:45 +0100
commit9ae80d10276c34b5d836df64bc364f87b82790d9 (patch)
tree50cc86717da96b37f3001a11f55ae5d3ffe19e1d /recipes-kernel/linux/device-tree-overlays-mainline_git.bb
parent691489bbe45b79310c2016ba7c4e6bf5a07547c8 (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. Related-to: TOR-1700 Signed-off-by: Ming Liu <ming.liu@toradex.com> (cherry picked from commit 3f3703403ce8451c997faee1eb1f7665bff24437) squashed with (cherry picked from commit 80534650f210472afbfd6f5d6d80559c708eb72e) (cherry picked from commit 6d8f8337ff1bf0200dead6adbc2615556b6495de)
Diffstat (limited to 'recipes-kernel/linux/device-tree-overlays-mainline_git.bb')
-rw-r--r--recipes-kernel/linux/device-tree-overlays-mainline_git.bb12
1 files changed, 1 insertions, 11 deletions
diff --git a/recipes-kernel/linux/device-tree-overlays-mainline_git.bb b/recipes-kernel/linux/device-tree-overlays-mainline_git.bb
index bf62db2..cc34553 100644
--- a/recipes-kernel/linux/device-tree-overlays-mainline_git.bb
+++ b/recipes-kernel/linux/device-tree-overlays-mainline_git.bb
@@ -1,17 +1,7 @@
-SUMMARY = "Toradex BSP device tree overlays"
-DESCRIPTION = "Toradex BSP device tree overlays from within layer."
-
-SRC_URI = "git://git.toradex.com/device-tree-overlays.git;branch=${SRCBRANCH};protocol=https"
+inherit toradex-devicetree
SRCBRANCH = "toradex_5.4.y"
-
SRCREV = "b4bc095e8b8c2613c8c9a10c1895b544652f8cf4"
SRCREV_use-head-next = "${AUTOREV}"
-PV = "${SRCBRANCH}+git${SRCPV}"
-
-inherit devicetree
-
-S = "${WORKDIR}/git/overlays"
-
COMPATIBLE_MACHINE = ".*(mx[678]|tegra124).*"