summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/machine/include/tune-mips32.inc1
-rw-r--r--meta/conf/machine/qemumips.conf15
-rw-r--r--meta/site/mips-common27
-rw-r--r--meta/site/mips-linux115
4 files changed, 158 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc
new file mode 100644
index 0000000000..93da66b158
--- /dev/null
+++ b/meta/conf/machine/include/tune-mips32.inc
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-march=mips32"
diff --git a/meta/conf/machine/qemumips.conf b/meta/conf/machine/qemumips.conf
new file mode 100644
index 0000000000..27f96480b5
--- /dev/null
+++ b/meta/conf/machine/qemumips.conf
@@ -0,0 +1,15 @@
1#@TYPE: Machine
2#@NAME: qemu MIPS (big-endian) Emulator setup
3#@DESCRIPTION: Machine configuration for running an MIPS r4k platform system under qemu emulation
4
5TARGET_ARCH = "mips"
6
7require conf/machine/include/qemu.inc
8require conf/machine/include/tune-mips32.inc
9
10KERNEL_IMAGETYPE = "vmlinux.bin"
11
12SERIAL_CONSOLE = "115200 ttyS0"
13
14PREFERRED_PROVIDER_virtual/kernel = "linux"
15MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
diff --git a/meta/site/mips-common b/meta/site/mips-common
new file mode 100644
index 0000000000..b44e103c67
--- /dev/null
+++ b/meta/site/mips-common
@@ -0,0 +1,27 @@
1ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
2ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
3
4# screen
5screen_cv_sys_bcopy_overlap=${screen_cv_sys_bcopy_overlap=no}
6screen_cv_sys_memcpy_overlap=${screen_cv_sys_memcpy_overlap=no}
7screen_cv_sys_memmove_overlap=${screen_cv_sys_memmove_overlap=no}
8screen_cv_sys_fifo_broken_impl=${screen_cv_sys_fifo_broken_impl=yes}
9screen_cv_sys_fifo_usable=${screen_cv_sys_fifo_usable=yes}
10screen_cv_sys_select_broken_retval=${screen_cv_sys_select_broken_retval=no}
11screen_cv_sys_sockets_nofs=${screen_cv_sys_sockets_nofs=no}
12screen_cv_sys_sockets_usable=${screen_cv_sys_sockets_usable=yes}
13screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
14
15# ORBit2
16ac_cv_alignof_CORBA_octet=1
17ac_cv_alignof_CORBA_boolean=1
18ac_cv_alignof_CORBA_char=1
19ac_cv_alignof_CORBA_wchar=2
20ac_cv_alignof_CORBA_short=2
21ac_cv_alignof_CORBA_long=4
22ac_cv_alignof_CORBA_long_long=8
23ac_cv_alignof_CORBA_float=4
24ac_cv_alignof_CORBA_double=8
25ac_cv_alignof_CORBA_long_double=8
26ac_cv_alignof_CORBA_pointer=4
27ac_cv_alignof_CORBA_struct=1
diff --git a/meta/site/mips-linux b/meta/site/mips-linux
new file mode 100644
index 0000000000..8efa8fd131
--- /dev/null
+++ b/meta/site/mips-linux
@@ -0,0 +1,115 @@
1
2ac_cv_func_getpgrp_void=${ac_cv_func_getpgrp_void=yes}
3ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
4ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
5
6# tslib, others
7ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
8
9# bash
10ac_cv_c_long_double=${ac_cv_c_long_double=no}
11bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=present}
12
13# openssh
14ac_cv_have_accrights_in_msghdr=${ac_cv_have_accrights_in_msghdr=no}
15ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
16ac_cv_have_control_in_msghdr=${ac_cv_have_control_in_msghdr=yes}
17ac_cv_have_openpty_ctty_bug=${ac_cv_have_openpty_ctty_bug=no}
18ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_have_space_d_name_in_struct_dirent=yes}
19
20# fget
21compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
22
23# glib
24glib_cv___va_copy=${glib_cv___va_copy=yes}
25glib_cv_has__inline=${glib_cv_has__inline=yes}
26glib_cv_has__inline__=${glib_cv_has__inline__=yes}
27glib_cv_hasinline=${glib_cv_hasinline=yes}
28glib_cv_long_long_format=${glib_cv_long_long_format=ll}
29glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=no}
30glib_cv_sane_realloc=${glib_cv_sane_realloc=yes}
31glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=24}
32glib_cv_sizeof_system_thread=${glib_cv_sizeof_system_thread=4}
33glib_cv_stack_grows=${glib_cv_stack_grows=no}
34glib_cv_uscore=${glib_cv_uscore=no}
35glib_cv_va_copy=${glib_cv_va_copy=yes}
36glib_cv_va_val_copy=${glib_cv_va_val_copy=yes}
37
38# glib-2.0
39glib_cv_stack_grows=${glib_cv_stack_grows=no}
40utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
41ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
42glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
43ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
44
45# libpcap
46ac_cv_linux_vers=${ac_cv_linux_vers=2}
47ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
48
49# slrn
50slrn_cv___va_copy=${slrn_cv___va_copy=yes}
51slrn_cv_va_copy=${slrn_cv_va_copy=yes}
52slrn_cv_va_val_copy=${slrn_cv_va_val_copy=yes}
53
54# startup-notification
55lf_cv_sane_realloc=${lf_cv_sane_realloc=yes}
56
57# libidl
58libIDL_cv_long_long_format=${libIDL_cv_long_long_format=ll}
59
60# ncftp
61ac_cv_func_setpgrp_void=${ac_cv_func_setpgrp_void=yes}
62wi_cv_struct_timeval_tv_sec=${wi_cv_struct_timeval_tv_sec=long}
63wi_cv_struct_timeval_tv_usec=${wi_cv_struct_timeval_tv_usec=long}
64wi_cv_unix_domain_sockets=${wi_cv_unix_domain_sockets=yes}
65
66# rp-pppoe
67rpppoe_cv_pack_bitfields=${rpppoe_cv_pack_bitfields=rev}
68
69# db3
70db_cv_align_t=${db_cv_align_t='unsigned long long'}
71db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
72db_cv_mutex=${db_cv_mutex=POSIX/pthreads/library}
73db_cv_posixmutexes=${db_cv_posixmutexes=no}
74db_cv_uimutexes=${db_cv_uimutexes=no}
75db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
76db_cv_sprintf_count=${db_cv_sprintf_count=yes}
77db_cv_path_ar=${db_cv_path_ar=/usr/bin/ar}
78db_cv_path_chmod=${db_cv_path_chmod=/bin/chmod}
79db_cv_path_cp=${db_cv_path_cp=/bin/cp}
80db_cv_path_ln=${db_cv_path_ln=/bin/ln}
81db_cv_path_mkdir=${db_cv_path_mkdir=/bin/mkdir}
82db_cv_path_ranlib=${db_cv_path_ranlib=/usr/bin/ranlib}
83db_cv_path_rm=${db_cv_path_rm=/bin/rm}
84db_cv_path_sh=${db_cv_path_sh=/bin/sh}
85db_cv_path_strip=${db_cv_path_strip=/usr/bin/strip}
86
87# rrdtool
88rd_cv_ieee_works=${rd_cv_ieee_works=yes}
89# ac_cv_path_PERL=${ac_cv_path_PERL=no}
90
91# gettext
92am_cv_func_working_getline=${am_cv_func_working_getline=yes}
93
94# samba
95samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
96
97# vim
98ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
99
100# sudo
101sudo_cv_uid_t_len=${sudo_cv_uid_t_len=10}
102
103# intercom
104ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
105
106# lmbench
107ac_cv_uint=${ac_cv_unit=yes}
108
109# D-BUS
110ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
111
112# mono
113cv_mono_sizeof_sunpath=108
114mono_cv_sizeof_sunpath=108
115mono_cv_uscore=${mono_cv_uscore=no}