mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 14:27:48 +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:
committed by
Ryan Eatmon
parent
d90b896d8d
commit
5448d2a565
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user