Merge pull request #1096 from bthebaudeau/remove-MODULESSUBST

Makefile.include: Remove unused MODULESSUBST
This commit is contained in:
Adam Dunkels 2015-06-03 10:39:56 +02:00
commit 7caf588457

View File

@ -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)