summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-11-12 09:24:02 +0200
committerTimo Teräs <timo.teras@iki.fi>2015-11-12 09:24:02 +0200
commit5a59c73ffd47a14ec9a6742e2ccf2a4f4330774d (patch)
tree808cc7af8584e4687d693b641c2da1b11a67f854 /src/apk_defines.h
parentcce4cff55310cddb2e2ec61d19b758e52a4e2c97 (diff)
downloadapk-tools-5a59c73ffd47a14ec9a6742e2ccf2a4f4330774d.tar.gz
apk-tools-5a59c73ffd47a14ec9a6742e2ccf2a4f4330774d.tar.bz2
apk-tools-5a59c73ffd47a14ec9a6742e2ccf2a4f4330774d.tar.xz
apk-tools-5a59c73ffd47a14ec9a6742e2ccf2a4f4330774d.zip
add armv7 target
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 1867b82..69113b4 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -86,6 +86,8 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH "ppc"
#elif defined(__powerpc64__)
#define APK_DEFAULT_ARCH "ppc64"
+#elif defined(__arm__) && defined(__ARM_PCS_VFP) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && __ARM_ARCH>=7
+#define APK_DEFAULT_ARCH "armv7"
#elif defined(__arm__) && defined(__ARM_PCS_VFP) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "armhf"
#elif defined(__arm__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__