From: Samuel Martin Date: Wed, 9 Mar 2016 22:58:43 +0000 (+0100) Subject: core: use $(CURDIR) to set TOPDIR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e049994086e64ad28aeccb524473752118e1fd8e;p=buildroot.git core: use $(CURDIR) to set TOPDIR This changes saves a shell call and uses a variable automatically set by make [1]. [1] http://www.gnu.org/software/make/manual/make.html#Quick-Reference Signed-off-by: Samuel Martin Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/Makefile b/Makefile index f2822a2cad..98c8dc79e6 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ endif .NOTPARALLEL: # absolute path -TOPDIR := $(shell pwd) +TOPDIR := $(CURDIR) CONFIG_CONFIG_IN = Config.in CONFIG = support/kconfig DATE := $(shell date +%Y%m%d)