Skip to content
Snippets Groups Projects
Commit 1d79e070 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

make: BUILDRELPATH without call to git

parent 5817d91b
No related branches found
No related tags found
No related merge requests found
...@@ -39,8 +39,8 @@ endif ...@@ -39,8 +39,8 @@ endif
# Use absolute paths in recusive "make" even if overriden on command line. # Use absolute paths in recusive "make" even if overriden on command line.
MAKEOVERRIDES += $(foreach v,${__DIRECTORY_VARIABLES},${v}=${${v}}) MAKEOVERRIDES += $(foreach v,${__DIRECTORY_VARIABLES},${v}=${${v}})
# Path to the current directory relative to the git root # Path to the current directory relative to RIOTPROJECT
BUILDRELPATH ?= $(shell git rev-parse --show-prefix) BUILDRELPATH ?= ${PWD:${RIOTPROJECT}/%=%}/
# Include Docker settings near the top because we need to build the environment # Include Docker settings near the top because we need to build the environment
# command line before some of the variable origins are overwritten below when # command line before some of the variable origins are overwritten below when
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment