diff options
Diffstat (limited to 'meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc')
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc new file mode 100644 index 00000000..dd5578f5 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc @@ -0,0 +1,14 @@ +# 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" |