• Yann Gautier's avatar
    Build: add cpp build processing for dtb · 01d237cb
    Yann Gautier authored
    
    
    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: default avatarLionel Debieve <lionel.debieve@st.com>
    Signed-off-by: default avatarYann Gautier <yann.gautier@st.com>
    01d237cb
build_macros.mk 13.6 KB