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