1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

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 <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Andrew Davis
2025-06-27 15:41:29 -05:00
committed by Ryan Eatmon
parent e973385b53
commit f963603abe
2 changed files with 0 additions and 11 deletions

View File

@@ -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"

View File

@@ -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"