From 9ae80d10276c34b5d836df64bc364f87b82790d9 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 26 Jan 2021 20:57:26 +0100 Subject: 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 (cherry picked from commit 3f3703403ce8451c997faee1eb1f7665bff24437) squashed with (cherry picked from commit 80534650f210472afbfd6f5d6d80559c708eb72e) (cherry picked from commit 6d8f8337ff1bf0200dead6adbc2615556b6495de) --- recipes-kernel/linux/device-tree-overlays-mainline_git.bb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'recipes-kernel/linux/device-tree-overlays-mainline_git.bb') 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).*" -- cgit v1.2.3