aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-04-12 01:35:34 +0100
committerPascal Terjan <pterjan@gmail.com>2016-04-12 01:35:51 +0100
commitf67a8a56dd7ca94ef11567595a43b379ab73bed7 (patch)
tree21c59dbdfd00c915985756bca7c629784b619490 /configure.ac
parentb5e2b7e12a349a9260f59b04150b555c47344114 (diff)
downloadrpm-setup-f67a8a56dd7ca94ef11567595a43b379ab73bed7.tar
rpm-setup-f67a8a56dd7ca94ef11567595a43b379ab73bed7.tar.gz
rpm-setup-f67a8a56dd7ca94ef11567595a43b379ab73bed7.tar.bz2
rpm-setup-f67a8a56dd7ca94ef11567595a43b379ab73bed7.tar.xz
rpm-setup-f67a8a56dd7ca94ef11567595a43b379ab73bed7.zip
Add armv7hl config
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0af9b49..da1728a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,11 @@ case "${target_cpu}" in
RPMALLARCH="arml armv4tl armv5tl armv5tel armv7l"
CANONTARGETCPU=armv7l
CANONTARGETGNU=-gnueabi
+ ;;
+ armv7hl)
+ RPMALLARCH="armv7hl"
+ CANONTARGETCPU=armv7hl
+ CANONTARGETGNU=-gnueabihf
esac
RPMALLARCH="${RPMALLARCH} noarch"
AC_SUBST(RPMALLARCH)
@@ -107,6 +112,12 @@ fi
if echo "$build_os" | grep '.*-gnu' > /dev/null ; then
build_os=`echo "${build_os}" | sed 's/-gnu$//'`
fi
+if echo "$build_os" | grep '.*-gnueabi' > /dev/null ; then
+ build_os=`echo "${build_os}" | sed 's/-gnueabi$//'`
+fi
+if echo "$build_os" | grep '.*-gnueabihf' > /dev/null ; then
+ build_os=`echo "${build_os}" | sed 's/-gnueabihf$//'`
+fi
changequote(<, >)
build_os_exact="${build_os}"