From ecf6765bfd16c5d33dab4293d44fd75b1f4d8725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Th=C3=A9baudeau?= Date: Mon, 1 Jun 2015 22:09:58 +0200 Subject: [PATCH] Makefile.include: Remove unused MODULESSUBST MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The commit bddd96d5c83323fb3f99835149af5ab1058c10bb "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 --- Makefile.include | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index bc3d14668..36b5e06ca 100644 --- a/Makefile.include +++ b/Makefile.include @@ -147,7 +147,6 @@ endif ifdef MODULES UNIQUEMODULES = $(call uniq,$(MODULES)) - MODULESSUBST = ${subst /,-,$(UNIQUEMODULES)} MODULEDIRS = ${wildcard ${addprefix $(CONTIKI)/, $(UNIQUEMODULES)}} MODULES_SOURCES = ${foreach d, $(MODULEDIRS), ${subst ${d}/,,${wildcard $(d)/*.c}}} CONTIKI_SOURCEFILES += $(MODULES_SOURCES)