Searched hist:e3fd9b5384f37e55261ebd261ad97951a44ece50 (Results 1 – 1 of 1) sorted by relevance
| /linux/scripts/dtc/ |
| H A D | Makefile | diff e3fd9b5384f37e55261ebd261ad97951a44ece50 Wed Jul 04 03:59:23 CEST 2018 Masahiro Yamada <yamada.masahiro@socionext.com> 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>
|