cmake: dts: Remove duplicates from DTS_ROOT
If duplicates gets passed to scripts/dts/gen_defines.py, the bindings in those directories will be loaded twice and actually get in conflict with itself. Signed-off-by: Tobias Svehagen <tobias.svehagen@gmail.com>
This commit is contained in:
parent
134eea2ff4
commit
4fc6a04eb1
@ -33,6 +33,8 @@ list(APPEND
|
||||
${ZEPHYR_BASE}
|
||||
)
|
||||
|
||||
list(REMOVE_DUPLICATES DTS_ROOT)
|
||||
|
||||
set(dts_files
|
||||
${DTS_SOURCE}
|
||||
${shield_dts_files}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user