diff options
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-soc.inc | 1 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/meta-ti-bsp/conf/machine/include/ti-soc.inc b/meta-ti-bsp/conf/machine/include/ti-soc.inc index 5125856f..e3a50fdd 100644 --- a/meta-ti-bsp/conf/machine/include/ti-soc.inc +++ b/meta-ti-bsp/conf/machine/include/ti-soc.inc | |||
@@ -11,4 +11,3 @@ UBOOT_RD_ENTRYPOINT = "0x84000000" | |||
11 | 11 | ||
12 | # TI platforms all use devicetrees with overlays | 12 | # TI platforms all use devicetrees with overlays |
13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" | 13 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-devicetree" |
14 | KERNEL_DTB_OVERLAY_SUPPORT ?= "1" | ||
diff --git a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc index 8c14446a..40ddc4fd 100644 --- a/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc +++ b/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc | |||
@@ -1,13 +1,3 @@ | |||
1 | # Add DTC FLAGS -@ when KERNEL_DTB_OVERLAY_SUPPORT is enabled | ||
2 | |||
3 | def get_extra_dtc_args(d): | ||
4 | if d.getVar('KERNEL_DTB_OVERLAY_SUPPORT') == "1": | ||
5 | return "DTC_FLAGS=-@" | ||
6 | else: | ||
7 | return "" | ||
8 | |||
9 | EXTRA_DTC_ARGS += "${@get_extra_dtc_args(d)}" | ||
10 | |||
11 | # Tell the kernel class to install the DTBs in the same directory structure as | 1 | # Tell the kernel class to install the DTBs in the same directory structure as |
12 | # the kernel. | 2 | # the kernel. |
13 | KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" | 3 | KERNEL_DTBDEST = "${KERNEL_IMAGEDEST}/dtb" |