summaryrefslogtreecommitdiff
path: root/include/site
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-01-08 01:49:11 +0000
committerNicolas Thill <nico@openwrt.org>2009-01-08 01:49:11 +0000
commita3edea1b9136b05edfed95b58ba33a9ff46b6587 (patch)
treed770d58fd59fc61cac796defdba965d6e1af5f71 /include/site
parent001fd4384175d67eef5554613e6933ddb3c70585 (diff)
downloadmtk-20170518-a3edea1b9136b05edfed95b58ba33a9ff46b6587.zip
mtk-20170518-a3edea1b9136b05edfed95b58ba33a9ff46b6587.tar.gz
mtk-20170518-a3edea1b9136b05edfed95b58ba33a9ff46b6587.tar.bz2
add support for alternative C libraries (currently only glibc/eglibc) other (related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc)
SVN-Revision: 13931
Diffstat (limited to 'include/site')
-rw-r--r--include/site/arm-openwrt-linux-gnu5
-rw-r--r--include/site/arm-openwrt-linux-gnueabi5
-rw-r--r--include/site/arm-openwrt-linux-uclibc (renamed from include/site/arm-linux-uclibc)0
-rw-r--r--include/site/arm-openwrt-linux-uclibc-gnueabi (renamed from include/site/i386-linux-uclibc)2
-rw-r--r--include/site/armeb-openwrt-linux-gnu5
-rw-r--r--include/site/armeb-openwrt-linux-gnueabi5
-rw-r--r--include/site/armeb-openwrt-linux-uclibc (renamed from include/site/armeb-linux-uclibc)0
-rw-r--r--include/site/armeb-openwrt-linux-uclibc-gnueabi5
-rw-r--r--include/site/avr32-openwrt-linux-gnu5
-rw-r--r--include/site/avr32-openwrt-linux-uclibc (renamed from include/site/avr32-linux-uclibc)0
-rw-r--r--include/site/cris-openwrt-linux-gnu5
-rw-r--r--include/site/cris-openwrt-linux-uclibc (renamed from include/site/cris-linux-uclibc)0
-rw-r--r--include/site/i486-linux (renamed from include/site/i386-linux)1
-rw-r--r--include/site/i486-openwrt-linux-gnu5
-rw-r--r--include/site/i486-openwrt-linux-uclibc5
-rw-r--r--include/site/i686-openwrt-linux-gnu5
-rw-r--r--include/site/i686-openwrt-linux-uclibc (renamed from include/site/i686-linux-uclibc)0
-rw-r--r--include/site/linux-gnu71
-rw-r--r--include/site/mips-openwrt-linux-gnu5
-rw-r--r--include/site/mips-openwrt-linux-uclibc (renamed from include/site/mips-linux-uclibc)0
-rw-r--r--include/site/mipsel-openwrt-linux-gnu5
-rw-r--r--include/site/mipsel-openwrt-linux-uclibc (renamed from include/site/mipsel-linux-uclibc)0
-rw-r--r--include/site/mipsel-openwrt-linux2.4-uclibc (renamed from include/site/mipsel-linux2.4-uclibc)0
-rw-r--r--include/site/powerpc-openwrt-linux-gnu5
-rw-r--r--include/site/powerpc-openwrt-linux-uclibc (renamed from include/site/powerpc-linux-uclibc)0
-rw-r--r--include/site/x86_64-openwrt-linux-gnu5
-rw-r--r--include/site/x86_64-openwrt-linux-uclibc (renamed from include/site/x86_64-linux-uclibc)0
27 files changed, 142 insertions, 2 deletions
diff --git a/include/site/arm-openwrt-linux-gnu b/include/site/arm-openwrt-linux-gnu
new file mode 100644
index 0000000..efb7245
--- /dev/null
+++ b/include/site/arm-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/arm-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/arm-openwrt-linux-gnueabi b/include/site/arm-openwrt-linux-gnueabi
new file mode 100644
index 0000000..efb7245
--- /dev/null
+++ b/include/site/arm-openwrt-linux-gnueabi
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/arm-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/arm-linux-uclibc b/include/site/arm-openwrt-linux-uclibc
index f17d96a..f17d96a 100644
--- a/include/site/arm-linux-uclibc
+++ b/include/site/arm-openwrt-linux-uclibc
diff --git a/include/site/i386-linux-uclibc b/include/site/arm-openwrt-linux-uclibc-gnueabi
index 5cccb24..f17d96a 100644
--- a/include/site/i386-linux-uclibc
+++ b/include/site/arm-openwrt-linux-uclibc-gnueabi
@@ -1,5 +1,5 @@
#!/bin/sh
-. $TOPDIR/include/site/i386-linux
+. $TOPDIR/include/site/arm-linux
. $TOPDIR/include/site/linux-uclibc
diff --git a/include/site/armeb-openwrt-linux-gnu b/include/site/armeb-openwrt-linux-gnu
new file mode 100644
index 0000000..41129b0
--- /dev/null
+++ b/include/site/armeb-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/armeb-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/armeb-openwrt-linux-gnueabi b/include/site/armeb-openwrt-linux-gnueabi
new file mode 100644
index 0000000..41129b0
--- /dev/null
+++ b/include/site/armeb-openwrt-linux-gnueabi
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/armeb-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/armeb-linux-uclibc b/include/site/armeb-openwrt-linux-uclibc
index dd64a9c..dd64a9c 100644
--- a/include/site/armeb-linux-uclibc
+++ b/include/site/armeb-openwrt-linux-uclibc
diff --git a/include/site/armeb-openwrt-linux-uclibc-gnueabi b/include/site/armeb-openwrt-linux-uclibc-gnueabi
new file mode 100644
index 0000000..dd64a9c
--- /dev/null
+++ b/include/site/armeb-openwrt-linux-uclibc-gnueabi
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/armeb-linux
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/avr32-openwrt-linux-gnu b/include/site/avr32-openwrt-linux-gnu
new file mode 100644
index 0000000..87cfe7d
--- /dev/null
+++ b/include/site/avr32-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/avr32-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/avr32-linux-uclibc b/include/site/avr32-openwrt-linux-uclibc
index 9fe045f..9fe045f 100644
--- a/include/site/avr32-linux-uclibc
+++ b/include/site/avr32-openwrt-linux-uclibc
diff --git a/include/site/cris-openwrt-linux-gnu b/include/site/cris-openwrt-linux-gnu
new file mode 100644
index 0000000..c35ddcd
--- /dev/null
+++ b/include/site/cris-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/cris-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/cris-linux-uclibc b/include/site/cris-openwrt-linux-uclibc
index 87346ee..87346ee 100644
--- a/include/site/cris-linux-uclibc
+++ b/include/site/cris-openwrt-linux-uclibc
diff --git a/include/site/i386-linux b/include/site/i486-linux
index 7c5773d..d22ec20 100644
--- a/include/site/i386-linux
+++ b/include/site/i486-linux
@@ -23,6 +23,5 @@ ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=4
-ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=4
diff --git a/include/site/i486-openwrt-linux-gnu b/include/site/i486-openwrt-linux-gnu
new file mode 100644
index 0000000..77bbe24
--- /dev/null
+++ b/include/site/i486-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/i486-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/i486-openwrt-linux-uclibc b/include/site/i486-openwrt-linux-uclibc
new file mode 100644
index 0000000..4d796d6
--- /dev/null
+++ b/include/site/i486-openwrt-linux-uclibc
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/i486-linux
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/i686-openwrt-linux-gnu b/include/site/i686-openwrt-linux-gnu
new file mode 100644
index 0000000..6c9c929
--- /dev/null
+++ b/include/site/i686-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/i686-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/i686-linux-uclibc b/include/site/i686-openwrt-linux-uclibc
index ef073da..ef073da 100644
--- a/include/site/i686-linux-uclibc
+++ b/include/site/i686-openwrt-linux-uclibc
diff --git a/include/site/linux-gnu b/include/site/linux-gnu
new file mode 100644
index 0000000..5640e2a
--- /dev/null
+++ b/include/site/linux-gnu
@@ -0,0 +1,71 @@
+ac_atomic_add=yes
+ac_atomic_sub=yes
+ac_cv_c_gettext_without_libintl=yes
+ac_cv_c_long_double=no
+ac_cv_conv_longlong_to_float=yes
+ac_cv_file__dev_zero=yes
+ac_cv_func___va_copy=no
+ac_cv_func__exit=yes
+ac_cv_func_bcopy=yes
+ac_cv_func_bzero=yes
+ac_cv_func_bcmp=yes
+ac_cv_func_fchmod=yes
+ac_cv_func_getaddrinfo=yes
+ac_cv_func_getcwd=yes
+ac_cv_func_getdomainname=yes
+ac_cv_func_getpgrp_void=yes
+ac_cv_func_getpwuid_r=yes
+ac_cv_func_index=yes
+ac_cv_func_lstat_dereferences_slashed_symlink=yes
+ac_cv_func_lstat_empty_string_bug=no
+ac_cv_func_lstat=yes
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_malloc_works=yes
+ac_cv_func_memcmp_clean=yes
+ac_cv_func_memcmp_working=yes
+ac_cv_func_posix_getgrgid_r=yes
+ac_cv_func_posix_getpwuid_r=yes
+ac_cv_func_pthread_key_delete=yes
+ac_cv_func_realloc_0_nonnull=yes
+ac_cv_func_realloc_works=yes
+ac_cv_func_rename=yes
+ac_cv_func_rindex=yes
+ac_cv_func_setlocale=yes
+ac_cv_func_setpgrp_void=yes
+ac_cv_func_setresuid=no
+ac_cv_func_setvbuf_reversed=no
+ac_cv_func_stat_empty_string_bug=no
+ac_cv_func_stat_ignores_trailing_slash=no
+ac_cv_func_strerror=yes
+ac_cv_func_strftime=yes
+ac_cv_func_utimes=yes
+ac_cv_func___adjtimex=yes
+ac_cv_func_va_copy=no
+ac_cv_func_vsnprintf=yes
+ac_cv_have_accrights_in_msghdr=no
+ac_cv_have_broken_snprintf=no
+ac_cv_have_control_in_msghdr=yes
+ac_cv_have_decl_sys_siglist=no
+ac_cv_have_openpty_ctty_bug=yes
+ac_cv_have_space_d_name_in_struct_dirent=yes
+ac_cv_header_netinet_sctp_h=no
+ac_cv_header_netinet_sctp_uio_h=no
+ac_cv_int64_t=yes
+ac_cv_lbl_unaligned_fail=no
+ac_cv_linux_kernel_pppoe=yes
+ac_cv_linux_vers=2
+ac_cv_pack_bitfields_reversed=yes
+ac_cv_path_LDCONFIG=
+ac_cv_regexec_segfault_emptystr=no
+ac_cv_sctp=no
+ac_cv_sys_restartable_syscalls=yes
+ac_cv_time_r_type=POSIX
+ac_cv_type_suseconds_t=yes
+ac_cv_uchar=no
+ac_cv_uint=yes
+ac_cv_uint64_t=yes
+ac_cv_ulong=yes
+ac_cv_ushort=yes
+ac_cv_va_copy=C99
+ac_cv_va_val_copy=yes
+as_cv_unaligned_access=yes
diff --git a/include/site/mips-openwrt-linux-gnu b/include/site/mips-openwrt-linux-gnu
new file mode 100644
index 0000000..a70e9a7
--- /dev/null
+++ b/include/site/mips-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/mips-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/mips-linux-uclibc b/include/site/mips-openwrt-linux-uclibc
index 76a1b28..76a1b28 100644
--- a/include/site/mips-linux-uclibc
+++ b/include/site/mips-openwrt-linux-uclibc
diff --git a/include/site/mipsel-openwrt-linux-gnu b/include/site/mipsel-openwrt-linux-gnu
new file mode 100644
index 0000000..fa33e56
--- /dev/null
+++ b/include/site/mipsel-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/mipsel-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/mipsel-linux-uclibc b/include/site/mipsel-openwrt-linux-uclibc
index b53d4d4..b53d4d4 100644
--- a/include/site/mipsel-linux-uclibc
+++ b/include/site/mipsel-openwrt-linux-uclibc
diff --git a/include/site/mipsel-linux2.4-uclibc b/include/site/mipsel-openwrt-linux2.4-uclibc
index 3412411..3412411 100644
--- a/include/site/mipsel-linux2.4-uclibc
+++ b/include/site/mipsel-openwrt-linux2.4-uclibc
diff --git a/include/site/powerpc-openwrt-linux-gnu b/include/site/powerpc-openwrt-linux-gnu
new file mode 100644
index 0000000..bafb5df
--- /dev/null
+++ b/include/site/powerpc-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/powerpc-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/powerpc-linux-uclibc b/include/site/powerpc-openwrt-linux-uclibc
index bb48ee2..bb48ee2 100644
--- a/include/site/powerpc-linux-uclibc
+++ b/include/site/powerpc-openwrt-linux-uclibc
diff --git a/include/site/x86_64-openwrt-linux-gnu b/include/site/x86_64-openwrt-linux-gnu
new file mode 100644
index 0000000..6022584
--- /dev/null
+++ b/include/site/x86_64-openwrt-linux-gnu
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. $TOPDIR/include/site/x86_64-linux
+. $TOPDIR/include/site/linux-gnu
+
diff --git a/include/site/x86_64-linux-uclibc b/include/site/x86_64-openwrt-linux-uclibc
index cc351df..cc351df 100644
--- a/include/site/x86_64-linux-uclibc
+++ b/include/site/x86_64-openwrt-linux-uclibc