make: no need to invoke shell to get dir name

This commit is contained in:
René Kijewski 2016-04-12 13:37:29 +02:00
parent e71e60e567
commit 1593bf4d32
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
all:
# set undefined variables
RIOTBASE ?= $(shell dirname "$(lastword $(MAKEFILE_LIST))")
RIOTBASE ?= $(dir $(lastword $(MAKEFILE_LIST)))
CCACHE_BASEDIR ?= $(RIOTBASE)
RIOTCPU ?= $(RIOTBASE)/cpu
RIOTBOARD ?= $(RIOTBASE)/boards