[CRIU] [PATCH 02/11] make: Export @ARCH and @SRCARCH

Cyrill Gorcunov gorcunov at openvz.org
Wed Apr 22 10:19:57 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 .
-- 
2.1.0



More information about the CRIU mailing list