From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Martin Date: Wed, 9 Mar 2016 23:58:43 +0100 Subject: [Buildroot] [PATCH v7 02/18] core: use $(CURDIR) to set TOPDIR In-Reply-To: <1457564339-27294-1-git-send-email-s.martin49@gmail.com> References: <1457564339-27294-1-git-send-email-s.martin49@gmail.com> Message-ID: <1457564339-27294-3-git-send-email-s.martin49@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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 --- changes v6->v7: - none changes v5->v6: - new patch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2822a2..98c8dc7 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) -- 2.7.2