On 20 June 2018 at 21:14, Martin Siegumfeldt <m...@gomspace.com> wrote: > This patch add a missing include path for dt-bindings header-files > (i.e. gpio, pinctrl etc.) > > Signed-off-by: Martin Siegumfeldt <m...@gomspace.com> > --- > meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb > b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb > index dc49cbb..e01e5b5 100644 > --- a/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb > +++ b/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb > @@ -34,6 +34,7 @@ KERNEL_DTS_INCLUDE ??= " \ > # For arm64/zynqmp the xilinx specific includes are subdired under a vendor > directory. > KERNEL_DTS_INCLUDE_append_zynqmp = " \ > ${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/xilinx \ > + ${STAGING_KERNEL_DIR}/include \
Does "${STAGING_KERNEL_DIR}/scripts/dtc/include-prefixes" cover the includes you are after? Since I don't believe the kernel itself adds the root include directory for dtc targets. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/Makefile.lib?h=v4.18-rc1#n167 Regards, Nathan > " > > DTS_FILES_PATH ?= "${S}" > -- > 2.14.1 > > -- > _______________________________________________ > meta-xilinx mailing list > meta-xilinx@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-xilinx -- _______________________________________________ meta-xilinx mailing list meta-xilinx@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-xilinx