From 50a185524f49930e44f520d72f97d016fae01887 Mon Sep 17 00:00:00 2001
From: Martine Lenders <mail@martine-lenders.eu>
Date: Wed, 1 Oct 2014 18:19:19 +0200
Subject: [PATCH] make: Allow for include of modules outside of the RIOTBASE
 path

---
 Makefile.include | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.include b/Makefile.include
index 2b90f9d71a..31cd74e76d 100644
--- a/Makefile.include
+++ b/Makefile.include
@@ -142,6 +142,8 @@ CPPMIX ?= $(if $(wildcard *.cpp),1,)
 # We assume $(LINK) to be gcc-like. Use `LINKFLAGPREFIX :=` for ld-like linker options.
 LINKFLAGPREFIX ?= -Wl,
 
+DIRS += $(EXTERNAL_MODULE_DIRS)
+
 ## make script for your application. Build RIOT-base here!
 all: ..build-message $(USEPKG:%=${BINDIR}%.a) $(APPDEPS)
 	$(AD)DIRS="$(DIRS)" "$(MAKE)" -C $(CURDIR) -f $(RIOTBASE)/Makefile.application
-- 
GitLab