mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.base: do not clean objects of bindist modules
This commit is contained in:
parent
94c852cfa7
commit
e8ad257d66
@ -114,7 +114,11 @@ $(BINDIR)/$(MODULE)/:
|
||||
$(Q)mkdir -p $@
|
||||
|
||||
OLD_OBJECTS = $(wildcard $(BINDIR)/$(MODULE)/*.o)
|
||||
OBJECTS_TO_REMOVE = $(filter-out $(OBJ),$(OLD_OBJECTS))
|
||||
|
||||
# do not clean objects from bindist modules
|
||||
ifeq (,$(filter $(MODULE),$(BIN_USEMODULE)))
|
||||
OBJECTS_TO_REMOVE = $(filter-out $(OBJ),$(OLD_OBJECTS))
|
||||
endif
|
||||
|
||||
$(MODULE).module compile-commands $(OBJ): | $(BINDIR)/$(MODULE)/
|
||||
|
||||
|
@ -21,6 +21,7 @@ export CXXINCLUDES # The extra include paths for c++, set by the vario
|
||||
export NATIVEINCLUDES # The native include paths, set by the various native Makefile.include files.
|
||||
|
||||
export USEMODULE # Sys Module dependencies of the application. Set in the application's Makefile.
|
||||
export BIN_USEMODULE # Modules specific to bindist (see bindist.ink.mk). Set in the application's Makefile.
|
||||
export USEPKG # Pkg dependencies (third party modules) of the application. Set in the application's Makefile.
|
||||
export DISABLE_MODULE # Used in the application's Makefile to suppress DEFAULT_MODULEs.
|
||||
# APPDEPS # Files / Makefile targets that need to be created before the application can be build. Set in the application's Makefile.
|
||||
|
Loading…
Reference in New Issue
Block a user