Commit ecf73756 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

make: No need for shell call, use CURDIR builtin instead

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent c4055499
...@@ -54,7 +54,7 @@ ifeq ($(ARCH),arm) ...@@ -54,7 +54,7 @@ ifeq ($(ARCH),arm)
CFLAGS += -march=armv7-a CFLAGS += -march=armv7-a
endif endif
SRC_DIR ?= $(shell pwd) SRC_DIR ?= $(CURDIR)
ARCH_DIR := $(SRC_DIR)/arch/$(ARCH) ARCH_DIR := $(SRC_DIR)/arch/$(ARCH)
$(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported")) $(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment