From 5448d2a56509de2ba96f58de96da5d3243f29f5d Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Fri, 27 Jun 2025 15:41:29 -0500 Subject: meta-ti-bsp: linux: Remove extra dtc flags for DT Overlays 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 Signed-off-by: Ryan Eatmon --- meta-ti-bsp/conf/machine/include/ti-soc.inc | 1 - meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 10 ---------- 2 files changed, 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" # TI platforms all use devicetrees with overlays MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" -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 @@ -# Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled - -def get_extra_dtc_args(d): - if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1": - return "DTC_FLAGS=-@" - else: - return "" - -EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}" - # Tell the kernel class to install the DTBs in the same directory structure as # the kernel. KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" -- cgit v1.2.3-54-g00ecf