mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Provide a way to add additional APPS search directories.
E.g. in a makefile do: APPDIRS += ${addprefix ../apps/, $(APPS)}
This commit is contained in:
parent
20a5c794dd
commit
9f54eeacd7
@ -93,9 +93,9 @@ 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)}}
|
${addprefix , $(APPS)}}
|
||||||
APPINCLUDES = ${foreach APP, $(APPS), ${wildcard \
|
APPINCLUDES = ${foreach APP, $(APPS), ${wildcard ${foreach DIR, $(APPDIRS), $(DIR)/Makefile.$(APP)} \
|
||||||
$(CONTIKI)/apps/$(APP)/Makefile.$(APP) \
|
$(CONTIKI)/apps/$(APP)/Makefile.$(APP) \
|
||||||
$(CONTIKI)/platform/$(TARGET)/apps/$(APP)/Makefile.$(APP) \
|
$(CONTIKI)/platform/$(TARGET)/apps/$(APP)/Makefile.$(APP) \
|
||||||
$(APP)/Makefile.$(APP)}}
|
$(APP)/Makefile.$(APP)}}
|
||||||
|
Loading…
Reference in New Issue
Block a user