From 3680c265a43138b6e177f8b3155ba1095bfcd5b4 Mon Sep 17 00:00:00 2001 From: Zubair Lutfullah Kakakhel Date: Wed, 23 Nov 2016 13:47:30 +0000 Subject: 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. (From OE-Core rev: a48dbddab9524e78eeac53484d9dbfa0b484c561) Signed-off-by: Zubair Lutfullah Kakakhel Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../python-numpy/files/mipsarcho32el/numpyconfig.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h (limited to 'meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h') diff --git a/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h new file mode 100644 index 0000000000..0b7cd51af4 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h @@ -0,0 +1,18 @@ +/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */ +/* + * * This file is generated by numpy/core/setup.pyc. DO NOT EDIT + * */ +#define NPY_SIZEOF_SHORT 2 +#define NPY_SIZEOF_INT 4 +#define NPY_SIZEOF_LONG 4 +#define NPY_SIZEOF_FLOAT 4 +#define NPY_SIZEOF_DOUBLE 8 +#define NPY_SIZEOF_LONGDOUBLE 12 +#define NPY_SIZEOF_PY_INTPTR_T 4 +#define NPY_NO_SMP 0 + +#define NPY_SIZEOF_LONGLONG 8 +#define NPY_SIZEOF_PY_LONG_LONG 8 +#define NPY_SIZEOF_OFF_T 8 +/* #define CHAR_BIT 8 */ + -- cgit v1.2.3-54-g00ecf