dts: Allow users to pass extra flags to DTC

Allow application build scripts to pass extra flags to DTC, this could
for instance be done to enable/disable warnings.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2018-10-03 10:39:43 +02:00 committed by Kumar Gala
commit f612c3c167

View file

@ -111,8 +111,8 @@ if(CONFIG_HAS_DTS)
-O dts
-o ${BOARD}.dts_compiled
-b 0
${EXTRA_DTC_FLAGS} # User settable
-E unit_address_vs_reg
${EXTRA_DTC_FLAGS} # User settable
${BOARD}.dts.pre.tmp
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
RESULT_VARIABLE ret