aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)