Commit c361405e authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

dts: Reduce include paths for building dts



Drop a few paths from when we preprocess the dts.  This is to reduce
creep of where #defines might get resolved from.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent be64964f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -86,14 +86,12 @@ if(CONFIG_HAS_DTS)
    COMMAND ${CMAKE_C_COMPILER}
    -x assembler-with-cpp
    -nostdinc
    -I${ZEPHYR_BASE}/soc/${ARCH}
    -isystem ${ZEPHYR_BASE}/include
    -isystem ${ZEPHYR_BASE}/dts/${ARCH}
    -isystem ${ZEPHYR_BASE}/dts
    -include ${AUTOCONF_H}
    ${DTC_INCLUDE_FLAG_FOR_DTS}  # include the DTS source and overlays
    -I${ZEPHYR_BASE}/dts/common
    -I${ZEPHYR_BASE}/drivers
    -undef -D__DTS__
    -P
    -E ${ZEPHYR_BASE}/misc/empty_file.c