From 1593bf4d32a0b29015f2c0a87ede2c4cdf02c469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Tue, 12 Apr 2016 13:37:29 +0200 Subject: [PATCH] make: no need to invoke shell to get dir name --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 94dd0a3e58..f3749064ad 100644 --- a/Makefile.include +++ b/Makefile.include @@ -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