diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-04 10:59:23 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-22 23:21:36 +0900 |
commit | e3fd9b5384f37e55261ebd261ad97951a44ece50 (patch) | |
tree | 3aa3e00317afbf86e9ff3d43f6110f3c7375c47e /scripts/kconfig/Makefile | |
parent | ad1d69735878a6bf797705b5d2a20316d35e1113 (diff) | |
download | linux-stable-e3fd9b5384f37e55261ebd261ad97951a44ece50.tar.gz linux-stable-e3fd9b5384f37e55261ebd261ad97951a44ece50.tar.bz2 linux-stable-e3fd9b5384f37e55261ebd261ad97951a44ece50.zip |
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>
Diffstat (limited to 'scripts/kconfig/Makefile')
0 files changed, 0 insertions, 0 deletions