of: remove drivers/of/testcase-data from include search path for CPP
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 25 Jul 2017 02:23:34 +0000 (11:23 +0900)
committerRob Herring <robh@kernel.org>
Mon, 21 Aug 2017 17:20:10 +0000 (12:20 -0500)
This search path was added by commit b5190516b282 ("of: Move testcase
FDT data into drivers/of").  At that time, it was needed for platform
DT files to include testcase data.

It became unnecessary when commit ae9304c9d311 ("Adding selftest
testdata dynamically into live tree") introduced dynamic addition of
testcase data, but it missed to delete this search path.

Moreover, the directory drivers/of/testcase-data does not exist since
commit 19fd74879a32 ("of/unittest: Rename selftest.c to unittest.c").

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
scripts/Makefile.lib

index 58c05e5d9870b6c18a72da7dc44ff3112994946d..011d464d2132b3027d9c92bc1bb4d2578407ae89 100644 (file)
@@ -176,7 +176,6 @@ ld_flags       = $(LDFLAGS) $(ldflags-y)
 dtc_cpp_flags  = -Wp,-MD,$(depfile).pre.tmp -nostdinc                    \
                 -I$(srctree)/arch/$(SRCARCH)/boot/dts                   \
                 -I$(srctree)/scripts/dtc/include-prefixes               \
-                -I$(srctree)/drivers/of/testcase-data                   \
                 -undef -D__DTS__
 
 # Finds the multi-part object the current object will be linked into