Skip to content
Snippets Groups Projects
Commit d5195b6b authored by Toon Stegen's avatar Toon Stegen
Browse files

make: Use defined application directory

Instead of looking in the current directory for the application source
files, look into the defined APPDIR directory.
parent 2510fe03
Branches
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ all: ..in-docker-container
else
## make script for your application. Build RIOT-base here!
all: ..compiler-check ..build-message $(USEPKG:%=${BINDIR}%.a) $(APPDEPS)
$(AD)DIRS="$(DIRS)" "$(MAKE)" -C $(CURDIR) -f $(RIOTBASE)/Makefile.application
$(AD)DIRS="$(DIRS)" "$(MAKE)" -C $(APPDIR) -f $(RIOTBASE)/Makefile.application
ifeq (,$(RIOTNOLINK))
ifeq ($(BUILDOSXNATIVE),1)
$(AD)$(if $(CPPMIX),$(CXX),$(LINK)) $(UNDEF) -o $(ELFFILE) $$(find $(BASELIBS) -size +8c) $(LINKFLAGS) $(LINKFLAGPREFIX)-no_pie
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment