diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-04 04:59:23 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-22 17:21:36 +0300 |
commit | e3fd9b5384f37e55261ebd261ad97951a44ece50 (patch) | |
tree | 3aa3e00317afbf86e9ff3d43f6110f3c7375c47e /init/do_mounts_initrd.c | |
parent | ad1d69735878a6bf797705b5d2a20316d35e1113 (diff) | |
download | linux-e3fd9b5384f37e55261ebd261ad97951a44ece50.tar.xz |
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 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions