linux/scripts/dtc
Masahiro Yamada e3fd9b5384 scripts/dtc: consolidate include path options in Makefile
It is tedious to specify extra compiler options for every file.
HOST_EXTRACFLAGS is useful to add options to all files in a
directory.

-I$(src)/libfdt is needed for all the files in this directory
to include libfdt_env.h etc. from scripts/dtc/libfdt/.

On the other hand, -I$(src) is used to include check-in headers
from generated C files.  Thus, I added it only to dtc-lexer.lex.o
and dtc-parser.tab.o .

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Rob Herring <robh@kernel.org>
2018-08-22 23:21:36 +09:00
..
include-prefixes
libfdt
.gitignore
checks.c
data.c
dt_to_config
dtc-lexer.l
dtc-parser.y
dtc.c
dtc.h
dtx_diff
fdtdump.c
fdtget.c
fdtput.c
flattree.c
fstree.c
livetree.c
Makefile
Makefile.dtc
srcpos.c
srcpos.h
treesource.c
update-dtc-source.sh
util.c
util.h
version_gen.h