[Lxc-users] [PATCH 1/3] Add arm as a supported srcarch

Serge Hallyn serge at hallyn.com
Tue Jul 12 23:24:39 UTC 2011


From: Serge Hallyn <serge.hallyn at canonical.com>

Otherwise building on armel fails with

checking for linux SRCARCH... configure: error: architecture arm-unknown-linux-gnueabi not supported

See https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/745884 for details.

Author: Marcin Juszkiewicz <marcin.juszkiewicz at linaro.org>
Signed-off-by: Serge Hallyn <serge.hallyn at canonical.com>
---
 config/linux.m4 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/config/linux.m4 b/config/linux.m4
index 338f393..e117923 100644
--- a/config/linux.m4
+++ b/config/linux.m4
@@ -65,6 +65,7 @@ AC_DEFUN([AC_LINUX_SRCARCH],[
 	x86_64-*) LINUX_SRCARCH=x86;;
 	powerpc*-*) LINUX_SRCARCH=powerpc;;
 	s390*-*) LINUX_SRCARCH=s390;;
+	arm*-*) LINUX_SRCARCH=arm;;
 	*) AC_MSG_ERROR([architecture ${host} not supported]);;
 	esac
 
-- 
1.7.4.1





More information about the lxc-users mailing list