diff options
author | Andrew Davis <afd@ti.com> | 2025-06-27 15:41:29 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-07-01 16:28:46 -0500 |
commit | 50c836e293b2dc03c5df5bc1c93a078d6567ef66 (patch) | |
tree | ffdc8f9901459a1c97f963090ef924d8763404bb | |
parent | 22ff4a6540247db6fcbc944bdfbecb3b43767dee (diff) | |
download | meta-ti-scarthgap-wip.tar.gz |
meta-ti-bsp: linux: Remove extra dtc flags for DT Overlaysscarthgap-wip
This hides issues like missing flags that will cause issues for folks who
build or re-build the kernel outside the Yocto environment. It is better
to find these issues and fix them at the source in the Linux makefile,
not mask issues here.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-soc.inc | 1 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc index 5125856f..e3a50fdd 100644 --- a/meta-ti-bsp/conf/machine/include/ti-soc.inc +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc | |||
@@ -11,4 +11,3 @@ UBOOT_RD_ENTRYPOINT = "0x84000000" | |||
11 | 11 | ||
12 | # TI platforms all use devicetrees with overlays | 12 | # TI platforms all use devicetrees with overlays |
13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" | 13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" |
14 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc index 8c14446a..40ddc4fd 100644 --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | |||
@@ -1,13 +1,3 @@ | |||
1 | # Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled | ||
2 | |||
3 | def get_extra_dtc_args(d): | ||
4 | if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1": | ||
5 | return "DTC_FLAGS=-@" | ||
6 | else: | ||
7 | return "" | ||
8 | |||
9 | EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}" | ||
10 | |||
11 | # Tell the kernel class to install the DTBs in the same directory structure as | 1 | # Tell the kernel class to install the DTBs in the same directory structure as |
12 | # the kernel. | 2 | # the kernel. |
13 | KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" | 3 | KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" |