[CRIU] [PATCH 2/3] make: Export @ARCH and @SRCARCH
Cyrill Gorcunov
gorcunov at openvz.org
Mon Apr 13 05:46:54 PDT 2015
We will need them for x86-32.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index 29f1d5b683fb..6e6efb290823 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,8 @@ LDARCH ?= $(SRCARCH)
SRC_DIR ?= $(CURDIR)
ARCH_DIR := arch/$(SRCARCH)
+export ARCH SRCARCH
+
$(if $(wildcard $(ARCH_DIR)),,$(error "The architecture $(ARCH) isn't supported"))
cflags-y += -iquote include -iquote pie -iquote .
--
1.9.3
More information about the CRIU
mailing list