[make] add MODULE_SRCS to a module's config file
This should force a rebuild if you add/remove a source file to a module.
This commit is contained in:
@@ -60,6 +60,7 @@ MODULE_DEFINES += MODULE_OPTFLAGS=\"$(subst $(SPACE),_,$(MODULE_OPTFLAGS))\"
|
||||
MODULE_DEFINES += MODULE_INCLUDES=\"$(subst $(SPACE),_,$(MODULE_INCLUDES))\"
|
||||
MODULE_DEFINES += MODULE_SRCDEPS=\"$(subst $(SPACE),_,$(MODULE_SRCDEPS))\"
|
||||
MODULE_DEFINES += MODULE_DEPS=\"$(subst $(SPACE),_,$(MODULE_DEPS))\"
|
||||
MODULE_DEFINES += MODULE_SRCS=\"$(subst $(SPACE),_,$(MODULE_SRCS))\"
|
||||
|
||||
# generate a per-module config.h file
|
||||
MODULE_CONFIG := $(MODULE_BUILDDIR)/module_config.h
|
||||
|
||||
Reference in New Issue
Block a user