mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
parent
2dcce17bca
commit
dc183736bc
@ -508,13 +508,13 @@ $(RIOTBUILD_CONFIG_HEADER_C):
|
|||||||
@mkdir -p '$(dir $@)'
|
@mkdir -p '$(dir $@)'
|
||||||
$(AD)'$(RIOTBASE)/dist/tools/genconfigheader/genconfigheader.sh' '$@' $(CFLAGS_WITH_MACROS)
|
$(AD)'$(RIOTBASE)/dist/tools/genconfigheader/genconfigheader.sh' '$@' $(CFLAGS_WITH_MACROS)
|
||||||
|
|
||||||
CFLAGS_WITH_MACROS := $(CFLAGS)
|
|
||||||
CFLAGS := $(patsubst -D%,,$(CFLAGS))
|
|
||||||
CFLAGS := $(patsubst -U%,,$(CFLAGS))
|
|
||||||
CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)'
|
|
||||||
|
|
||||||
ifneq (,$(RIOT_VERSION_OVERRIDE))
|
ifneq (,$(RIOT_VERSION_OVERRIDE))
|
||||||
export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION_OVERRIDE)\"
|
export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION_OVERRIDE)\"
|
||||||
else
|
else
|
||||||
export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION)\"
|
export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION)\"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS_WITH_MACROS := $(CFLAGS)
|
||||||
|
CFLAGS := $(patsubst -D%,,$(CFLAGS))
|
||||||
|
CFLAGS := $(patsubst -U%,,$(CFLAGS))
|
||||||
|
CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)'
|
||||||
|
Loading…
Reference in New Issue
Block a user