mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
build: add support for passing C preprocessor flags for DTS builds
Useful for adding #ifdefs based on build system provided definitions, or for adding extra include paths Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
518f59ad64
commit
2d6da7e23b
@ -184,6 +184,7 @@ endef
|
|||||||
# $(4) extra DTC flags
|
# $(4) extra DTC flags
|
||||||
define Image/BuildDTB
|
define Image/BuildDTB
|
||||||
$(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
|
$(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
|
||||||
|
$(DTS_CPPFLAGS) \
|
||||||
-I$(DTS_DIR) \
|
-I$(DTS_DIR) \
|
||||||
-I$(DTS_DIR)/include \
|
-I$(DTS_DIR)/include \
|
||||||
-I$(LINUX_DIR)/include/ \
|
-I$(LINUX_DIR)/include/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user