mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-16 14:27:48 +00:00
bc40ef339a
Set the variables needed to put the DTBs into the same vendored directory structure as they are in the kernel. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
16 lines
412 B
PHP
16 lines
412 B
PHP
# 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"
|
|
KERNEL_DTBVENDORED = "1"
|
|
|