]> git.hungrycats.org Git - linux/commitdiff
scripts/dtc: dtx_diff - update include dts paths to match build
authorFrank Rowand <frank.rowand@sony.com>
Thu, 20 Jul 2017 01:35:31 +0000 (18:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 6 Aug 2017 16:21:08 +0000 (09:21 -0700)
commit b4b201d88b7c9b3c6acdd03f9adec0c9857548ce upstream.

Update the cpp include flags for compiling device tree dts files
to match the changes made to the kernel build process in
commit d5d332d3f7e8 ("devicetree: Move include prefixes from arch
to separate directory").

Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/dtc/dtx_diff

index ec47f95991a3aeccd359e2babe32dd795bd8a1f6..586cccea46ceaaa9717ef4bb79e7851d6ec3cd9a 100755 (executable)
@@ -321,7 +321,7 @@ fi
 cpp_flags="\
        -nostdinc                                  \
        -I${srctree}/arch/${ARCH}/boot/dts         \
-       -I${srctree}/arch/${ARCH}/boot/dts/include \
+       -I${srctree}/scripts/dtc/include-prefixes  \
        -I${srctree}/drivers/of/testcase-data      \
        -undef -D__DTS__"