mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: set APPDEPS as BUILDDEPS
Use BUILDDEPS to define the APPDEPS dependency
This commit is contained in:
parent
ba83f1c9c6
commit
2f41244adc
@ -366,6 +366,7 @@ DIRS += $(EXTERNAL_MODULE_DIRS)
|
|||||||
|
|
||||||
# Define dependencies required for building (headers, downloading source files,)
|
# Define dependencies required for building (headers, downloading source files,)
|
||||||
BUILDDEPS += $(RIOTBUILD_CONFIG_HEADER_C)
|
BUILDDEPS += $(RIOTBUILD_CONFIG_HEADER_C)
|
||||||
|
BUILDDEPS += $(APPDEPS)
|
||||||
|
|
||||||
# Save value to verify it is not modified later
|
# Save value to verify it is not modified later
|
||||||
_BASELIBS_VALUE_BEFORE_USAGE := $(BASELIBS)
|
_BASELIBS_VALUE_BEFORE_USAGE := $(BASELIBS)
|
||||||
@ -390,7 +391,7 @@ endif # RIOTNOLINK
|
|||||||
$(ELFFILE): $(BASELIBS)
|
$(ELFFILE): $(BASELIBS)
|
||||||
$(Q)$(_LINK) -o $@
|
$(Q)$(_LINK) -o $@
|
||||||
|
|
||||||
$(BINDIR)/$(APPLICATION_MODULE).a: $(USEPKG:%=$(BINDIR)/%.a) $(APPDEPS) $(BUILDDEPS)
|
$(BINDIR)/$(APPLICATION_MODULE).a: $(USEPKG:%=$(BINDIR)/%.a) $(BUILDDEPS)
|
||||||
$(Q)DIRS="$(DIRS)" "$(MAKE)" -C $(APPDIR) -f $(RIOTMAKE)/application.inc.mk
|
$(Q)DIRS="$(DIRS)" "$(MAKE)" -C $(APPDIR) -f $(RIOTMAKE)/application.inc.mk
|
||||||
$(BINDIR)/$(APPLICATION_MODULE).a: FORCE
|
$(BINDIR)/$(APPLICATION_MODULE).a: FORCE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user