[meta-xilinx] [PATCH 1/3] device-tree.bb: Update kernel include paths for zynq/zynqmp

Nathan Rossi nathan at nathanrossi.com
Tue Apr 12 06:38:23 PDT 2016


Update the paths for kernel device tree and pre-processor includes.

Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
 recipes-bsp/device-tree/device-tree.bb | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/device-tree/device-tree.bb b/recipes-bsp/device-tree/device-tree.bb
index 3733754..ddfa758 100644
--- a/recipes-bsp/device-tree/device-tree.bb
+++ b/recipes-bsp/device-tree/device-tree.bb
@@ -19,8 +19,15 @@ SRC_URI_append_zynq = " file://common/zynq7-base.dtsi"
 S = "${WORKDIR}"
 
 KERNEL_DTS_INCLUDE ??= ""
-KERNEL_DTS_INCLUDE_zynq = "${STAGING_KERNEL_DIR}/arch/arm/boot/dts"
-KERNEL_DTS_INCLUDE_zynqmp = "${STAGING_KERNEL_DIR}/arch/arm/boot/dts ${STAGING_KERNEL_DIR}/arch/arm64/boot/dts/xilinx"
+KERNEL_DTS_INCLUDE_zynq = " \
+		${STAGING_KERNEL_DIR}/arch/arm/boot/dts \
+		${STAGING_KERNEL_DIR}/arch/arm/boot/dts/include \
+		"
+KERNEL_DTS_INCLUDE_zynqmp = " \
+		${STAGING_KERNEL_DIR}/arch/arm64/boot/dts \
+		${STAGING_KERNEL_DIR}/arch/arm64/boot/dts/include \
+		${STAGING_KERNEL_DIR}/arch/arm64/boot/dts/xilinx \
+		"
 
 python () {
     # auto add dependency on kernel tree
-- 
2.8.0.rc3




More information about the meta-xilinx mailing list