aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-25 10:16:13 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-25 10:16:13 +0000
commit461c0f25d5e1144875ba42899a683e7ed4062fd8 (patch)
tree0eb079370544be9152e8ed46acd7c2b216c60d4c
parent3dce4e892cbca7a91993df71cf1610f41aab6943 (diff)
downloadrpm-setup-461c0f25d5e1144875ba42899a683e7ed4062fd8.tar
rpm-setup-461c0f25d5e1144875ba42899a683e7ed4062fd8.tar.gz
rpm-setup-461c0f25d5e1144875ba42899a683e7ed4062fd8.tar.bz2
rpm-setup-461c0f25d5e1144875ba42899a683e7ed4062fd8.tar.xz
rpm-setup-461c0f25d5e1144875ba42899a683e7ed4062fd8.zip
add arm support and use -gnueabi instead of -gnu (from Arnaud Patard)
-rw-r--r--configure.ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1573b39..98971fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,27 @@ case "${target_cpu}" in
RPMALLARCH="mipsel mips32el mips64el"
CANONTARGETCPU=mipsel
;;
+ armv4tl)
+ RPMALLARCH="arml armv4tl"
+ CANONTARGETCPU=armv4tl
+ CANONTARGETGNU=-gnueabi
+ ;;
+ armv5tl)
+ RPMALLARCH="arml armv4tl armv5tl"
+ CANONTARGETCPU=armv5tl
+ CANONTARGETGNU=-gnueabi
+ ;;
+ # some armv5te cpu have buggy instruction so better disable
+ # the "e" extension
+ armv5tel)
+ RPMALLARCH="arml armv4tl armv5tel armv5tl"
+ CANONTARGETCPU=armv5tl
+ CANONTARGETGNU=-gnueabi
+ ;;
+ armv7l)
+ RPMALLARCH="arml armv4tl armv5tl armv5tel armv7l"
+ CANONTARGETCPU=armv7l
+ CANONTARGETGNU=-gnueabi
esac
RPMALLARCH="${RPMALLARCH} noarch"
AC_SUBST(RPMALLARCH)