avoid duplicate build in ALL.modules
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 24 May 2010 14:22:40 +0000 (16:22 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 24 May 2010 14:22:40 +0000 (16:22 +0200)
Makefile

index 770dcde..1ab3f9a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -272,9 +272,9 @@ endef
 $(foreach package, $(ALL), $(eval $(call stage1_package_vars,$(package))))
 
 # compute all modules
-ALL.modules :=
+ALL.modules := build tests
 $(foreach package,$(ALL), $(eval ALL.modules+=$($(package)-MODULES)))
-ALL.modules:=build tests $(sort $(ALL.modules))
+ALL.modules:=$(sort $(ALL.modules))
 
 # extract revision from -SVNPATH or tag from -GITPATH
 define stage1_module_vars