cmake: DT: Change from -Idts/common to -isystem dts/common
All DT include directories are system directories, except for dts/common. There is no reason for dts/common to diverge, so we align it with the other directories to be consistent. Also, we move it closer to the other include directories. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
3751275fb0
commit
9472299226
1 changed files with 1 additions and 1 deletions
|
@ -79,10 +79,10 @@ if(SUPPORTS_DTS)
|
|||
-nostdinc
|
||||
-isystem ${DTS_APP_INCLUDE}
|
||||
-isystem ${ZEPHYR_BASE}/include
|
||||
-isystem ${ZEPHYR_BASE}/dts/common
|
||||
-isystem ${ZEPHYR_BASE}/dts/${ARCH}
|
||||
-isystem ${ZEPHYR_BASE}/dts
|
||||
${DTC_INCLUDE_FLAG_FOR_DTS} # include the DTS source and overlays
|
||||
-I${ZEPHYR_BASE}/dts/common
|
||||
${NOSYSDEF_CFLAG}
|
||||
-D__DTS__
|
||||
-P
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue