From ecf73756ec747bd9b4cbd9b4f46fcc8195b757a8 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 15 Feb 2013 23:40:31 +0400 Subject: [PATCH] make: No need for shell call, use CURDIR builtin instead Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 859ca808b..c4afaf463 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ ifeq ($(ARCH),arm) CFLAGS += -march=armv7-a endif -SRC_DIR ?= $(shell pwd) +SRC_DIR ?= $(CURDIR) ARCH_DIR := $(SRC_DIR)/arch/$(ARCH) $(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))