mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 21:07:43 +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:
parent
c405549934
commit
ecf73756ec
2
Makefile
2
Makefile
@ -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"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user