Skip to content

Commit

Permalink
make: BUILDRELPATH without call to git
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundogan committed May 18, 2016
1 parent 5817d91 commit 1d79e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ endif
# Use absolute paths in recusive "make" even if overriden on command line.
MAKEOVERRIDES += $(foreach v,${__DIRECTORY_VARIABLES},${v}=${${v}})

# Path to the current directory relative to the git root
BUILDRELPATH ?= $(shell git rev-parse --show-prefix)
# Path to the current directory relative to RIOTPROJECT
BUILDRELPATH ?= ${PWD:${RIOTPROJECT}/%=%}/

# 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
Expand Down

0 comments on commit 1d79e07

Please sign in to comment.