CompileDTS: use preprocessor on .dts files
Recent linux behaviour (and also copied by BSD) is to preprocess DTS files with the C preprpocessor to enable sharing constants between driver implementation and DTS content for more readability.
This commit is contained in:
parent
f4c28fe71f
commit
128e69f9e5
@ -192,7 +192,7 @@ rule CompileDTS
|
||||
|
||||
actions CompileDTS
|
||||
{
|
||||
dtc -O dtb -o $(1) $(2);
|
||||
cpp -P -xassembler-with-cpp -I$(HAIKU_TOP)/src/data/dts/ $(2) | dtc -O dtb -o $(1) -i $(HAIKU_TOP)/src/data/dts ;
|
||||
}
|
||||
|
||||
rule Ld
|
||||
|
Loading…
Reference in New Issue
Block a user