Makefile.include: Remove unused MODULESSUBST
The commit bddd96d5c8
"Removed all module
makefiles. Instead, all .c files in a module directory are compiled."
made the MODULESSUBST variable useless, but it did not remove it, so do
it now.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
This commit is contained in:
parent
aba0b8ab40
commit
ecf6765bfd
|
@ -147,7 +147,6 @@ endif
|
||||||
|
|
||||||
ifdef MODULES
|
ifdef MODULES
|
||||||
UNIQUEMODULES = $(call uniq,$(MODULES))
|
UNIQUEMODULES = $(call uniq,$(MODULES))
|
||||||
MODULESSUBST = ${subst /,-,$(UNIQUEMODULES)}
|
|
||||||
MODULEDIRS = ${wildcard ${addprefix $(CONTIKI)/, $(UNIQUEMODULES)}}
|
MODULEDIRS = ${wildcard ${addprefix $(CONTIKI)/, $(UNIQUEMODULES)}}
|
||||||
MODULES_SOURCES = ${foreach d, $(MODULEDIRS), ${subst ${d}/,,${wildcard $(d)/*.c}}}
|
MODULES_SOURCES = ${foreach d, $(MODULEDIRS), ${subst ${d}/,,${wildcard $(d)/*.c}}}
|
||||||
CONTIKI_SOURCEFILES += $(MODULES_SOURCES)
|
CONTIKI_SOURCEFILES += $(MODULES_SOURCES)
|
||||||
|
|
Loading…
Reference in a new issue