From 0671640ea285beffb11e8d0f074c194e4d090119 Mon Sep 17 00:00:00 2001 From: Wojciech Bober Date: Wed, 23 Dec 2015 21:29:03 +0100 Subject: [PATCH] Extended SOURCEDIRS variable with EXTRALDIRS variable in Makefile.include Directories listed in this variable are added to include and source (vpath) search paths. Contents of this variable aren't automatically prefixed with Contki root. This allows for inclusion of folders that are outside Contiki root. --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 36b5e06ca..67b0ff595 100644 --- a/Makefile.include +++ b/Makefile.include @@ -182,7 +182,7 @@ CONTIKI_CPU_DIRS_CONCAT = ${addprefix $(CONTIKI_CPU)/, \ $(CONTIKI_CPU_DIRS)} SOURCEDIRS = . $(PROJECTDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) \ - $(CONTIKI_CPU_DIRS_CONCAT) $(CONTIKIDIRS) $(APPDS) ${dir $(target_makefile)} + $(CONTIKI_CPU_DIRS_CONCAT) $(CONTIKIDIRS) $(APPDS) $(EXTERNALDIRS) ${dir $(target_makefile)} vpath %.c $(SOURCEDIRS) vpath %.S $(SOURCEDIRS)