summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-03-04 09:51:33 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-07 14:49:33 +0000
commit8d4c4d1ca557621aba26aa86a6c0104f9750afe6 (patch)
treebbeddf30a9a420c790d51aed64673599c862ad76 /meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
parent06ecf39b0240674ef131d94cf5dc65adf5e7af2b (diff)
downloadpoky-8d4c4d1ca557621aba26aa86a6c0104f9750afe6.tar.gz
python-numpy: fix build for qemumips and qemuppc
When building python-numpy for qemumips or qemuppc, the following error appeared. cp: cannot stat `xxx/python-numpy/1.7.0-r1/*config.h': No such file or directory This is because for qemumips or qemuppc, there are no such files in SRC_URI. This patch fixes this compiling error by adding necessary files to the SRC_URI. (From OE-Core rev: 15582a25f964e53d28ca0b5c94df3a803c366fed) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h')
-rw-r--r--meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
new file mode 100644
index 0000000000..c0c42851ba
--- /dev/null
+++ b/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
@@ -0,0 +1,30 @@
1#define NPY_HAVE_ENDIAN_H 1
2#define NPY_SIZEOF_SHORT SIZEOF_SHORT
3#define NPY_SIZEOF_INT SIZEOF_INT
4#define NPY_SIZEOF_LONG SIZEOF_LONG
5#define NPY_SIZEOF_FLOAT 4
6#define NPY_SIZEOF_COMPLEX_FLOAT 8
7#define NPY_SIZEOF_DOUBLE 8
8#define NPY_SIZEOF_COMPLEX_DOUBLE 16
9#define NPY_SIZEOF_LONGDOUBLE 8
10#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16
11#define NPY_SIZEOF_PY_INTPTR_T 4
12#define NPY_SIZEOF_PY_LONG_LONG 8
13#define NPY_SIZEOF_LONGLONG 8
14#define NPY_NO_SMP 0
15#define NPY_HAVE_DECL_ISNAN
16#define NPY_HAVE_DECL_ISINF
17#define NPY_HAVE_DECL_ISFINITE
18#define NPY_HAVE_DECL_SIGNBIT
19#define NPY_USE_C99_COMPLEX 1
20#define NPY_HAVE_COMPLEX_DOUBLE 1
21#define NPY_HAVE_COMPLEX_FLOAT 1
22#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
23#define NPY_USE_C99_FORMATS 1
24#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
25#define NPY_ABI_VERSION 0x01000009
26#define NPY_API_VERSION 0x00000007
27
28#ifndef __STDC_FORMAT_MACROS
29#define __STDC_FORMAT_MACROS 1
30#endif