summaryrefslogtreecommitdiff
path: root/include/site
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-11-24 06:33:13 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-11-24 06:33:13 +0000
commitdd8d7188eea747c9fc7f11f48cd127ea8e7f273e (patch)
treedb9407e9b1528cabf602701a7be9e12913e9b2eb /include/site
parentd6da770a80303b163bbebb5fd383219f075f4e14 (diff)
downloadmtk-20170518-dd8d7188eea747c9fc7f11f48cd127ea8e7f273e.zip
mtk-20170518-dd8d7188eea747c9fc7f11f48cd127ea8e7f273e.tar.gz
mtk-20170518-dd8d7188eea747c9fc7f11f48cd127ea8e7f273e.tar.bz2
aarch64: add initial support
Add initial support for the AArch64 architecture Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43353
Diffstat (limited to 'include/site')
-rw-r--r--include/site/aarch64-linux28
-rw-r--r--include/site/aarch64-openwrt-linux-gnu5
-rw-r--r--include/site/aarch64_be-linux28
-rw-r--r--include/site/aarch64_be-openwrt-linux-gnu5
4 files changed, 66 insertions, 0 deletions
diff --git a/include/site/aarch64-linux b/include/site/aarch64-linux
new file mode 100644
index 0000000..41dfc01
--- /dev/null
+++ b/include/site/aarch64-linux
@@ -0,0 +1,28 @@
+ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
+
+ac_cv_sizeof___int64=8
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_int16_t=2
+ac_cv_sizeof_int32_t=4
+ac_cv_sizeof_int64_t=8
+ac_cv_sizeof_long_int=8
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_long=8
+ac_cv_sizeof_off_t=8
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_short=2
+ac_cv_sizeof_size_t=8
+ac_cv_sizeof_ssize_t=8
+ac_cv_sizeof_u_int16_t=2
+ac_cv_sizeof_u_int32_t=4
+ac_cv_sizeof_u_int64_t=8
+ac_cv_sizeof_uint16_t=2
+ac_cv_sizeof_uint32_t=4
+ac_cv_sizeof_uint64_t=8
+ac_cv_sizeof_unsigned_int=4
+ac_cv_sizeof_unsigned_long=8
+ac_cv_sizeof_unsigned_long_long=8
+ac_cv_sizeof_unsigned_short=2
+ac_cv_sizeof_void_p=8
diff --git a/include/site/aarch64-openwrt-linux-gnu b/include/site/aarch64-openwrt-linux-gnu
new file mode 100644
index 0000000..d84dd0a
--- /dev/null
+++ b/include/site/aarch64-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/aarch64-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/aarch64_be-linux b/include/site/aarch64_be-linux
new file mode 100644
index 0000000..1541a89
--- /dev/null
+++ b/include/site/aarch64_be-linux
@@ -0,0 +1,28 @@
+ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
+
+ac_cv_sizeof___int64=8
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_int16_t=2
+ac_cv_sizeof_int32_t=4
+ac_cv_sizeof_int64_t=8
+ac_cv_sizeof_long_int=8
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_long=8
+ac_cv_sizeof_off_t=8
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_short=2
+ac_cv_sizeof_size_t=8
+ac_cv_sizeof_ssize_t=8
+ac_cv_sizeof_u_int16_t=2
+ac_cv_sizeof_u_int32_t=4
+ac_cv_sizeof_u_int64_t=8
+ac_cv_sizeof_uint16_t=2
+ac_cv_sizeof_uint32_t=4
+ac_cv_sizeof_uint64_t=8
+ac_cv_sizeof_unsigned_int=4
+ac_cv_sizeof_unsigned_long=8
+ac_cv_sizeof_unsigned_long_long=8
+ac_cv_sizeof_unsigned_short=2
+ac_cv_sizeof_void_p=8
diff --git a/include/site/aarch64_be-openwrt-linux-gnu b/include/site/aarch64_be-openwrt-linux-gnu
new file mode 100644
index 0000000..d84dd0a
--- /dev/null
+++ b/include/site/aarch64_be-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/aarch64-linux
+. $TOPDIR/include/site/linux-gnu
+