Skip to content
Browse files

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 <>
  • Loading branch information...
SebastianBoe authored and galak committed Mar 13, 2019
1 parent 3751275 commit 9472299226d5ef861c3b74415b75a92668fefbcc
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/dts.cmake
@@ -79,10 +79,10 @@ if(SUPPORTS_DTS)
-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

0 comments on commit 9472299

Please sign in to comment.
You can’t perform that action at this time.