diff options
Diffstat (limited to 'meta')
22 files changed, 276 insertions, 7 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d22e9e8efe..ba6113d588 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -520,6 +520,8 @@ LINKER_HASH_STYLE_mips = "sysv" | |||
520 | LINKER_HASH_STYLE_mipsel = "sysv" | 520 | LINKER_HASH_STYLE_mipsel = "sysv" |
521 | LINKER_HASH_STYLE_mips64 = "sysv" | 521 | LINKER_HASH_STYLE_mips64 = "sysv" |
522 | LINKER_HASH_STYLE_mips64el = "sysv" | 522 | LINKER_HASH_STYLE_mips64el = "sysv" |
523 | LINKER_HASH_STYLE_mips64n32 = "sysv" | ||
524 | LINKER_HASH_STYLE_mips64eln32 = "sysv" | ||
523 | TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][d.getVar('LINKER_HASH_STYLE', True) != 'gnu']}" | 525 | TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][d.getVar('LINKER_HASH_STYLE', True) != 'gnu']}" |
524 | 526 | ||
525 | export LDFLAGS = "${TARGET_LDFLAGS}" | 527 | export LDFLAGS = "${TARGET_LDFLAGS}" |
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc index 08d8fdc76f..c41fa5e864 100644 --- a/meta/conf/machine/include/mips/arch-mips.inc +++ b/meta/conf/machine/include/mips/arch-mips.inc | |||
@@ -101,4 +101,6 @@ BASE_LIB_tune-mips64el-nf = "lib64" | |||
101 | MIPSPKGSFX_VARIANT_tune-mips64el-nf = "${TUNE_ARCH}" | 101 | MIPSPKGSFX_VARIANT_tune-mips64el-nf = "${TUNE_ARCH}" |
102 | PACKAGE_EXTRA_ARCHS_tune-mips64el-nf = "mips64el-nf" | 102 | PACKAGE_EXTRA_ARCHS_tune-mips64el-nf = "mips64el-nf" |
103 | 103 | ||
104 | TRANSLATED_TARGET_ARCH_append = "${ABIEXTENSION}" | 104 | # On mips we need to redefine this to include the ABIEXTENSION |
105 | # we can avoid the python bit as there are no _ or - to translate | ||
106 | TRANSLATED_TARGET_ARCH = "${TARGET_ARCH}${ABIEXTENSION}" | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb index 83da7e027c..a41eada5af 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | |||
@@ -32,6 +32,7 @@ SANITIZERS = "libasan-dev libubsan-dev" | |||
32 | SANITIZERS_aarch64 = "" | 32 | SANITIZERS_aarch64 = "" |
33 | SANITIZERS_mips = "" | 33 | SANITIZERS_mips = "" |
34 | SANITIZERS_mips64 = "" | 34 | SANITIZERS_mips64 = "" |
35 | SANITIZERS_mips64n32 = "" | ||
35 | SANITIZERS_powerpc64 = "" | 36 | SANITIZERS_powerpc64 = "" |
36 | SANITIZERS_sparc = "" | 37 | SANITIZERS_sparc = "" |
37 | 38 | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index f0ba8b90fa..6f4842f182 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
@@ -38,6 +38,7 @@ SYSTEMTAP = "systemtap" | |||
38 | SYSTEMTAP_libc-uclibc = "" | 38 | SYSTEMTAP_libc-uclibc = "" |
39 | SYSTEMTAP_mips = "" | 39 | SYSTEMTAP_mips = "" |
40 | SYSTEMTAP_mips64 = "" | 40 | SYSTEMTAP_mips64 = "" |
41 | SYSTEMTAP_mips64n32 = "" | ||
41 | SYSTEMTAP_aarch64 = "" | 42 | SYSTEMTAP_aarch64 = "" |
42 | 43 | ||
43 | # lttng-ust uses sched_getcpu() which is not there on uclibc | 44 | # lttng-ust uses sched_getcpu() which is not there on uclibc |
@@ -65,6 +66,7 @@ VALGRIND = "valgrind" | |||
65 | VALGRIND_libc-uclibc = "" | 66 | VALGRIND_libc-uclibc = "" |
66 | VALGRIND_mips = "" | 67 | VALGRIND_mips = "" |
67 | VALGRIND_mips64 = "" | 68 | VALGRIND_mips64 = "" |
69 | VALGRIND_mips64n32 = "" | ||
68 | VALGRIND_arm = "" | 70 | VALGRIND_arm = "" |
69 | VALGRIND_aarch64 = "" | 71 | VALGRIND_aarch64 = "" |
70 | 72 | ||
diff --git a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb index af57fac0ad..c4710205ba 100644 --- a/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb +++ b/meta/recipes-core/packagegroups/packagegroup-self-hosted.bb | |||
@@ -29,6 +29,7 @@ RDEPENDS_packagegroup-self-hosted = "\ | |||
29 | # midori depends on webkit-gtk which could not build for mips64 | 29 | # midori depends on webkit-gtk which could not build for mips64 |
30 | MIDORI = "midori" | 30 | MIDORI = "midori" |
31 | MIDORI_mips64 = "" | 31 | MIDORI_mips64 = "" |
32 | MIDORI_mips64n32 = "" | ||
32 | 33 | ||
33 | RDEPENDS_packagegroup-self-hosted-host-tools = "\ | 34 | RDEPENDS_packagegroup-self-hosted-host-tools = "\ |
34 | connman \ | 35 | connman \ |
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 0693118992..c30242d41a 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -64,6 +64,8 @@ EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit" | |||
64 | 64 | ||
65 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 65 | EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
66 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | 66 | EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" |
67 | EXTRA_OECONF_append_mips64n32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | ||
68 | EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64" | ||
67 | 69 | ||
68 | # ARMv6+ adds atomic instructions that affect the ABI in libraries built | 70 | # ARMv6+ adds atomic instructions that affect the ABI in libraries built |
69 | # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a | 71 | # with TUNE_CCARGS in gcc-runtime. Make the compiler default to a |
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc index a902f9a4ab..81af42f323 100644 --- a/meta/recipes-devtools/gdb/gdb-common.inc +++ b/meta/recipes-devtools/gdb/gdb-common.inc | |||
@@ -11,6 +11,8 @@ LTTNGUST_mips = "" | |||
11 | LTTNGUST_mipsel = "" | 11 | LTTNGUST_mipsel = "" |
12 | LTTNGUST_mips64 = "" | 12 | LTTNGUST_mips64 = "" |
13 | LTTNGUST_mips64el = "" | 13 | LTTNGUST_mips64el = "" |
14 | LTTNGUST_mips64n32 = "" | ||
15 | LTTNGUST_mips64eln32 = "" | ||
14 | LTTNGUST_sh4 = "" | 16 | LTTNGUST_sh4 = "" |
15 | 17 | ||
16 | INC_PR = "r0" | 18 | INC_PR = "r0" |
diff --git a/meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h new file mode 100644 index 0000000000..be57ac27bf --- /dev/null +++ b/meta/recipes-devtools/python/python-numpy/mips64n32/_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 16 | ||
10 | #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 | ||
11 | #define NPY_SIZEOF_PY_INTPTR_T 8 | ||
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 | ||
diff --git a/meta/recipes-devtools/python/python-numpy/mips64n32/config.h b/meta/recipes-devtools/python/python-numpy/mips64n32/config.h new file mode 100644 index 0000000000..c30b868f2f --- /dev/null +++ b/meta/recipes-devtools/python/python-numpy/mips64n32/config.h | |||
@@ -0,0 +1,139 @@ | |||
1 | #define HAVE_ENDIAN_H 1 | ||
2 | #define SIZEOF_PY_INTPTR_T 8 | ||
3 | #define SIZEOF_PY_LONG_LONG 8 | ||
4 | #define MATHLIB m | ||
5 | #define HAVE_SIN 1 | ||
6 | #define HAVE_COS 1 | ||
7 | #define HAVE_TAN 1 | ||
8 | #define HAVE_SINH 1 | ||
9 | #define HAVE_COSH 1 | ||
10 | #define HAVE_TANH 1 | ||
11 | #define HAVE_FABS 1 | ||
12 | #define HAVE_FLOOR 1 | ||
13 | #define HAVE_CEIL 1 | ||
14 | #define HAVE_SQRT 1 | ||
15 | #define HAVE_LOG10 1 | ||
16 | #define HAVE_LOG 1 | ||
17 | #define HAVE_EXP 1 | ||
18 | #define HAVE_ASIN 1 | ||
19 | #define HAVE_ACOS 1 | ||
20 | #define HAVE_ATAN 1 | ||
21 | #define HAVE_FMOD 1 | ||
22 | #define HAVE_MODF 1 | ||
23 | #define HAVE_FREXP 1 | ||
24 | #define HAVE_LDEXP 1 | ||
25 | #define HAVE_RINT 1 | ||
26 | #define HAVE_TRUNC 1 | ||
27 | #define HAVE_EXP2 1 | ||
28 | #define HAVE_LOG2 1 | ||
29 | #define HAVE_ATAN2 1 | ||
30 | #define HAVE_POW 1 | ||
31 | #define HAVE_NEXTAFTER 1 | ||
32 | #define HAVE_SINF 1 | ||
33 | #define HAVE_COSF 1 | ||
34 | #define HAVE_TANF 1 | ||
35 | #define HAVE_SINHF 1 | ||
36 | #define HAVE_COSHF 1 | ||
37 | #define HAVE_TANHF 1 | ||
38 | #define HAVE_FABSF 1 | ||
39 | #define HAVE_FLOORF 1 | ||
40 | #define HAVE_CEILF 1 | ||
41 | #define HAVE_RINTF 1 | ||
42 | #define HAVE_TRUNCF 1 | ||
43 | #define HAVE_SQRTF 1 | ||
44 | #define HAVE_LOG10F 1 | ||
45 | #define HAVE_LOGF 1 | ||
46 | #define HAVE_LOG1PF 1 | ||
47 | #define HAVE_EXPF 1 | ||
48 | #define HAVE_EXPM1F 1 | ||
49 | #define HAVE_ASINF 1 | ||
50 | #define HAVE_ACOSF 1 | ||
51 | #define HAVE_ATANF 1 | ||
52 | #define HAVE_ASINHF 1 | ||
53 | #define HAVE_ACOSHF 1 | ||
54 | #define HAVE_ATANHF 1 | ||
55 | #define HAVE_HYPOTF 1 | ||
56 | #define HAVE_ATAN2F 1 | ||
57 | #define HAVE_POWF 1 | ||
58 | #define HAVE_FMODF 1 | ||
59 | #define HAVE_MODFF 1 | ||
60 | #define HAVE_FREXPF 1 | ||
61 | #define HAVE_LDEXPF 1 | ||
62 | #define HAVE_EXP2F 1 | ||
63 | #define HAVE_LOG2F 1 | ||
64 | #define HAVE_COPYSIGNF 1 | ||
65 | #define HAVE_NEXTAFTERF 1 | ||
66 | #define HAVE_SINL 1 | ||
67 | #define HAVE_COSL 1 | ||
68 | #define HAVE_TANL 1 | ||
69 | #define HAVE_SINHL 1 | ||
70 | #define HAVE_COSHL 1 | ||
71 | #define HAVE_TANHL 1 | ||
72 | #define HAVE_FABSL 1 | ||
73 | #define HAVE_FLOORL 1 | ||
74 | #define HAVE_CEILL 1 | ||
75 | #define HAVE_RINTL 1 | ||
76 | #define HAVE_TRUNCL 1 | ||
77 | #define HAVE_SQRTL 1 | ||
78 | #define HAVE_LOG10L 1 | ||
79 | #define HAVE_LOGL 1 | ||
80 | #define HAVE_LOG1PL 1 | ||
81 | #define HAVE_EXPL 1 | ||
82 | #define HAVE_EXPM1L 1 | ||
83 | #define HAVE_ASINL 1 | ||
84 | #define HAVE_ACOSL 1 | ||
85 | #define HAVE_ATANL 1 | ||
86 | #define HAVE_ASINHL 1 | ||
87 | #define HAVE_ACOSHL 1 | ||
88 | #define HAVE_ATANHL 1 | ||
89 | #define HAVE_HYPOTL 1 | ||
90 | #define HAVE_ATAN2L 1 | ||
91 | #define HAVE_POWL 1 | ||
92 | #define HAVE_FMODL 1 | ||
93 | #define HAVE_MODFL 1 | ||
94 | #define HAVE_FREXPL 1 | ||
95 | #define HAVE_LDEXPL 1 | ||
96 | #define HAVE_EXP2L 1 | ||
97 | #define HAVE_LOG2L 1 | ||
98 | #define HAVE_COPYSIGNL 1 | ||
99 | #define HAVE_NEXTAFTERL 1 | ||
100 | #define HAVE_DECL_SIGNBIT | ||
101 | #define HAVE_COMPLEX_H 1 | ||
102 | #define HAVE_CREAL 1 | ||
103 | #define HAVE_CIMAG 1 | ||
104 | #define HAVE_CABS 1 | ||
105 | #define HAVE_CARG 1 | ||
106 | #define HAVE_CEXP 1 | ||
107 | #define HAVE_CSQRT 1 | ||
108 | #define HAVE_CLOG 1 | ||
109 | #define HAVE_CCOS 1 | ||
110 | #define HAVE_CSIN 1 | ||
111 | #define HAVE_CPOW 1 | ||
112 | #define HAVE_CREALF 1 | ||
113 | #define HAVE_CIMAGF 1 | ||
114 | #define HAVE_CABSF 1 | ||
115 | #define HAVE_CARGF 1 | ||
116 | #define HAVE_CEXPF 1 | ||
117 | #define HAVE_CSQRTF 1 | ||
118 | #define HAVE_CLOGF 1 | ||
119 | #define HAVE_CCOSF 1 | ||
120 | #define HAVE_CSINF 1 | ||
121 | #define HAVE_CPOWF 1 | ||
122 | #define HAVE_CREALL 1 | ||
123 | #define HAVE_CIMAGL 1 | ||
124 | #define HAVE_CABSL 1 | ||
125 | #define HAVE_CARGL 1 | ||
126 | #define HAVE_CEXPL 1 | ||
127 | #define HAVE_CSQRTL 1 | ||
128 | #define HAVE_CLOGL 1 | ||
129 | #define HAVE_CCOSL 1 | ||
130 | #define HAVE_CSINL 1 | ||
131 | #define HAVE_CPOWL 1 | ||
132 | #define HAVE_LDOUBLE_IEEE_QUAD_LE 1 | ||
133 | #ifndef __cplusplus | ||
134 | /* #undef inline */ | ||
135 | #endif | ||
136 | |||
137 | #ifndef _NPY_NPY_CONFIG_H_ | ||
138 | #error config.h should never be included directly, include npy_config.h instead | ||
139 | #endif | ||
diff --git a/meta/recipes-devtools/python/python-numpy_1.7.0.bb b/meta/recipes-devtools/python/python-numpy_1.7.0.bb index 6cb14c9432..d4fd279230 100644 --- a/meta/recipes-devtools/python/python-numpy_1.7.0.bb +++ b/meta/recipes-devtools/python/python-numpy_1.7.0.bb | |||
@@ -50,6 +50,10 @@ CONFIGFILESURI_mips64 = " \ | |||
50 | file://config.h \ | 50 | file://config.h \ |
51 | file://_numpyconfig.h \ | 51 | file://_numpyconfig.h \ |
52 | " | 52 | " |
53 | CONFIGFILESURI_mips64n32 = " \ | ||
54 | file://config.h \ | ||
55 | file://_numpyconfig.h \ | ||
56 | " | ||
53 | 57 | ||
54 | S = "${WORKDIR}/numpy-${PV}" | 58 | S = "${WORKDIR}/numpy-${PV}" |
55 | 59 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mips64eln32/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mips64eln32/objarch.h new file mode 100644 index 0000000000..a05de29def --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/mips64eln32/objarch.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 0 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/ghostscript/ghostscript/mips64n32/objarch.h b/meta/recipes-extended/ghostscript/ghostscript/mips64n32/objarch.h new file mode 100644 index 0000000000..0d0a16bfa3 --- /dev/null +++ b/meta/recipes-extended/ghostscript/ghostscript/mips64n32/objarch.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Parameters derived from machine and compiler architecture. */ | ||
2 | /* This file is generated mechanically by genarch.c. */ | ||
3 | |||
4 | /* ---------------- Scalar alignments ---------------- */ | ||
5 | |||
6 | #define ARCH_ALIGN_SHORT_MOD 2 | ||
7 | #define ARCH_ALIGN_INT_MOD 4 | ||
8 | #define ARCH_ALIGN_LONG_MOD 8 | ||
9 | #define ARCH_ALIGN_PTR_MOD 8 | ||
10 | #define ARCH_ALIGN_FLOAT_MOD 4 | ||
11 | #define ARCH_ALIGN_DOUBLE_MOD 8 | ||
12 | |||
13 | /* ---------------- Scalar sizes ---------------- */ | ||
14 | |||
15 | #define ARCH_LOG2_SIZEOF_CHAR 0 | ||
16 | #define ARCH_LOG2_SIZEOF_SHORT 1 | ||
17 | #define ARCH_LOG2_SIZEOF_INT 2 | ||
18 | #define ARCH_LOG2_SIZEOF_LONG 3 | ||
19 | #define ARCH_LOG2_SIZEOF_LONG_LONG 3 | ||
20 | #define ARCH_SIZEOF_GX_COLOR_INDEX 8 | ||
21 | #define ARCH_SIZEOF_PTR 8 | ||
22 | #define ARCH_SIZEOF_FLOAT 4 | ||
23 | #define ARCH_SIZEOF_DOUBLE 8 | ||
24 | #define ARCH_FLOAT_MANTISSA_BITS 24 | ||
25 | #define ARCH_DOUBLE_MANTISSA_BITS 53 | ||
26 | |||
27 | /* ---------------- Unsigned max values ---------------- */ | ||
28 | |||
29 | #define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) | ||
30 | #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) | ||
31 | #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) | ||
32 | #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) | ||
33 | |||
34 | /* ---------------- Miscellaneous ---------------- */ | ||
35 | |||
36 | #define ARCH_IS_BIG_ENDIAN 1 | ||
37 | #define ARCH_PTRS_ARE_SIGNED 0 | ||
38 | #define ARCH_FLOATS_ARE_IEEE 1 | ||
39 | #define ARCH_ARITH_RSHIFT 2 | ||
40 | #define ARCH_DIV_NEG_POS_TRUNCATES 1 | ||
diff --git a/meta/recipes-extended/mdadm/mdadm_3.3.2.bb b/meta/recipes-extended/mdadm/mdadm_3.3.2.bb index c9392b43f6..7140990396 100644 --- a/meta/recipes-extended/mdadm/mdadm_3.3.2.bb +++ b/meta/recipes-extended/mdadm/mdadm_3.3.2.bb | |||
@@ -32,6 +32,7 @@ EXTRA_OEMAKE = "CHECK_RUN_DIR=0" | |||
32 | # int-ll64.h included | 32 | # int-ll64.h included |
33 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | 33 | EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' |
34 | EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | 34 | EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' |
35 | EXTRA_OEMAKE_append_mips64n32 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__' | ||
35 | 36 | ||
36 | do_compile() { | 37 | do_compile() { |
37 | oe_runmake | 38 | oe_runmake |
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb index dd96fbebaa..e0f32e0a1d 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-lsb.bb | |||
@@ -211,6 +211,7 @@ QT4PKGS = " \ | |||
211 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \ | 211 | ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libqtopengl4", "", d)} \ |
212 | " | 212 | " |
213 | QT4PKGS_mips64 = "" | 213 | QT4PKGS_mips64 = "" |
214 | QT4PKGS_mips64n32 = "" | ||
214 | 215 | ||
215 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" | 216 | SUMMARY_packagegroup-core-lsb-desktop = "LSB Desktop" |
216 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ | 217 | DESCRIPTION_packagegroup-core-lsb-desktop = "Packages required to support libraries \ |
diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb index cfc814ff32..e18aebf7bd 100644 --- a/meta/recipes-kernel/sysprof/sysprof_git.bb +++ b/meta/recipes-kernel/sysprof/sysprof_git.bb | |||
@@ -14,6 +14,7 @@ SRC_URI = "git://git.gnome.org/sysprof \ | |||
14 | SRC_URI_append_arm = " file://rmb-arm.patch" | 14 | SRC_URI_append_arm = " file://rmb-arm.patch" |
15 | SRC_URI_append_mips = " file://rmb-mips.patch" | 15 | SRC_URI_append_mips = " file://rmb-mips.patch" |
16 | SRC_URI_append_mips64 = " file://rmb-mips.patch" | 16 | SRC_URI_append_mips64 = " file://rmb-mips.patch" |
17 | SRC_URI_append_mips64n32 = " file://rmb-mips.patch" | ||
17 | 18 | ||
18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
19 | 20 | ||
diff --git a/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb b/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb index d28e032293..5f6916a430 100644 --- a/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb +++ b/meta/recipes-qt/packagegroups/packagegroup-core-qt.bb | |||
@@ -7,7 +7,7 @@ LICENSE = "MIT" | |||
7 | PR = "r4" | 7 | PR = "r4" |
8 | 8 | ||
9 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace | 9 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace |
10 | COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32" | 10 | COMPATIBLE_HOST_mips64 = "null" |
11 | 11 | ||
12 | inherit packagegroup | 12 | inherit packagegroup |
13 | 13 | ||
diff --git a/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb b/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb index d7a457cff9..d4f0fd1d8c 100644 --- a/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb +++ b/meta/recipes-qt/packagegroups/packagegroup-core-qt4e.bb | |||
@@ -3,7 +3,7 @@ PR = "r2" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | 4 | ||
5 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace | 5 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace |
6 | COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32" | 6 | COMPATIBLE_HOST_mips64 = "null" |
7 | 7 | ||
8 | inherit packagegroup | 8 | inherit packagegroup |
9 | 9 | ||
diff --git a/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc index fc1ccba9a7..02a032658d 100644 --- a/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc +++ b/meta/recipes-qt/packagegroups/packagegroup-qt-toolchain-target.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | LICENSE = "MIT" | 1 | LICENSE = "MIT" |
2 | 2 | ||
3 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace | 3 | # Qt4 could NOT be built on MIPS64 with 64 bits userspace |
4 | COMPATIBLE_HOST_mips64 = "mips64.*-linux-gnun32" | 4 | COMPATIBLE_HOST_mips64 = "null" |
5 | 5 | ||
6 | inherit packagegroup | 6 | inherit packagegroup |
7 | 7 | ||
diff --git a/meta/recipes-qt/qt4/qt4-4.8.6.inc b/meta/recipes-qt/qt4/qt4-4.8.6.inc index a2c0688c72..bd20dac66c 100644 --- a/meta/recipes-qt/qt4/qt4-4.8.6.inc +++ b/meta/recipes-qt/qt4/qt4-4.8.6.inc | |||
@@ -39,7 +39,7 @@ S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" | |||
39 | # disable webkit for mips64 n32 temporarily that fails to compile, | 39 | # disable webkit for mips64 n32 temporarily that fails to compile, |
40 | # qt upstream defect: | 40 | # qt upstream defect: |
41 | # https://bugreports.qt-project.org/browse/QTBUG-39224 | 41 | # https://bugreports.qt-project.org/browse/QTBUG-39224 |
42 | QT_CONFIG_FLAGS_append_mips64 = "${@bb.utils.contains("TUNE_FEATURES", "n32", " -no-webkit", "" ,d)}" | 42 | QT_CONFIG_FLAGS_append_mips64n32 = " -no-webkit" |
43 | 43 | ||
44 | # disable webkit for aarch64 temporarily that fails to compile | 44 | # disable webkit for aarch64 temporarily that fails to compile |
45 | QT_CONFIG_FLAGS_append_aarch64 = " -no-webkit" | 45 | QT_CONFIG_FLAGS_append_aarch64 = " -no-webkit" |
diff --git a/meta/recipes-sato/images/core-image-sato-sdk.bb b/meta/recipes-sato/images/core-image-sato-sdk.bb index 1c4f328459..62836f94d3 100644 --- a/meta/recipes-sato/images/core-image-sato-sdk.bb +++ b/meta/recipes-sato/images/core-image-sato-sdk.bb | |||
@@ -6,6 +6,7 @@ form a standalone SDK." | |||
6 | 6 | ||
7 | QT4PKG = "qt4-pkgs" | 7 | QT4PKG = "qt4-pkgs" |
8 | QT4PKG_mips64 = "" | 8 | QT4PKG_mips64 = "" |
9 | QT4PKG_mips64n32 = "" | ||
9 | 10 | ||
10 | IMAGE_FEATURES += "dev-pkgs tools-sdk ${QT4PKG} \ | 11 | IMAGE_FEATURES += "dev-pkgs tools-sdk ${QT4PKG} \ |
11 | tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh" | 12 | tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh" |
diff --git a/meta/recipes-sato/midori/midori_0.5.8.bb b/meta/recipes-sato/midori/midori_0.5.8.bb index 299ecb324c..3aabdd4385 100644 --- a/meta/recipes-sato/midori/midori_0.5.8.bb +++ b/meta/recipes-sato/midori/midori_0.5.8.bb | |||
@@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751 | |||
10 | 10 | ||
11 | # midori depends on webkit-gtk, and webkit-gtk can NOT be built on | 11 | # midori depends on webkit-gtk, and webkit-gtk can NOT be built on |
12 | # MIPS64 with n32 ABI. So remove it from mips64 n32 temporarily. | 12 | # MIPS64 with n32 ABI. So remove it from mips64 n32 temporarily. |
13 | COMPATIBLE_HOST_mips64 = "mips64.*-linux$" | 13 | COMPATIBLE_HOST_mips64n32 = "null" |
14 | 14 | ||
15 | inherit gtk-icon-cache pkgconfig vala pythonnative cmake | 15 | inherit gtk-icon-cache pkgconfig vala pythonnative cmake |
16 | 16 | ||
diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb index 29f8a7993f..920e1a0a76 100644 --- a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb +++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb | |||
@@ -32,7 +32,7 @@ SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6" | |||
32 | SRC_URI[sha256sum] = "ada02d636af61aed38f142d3cded662d141ce71264f624c4eb873621a74cc9e7" | 32 | SRC_URI[sha256sum] = "ada02d636af61aed38f142d3cded662d141ce71264f624c4eb873621a74cc9e7" |
33 | 33 | ||
34 | # webkit-gtk can NOT be built on MIPS64 with n32 ABI | 34 | # webkit-gtk can NOT be built on MIPS64 with n32 ABI |
35 | COMPATIBLE_HOST_mips64 = "mips64.*-linux$" | 35 | COMPATIBLE_HOST_mips64n32 = "null" |
36 | 36 | ||
37 | inherit autotools lib_package gtk-doc pkgconfig | 37 | inherit autotools lib_package gtk-doc pkgconfig |
38 | 38 | ||