summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Larysch <fl@n621.de>2016-11-03 13:45:58 +0100
committerFelix Fietkau <nbd@nbd.name>2017-10-24 13:24:04 +0200
commit555985ac905a13fde3a1a5acb79e7ee072eab16e (patch)
tree4e8c4f0fe20f9df32e3c9dd703ebc924d8bd398b /include
parent1a533159519142753b79b2efcc8ea1d4146fe14b (diff)
downloadmtk-20170518-555985ac905a13fde3a1a5acb79e7ee072eab16e.zip
mtk-20170518-555985ac905a13fde3a1a5acb79e7ee072eab16e.tar.gz
mtk-20170518-555985ac905a13fde3a1a5acb79e7ee072eab16e.tar.bz2
include/site: add powerpc64 config
Signed-off-by: Florian Larysch <fl@n621.de> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/site/powerpc6426
1 files changed, 26 insertions, 0 deletions
diff --git a/include/site/powerpc64 b/include/site/powerpc64
new file mode 100644
index 0000000..6a66346
--- /dev/null
+++ b/include/site/powerpc64
@@ -0,0 +1,26 @@
+#!/bin/sh
+. $TOPDIR/include/site/linux
+ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
+
+ac_cv_sizeof_char=1
+ac_cv_sizeof_char_p=8
+ac_cv_sizeof_double=8
+ac_cv_sizeof_float=4
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=8
+ac_cv_sizeof_long_double=16
+ac_cv_sizeof_long_int=8
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_long_long_int=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_signed_char=1
+ac_cv_sizeof_unsigned_char=1
+ac_cv_sizeof_unsigned_int=4
+ac_cv_sizeof_unsigned_long=8
+ac_cv_sizeof_unsigned_long_int=8
+ac_cv_sizeof_unsigned_long_long_int=8
+ac_cv_sizeof_unsigned_short=2
+ac_cv_sizeof_unsigned_short_int=2
+ac_cv_sizeof_void_p=8