Skip to content
Snippets Groups Projects
Unverified Commit 2fc5ad6b authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #10302 from cladmi/pr/make/docker/fix_riotproject_is_appdir

Makefile.include: Fix BUILDRELPATH when RIOTPROJECT is CURDIR.
parents 77dc923d a5b2af1b
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,8 @@ endif ...@@ -69,7 +69,8 @@ endif
MAKEOVERRIDES += $(foreach v,$(__DIRECTORY_VARIABLES),$(v)=$($(v))) MAKEOVERRIDES += $(foreach v,$(__DIRECTORY_VARIABLES),$(v)=$($(v)))
# Path to the current directory relative to RIOTPROJECT # Path to the current directory relative to RIOTPROJECT
BUILDRELPATH ?= $(CURDIR:$(RIOTPROJECT)/%=%)/ # trailing '/' is important when RIOTPROJECT == CURDIR
BUILDRELPATH ?= $(patsubst $(RIOTPROJECT)/%,%,$(CURDIR)/)
# get host operating system # get host operating system
OS := $(shell uname) OS := $(shell uname)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment