Skip to content

Commit d5195b6

Browse files
author
Toon Stegen
committed
make: Use defined application directory
Instead of looking in the current directory for the application source files, look into the defined APPDIR directory.
1 parent 2510fe0 commit d5195b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.include

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ all: ..in-docker-container
250250
else
251251
## make script for your application. Build RIOT-base here!
252252
all: ..compiler-check ..build-message $(USEPKG:%=${BINDIR}%.a) $(APPDEPS)
253-
$(AD)DIRS="$(DIRS)" "$(MAKE)" -C $(CURDIR) -f $(RIOTBASE)/Makefile.application
253+
$(AD)DIRS="$(DIRS)" "$(MAKE)" -C $(APPDIR) -f $(RIOTBASE)/Makefile.application
254254
ifeq (,$(RIOTNOLINK))
255255
ifeq ($(BUILDOSXNATIVE),1)
256256
$(AD)$(if $(CPPMIX),$(CXX),$(LINK)) $(UNDEF) -o $(ELFFILE) $$(find $(BASELIBS) -size +8c) $(LINKFLAGS) $(LINKFLAGPREFIX)-no_pie

0 commit comments

Comments
 (0)