OSDN Git Service

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)
committerRob Herring <robh@kernel.org>
Thu, 20 Jul 2017 14:46:50 +0000 (09:46 -0500)
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").

Cc: <stable@vger.kernel.org> # 4.12
Signed-off-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/dtc/dtx_diff

index fb86f38..f9a3d8d 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__"