Avoid including APPS twice. Thanks to David Kopf for reporting this.
This commit is contained in:
parent
ca273e28e9
commit
bb4885abdc
|
@ -107,11 +107,8 @@ PROJECT_OBJECTFILES = ${addprefix $(OBJECTDIR)/,${call oname, $(PROJECT_SOURCEFI
|
||||||
ifdef APPS
|
ifdef APPS
|
||||||
APPDIRS += ${wildcard ${addprefix $(CONTIKI)/apps/, $(APPS)} \
|
APPDIRS += ${wildcard ${addprefix $(CONTIKI)/apps/, $(APPS)} \
|
||||||
${addprefix $(CONTIKI)/platform/$(TARGET)/apps/, $(APPS)} \
|
${addprefix $(CONTIKI)/platform/$(TARGET)/apps/, $(APPS)} \
|
||||||
${addprefix , $(APPS)}}
|
$(APPS)}
|
||||||
APPINCLUDES = ${foreach APP, $(APPS), ${wildcard ${foreach DIR, $(APPDIRS), $(DIR)/Makefile.$(APP)} \
|
APPINCLUDES = ${foreach APP, $(APPS), ${wildcard ${foreach DIR, $(APPDIRS), $(DIR)/Makefile.$(APP)}}}
|
||||||
$(CONTIKI)/apps/$(APP)/Makefile.$(APP) \
|
|
||||||
$(CONTIKI)/platform/$(TARGET)/apps/$(APP)/Makefile.$(APP) \
|
|
||||||
$(APP)/Makefile.$(APP)}}
|
|
||||||
-include $(APPINCLUDES)
|
-include $(APPINCLUDES)
|
||||||
APP_SOURCES = ${foreach APP, $(APPS), $($(APP)_src)}
|
APP_SOURCES = ${foreach APP, $(APPS), $($(APP)_src)}
|
||||||
DSC_SOURCES = ${foreach APP, $(APPS), $($(APP)_dsc)}
|
DSC_SOURCES = ${foreach APP, $(APPS), $($(APP)_dsc)}
|
||||||
|
|
Loading…
Reference in a new issue