meta-ti-bsp: linux: Remove extra dtc flags for DT Overlays
PATCH 1/1 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 <[email protected]>
--- 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(-)
meta-ti-bsp/conf/machine/include/ti-soc.inc +0 -1
@@ -5,4 +5,3 @@ require conf/machine/include/soc-family.inc # TI platforms all use devicetrees with overlays MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" -KERNEL_DTB_OVERLAY_SUPPORT ?= "1"
meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +0 -10
@@ -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"
Signature · 1 line
2.39.2