diff options
author | Yann Gautier <yann.gautier@st.com> | 2018-06-18 16:00:23 +0200 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2018-06-18 16:05:16 +0200 |
commit | 01d237cb70f00b4647a9dbef7301801071626b35 (patch) | |
tree | 849a1c503ffc3201323d45a087cc2c4f17fdcb30 /Makefile | |
parent | 841cb4f7251258010344dfa7bcd5f3faa51eb532 (diff) |
Build: add cpp build processing for dtb
This is an add-on feature that allows processing
device tree with external includes.
"-Iinclude" is also added to INCLUDES.
It allows inclusion of dt-bindings files either in dts files or drivers,
as those files will be in include/dt-bindings/.
"-i fdts" is added to the DTC command line.
As the pre-processed files are in build directory, the DT source directory
has to be explicitely included, to manages /include/ directives.
fixes arm-software/tf-issues#595
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -198,7 +198,8 @@ BL_COMMON_SOURCES += common/bl_common.c \ ${COMPILER_RT_SRCS} \ ${STDLIB_SRCS} -INCLUDES += -Iinclude/bl1 \ +INCLUDES += -Iinclude \ + -Iinclude/bl1 \ -Iinclude/bl2 \ -Iinclude/bl2u \ -Iinclude/bl31 \ |