Fixed config.mk to accept a limited list of apps when defined.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 23 Dec 2011 14:15:57 +0000 (14:15 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Fri, 23 Dec 2011 14:15:57 +0000 (14:15 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1069 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/config.mk

index 1461c25..4df6c11 100644 (file)
@@ -111,6 +111,6 @@ CONFIG_ps2        ?= n
 CONFIG_slc2       ?= n
 
 #The CONFIG_foo vars are only interpreted if $(config) is unset.
-#ifeq ($(config),undef)
+ifeq ($(config),undef)
 config += $(foreach app,$(AVAILABLE_APPS),$(if $(findstring $(CONFIG_$(app)),y yes t true Y YES T TRUE),$(app)))
-#endif
+endif