aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
diff options
context:
space:
mode:
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>2016-11-23 13:47:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:47:12 +0000
commita48dbddab9524e78eeac53484d9dbfa0b484c561 (patch)
tree8537ea2388817fce54d9db23b3c5746be9d24f49 /meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
parent85280798306c0c1b1f36e5a10394ffaa7c4041f9 (diff)
downloadopenembedded-core-contrib-a48dbddab9524e78eeac53484d9dbfa0b484c561.tar.gz
openembedded-core-contrib-a48dbddab9524e78eeac53484d9dbfa0b484c561.tar.bz2
openembedded-core-contrib-a48dbddab9524e78eeac53484d9dbfa0b484c561.zip
python-numpy: Use MIPS MACHINE_OVERRIDES to reduce duplication
The mipsarch* MACHINE_OVERRIDES can be used to pass the same parameters to MIPS pre-R2 and R6 ISA variants. Use them to reduce duplication in supporting MIPS R6 ISA. Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h')
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
new file mode 100644
index 0000000000..17ef186d56
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
@@ -0,0 +1,21 @@
+/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */
+/* #define SIZEOF_SHORT 2 */
+/* #define SIZEOF_INT 4 */
+/* #define SIZEOF_LONG 4 */
+/* #define SIZEOF_FLOAT 4 */
+/* #define SIZEOF_DOUBLE 8 */
+#define SIZEOF_LONG_DOUBLE 12
+#define SIZEOF_PY_INTPTR_T 4
+/* #define SIZEOF_LONG_LONG 8 */
+#define SIZEOF_PY_LONG_LONG 8
+/* #define CHAR_BIT 8 */
+#define MATHLIB m
+#define HAVE_FLOAT_FUNCS
+#define HAVE_LOG1P
+#define HAVE_EXPM1
+#define HAVE_INVERSE_HYPERBOLIC
+#define HAVE_INVERSE_HYPERBOLIC_FLOAT
+#define HAVE_ISNAN
+#define HAVE_ISINF
+#define HAVE_RINT
+