[CRIU] [PATCH 1/4] makefile: move PROTOUFIX export to arm section

Dmitry Safonov dsafonov at virtuozzo.com
Thu Feb 11 08:48:15 PST 2016


As SRCARCH := arm defined two lines above, no need for additional ifeq.

Impact: cleanup

Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index dcc9492..da5552e 100644
--- a/Makefile
+++ b/Makefile
@@ -97,16 +97,15 @@ ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm)
 	ifeq ($(ARMV),7)
 		USERCFLAGS += -march=armv7-a
 	endif
-endif
-ifeq ($(ARCH),aarch64)
-	VDSO         := y
-endif
 
-ifeq ($(SRCARCH),arm)
 	PROTOUFIX    := y
 	export PROTOUFIX
 endif
 
+ifeq ($(ARCH),aarch64)
+	VDSO         := y
+endif
+
 #
 # The PowerPC 64 bits architecture could be big or little endian.
 # They are handled in the same way.
-- 
2.7.1



More information about the CRIU mailing list