2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00

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

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2013-02-15 23:40:31 +04:00 committed by Pavel Emelyanov
parent c405549934
commit ecf73756ec

View File

@ -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"))