add sitefiles similar to the ones from openembedded
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Oct 2006 15:25:58 +0000 (15:25 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 19 Oct 2006 15:25:58 +0000 (15:25 +0000)
SVN-Revision: 5232

include/package.mk
include/site/armeb-linux-uclibc [new file with mode: 0644]
include/site/i386-linux-uclibc [new file with mode: 0644]
include/site/linux-uclibc [new file with mode: 0644]
include/site/mips-linux-uclibc [new file with mode: 0644]
include/site/mipsel-linux-uclibc [new file with mode: 0644]
include/site/powerpc-linux-uclibc [new file with mode: 0644]
package/libpcap/Makefile

index b4f16e2d3ac90cadefb42fa1b3a6cafcc81a1681..2d4e703f3b6a9e25dcb1669496790564c66e57e5 100644 (file)
@@ -14,6 +14,8 @@ include $(INCLUDE_DIR)/prereq.mk
 include $(INCLUDE_DIR)/host.mk
 include $(INCLUDE_DIR)/unpack.mk
 
+export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME)
+
 define shvar
 V_$(subst .,_,$(subst -,_,$(subst /,_,$(1))))
 endef
diff --git a/include/site/armeb-linux-uclibc b/include/site/armeb-linux-uclibc
new file mode 100644 (file)
index 0000000..f78e9f2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
+
+ac_cv_sizeof_int=4
+ac_cv_sizeof___int64=0
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=4
+ac_cv_sizeof_long_int=4
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_size_t=4
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_off_t=8
+
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/i386-linux-uclibc b/include/site/i386-linux-uclibc
new file mode 100644 (file)
index 0000000..552f4b6
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
+
+ac_cv_sizeof_int=4
+ac_cv_sizeof___int64=0
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=4
+ac_cv_sizeof_long_int=4
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_size_t=4
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_off_t=8
+
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/linux-uclibc b/include/site/linux-uclibc
new file mode 100644 (file)
index 0000000..74ffdf0
--- /dev/null
@@ -0,0 +1,60 @@
+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_func__exit=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_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_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_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___va_copy=no
+ac_cv_func_vsnprintf=yes
+ac_cv_have_accrights_in_msghdr=no
+ac_cv_have_broken_snprintf=no
+ac_cv_have_broken_snprintf=np
+ac_cv_have_control_in_msghdr=yes
+ac_cv_have_decl_sys_siglist=yes
+ac_cv_have_openpty_ctty_bug=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=no
+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_regexec_segfault_emptystr=no
+ac_cv_sctp=no
+ac_cv_sys_restartable_syscalls=yes
+ac_cv_time_r_type=POSIX
+ac_cv_uchar=no
+ac_cv_uint=yes
+ac_cv_ulong=yes
+ac_cv_ushort=yes
+ac_cv_va_copy=no
+ac_cv_va_val_copy=yes
diff --git a/include/site/mips-linux-uclibc b/include/site/mips-linux-uclibc
new file mode 100644 (file)
index 0000000..f78e9f2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
+
+ac_cv_sizeof_int=4
+ac_cv_sizeof___int64=0
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=4
+ac_cv_sizeof_long_int=4
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_size_t=4
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_off_t=8
+
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/mipsel-linux-uclibc b/include/site/mipsel-linux-uclibc
new file mode 100644 (file)
index 0000000..552f4b6
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+ac_cv_c_littleendian=${ac_cv_c_littleendian=yes}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=no}
+
+ac_cv_sizeof_int=4
+ac_cv_sizeof___int64=0
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=4
+ac_cv_sizeof_long_int=4
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_size_t=4
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_off_t=8
+
+. $TOPDIR/include/site/linux-uclibc
+
diff --git a/include/site/powerpc-linux-uclibc b/include/site/powerpc-linux-uclibc
new file mode 100644 (file)
index 0000000..f78e9f2
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+ac_cv_c_littleendian=${ac_cv_c_littleendian=no}
+ac_cv_c_bigendian=${ac_cv_c_bigendian=yes}
+
+ac_cv_sizeof_int=4
+ac_cv_sizeof___int64=0
+ac_cv_sizeof_char=1
+ac_cv_sizeof_int=4
+ac_cv_sizeof_long=4
+ac_cv_sizeof_long_int=4
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_short=2
+ac_cv_sizeof_short_int=2
+ac_cv_sizeof_size_t=4
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_off_t=8
+
+. $TOPDIR/include/site/linux-uclibc
+
index f8de02d5599c65a4873356993c49e000754c79dc..93a090d3d6bb0682f8c0bcae6e877039adc62467 100644 (file)
@@ -38,7 +38,6 @@ define Build/Configure
                CFLAGS="$(TARGET_CFLAGS)" \
                CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
                LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
-               ac_cv_linux_vers= \
                ./configure \
                        --target=$(GNU_TARGET_NAME) \
                        --host=$(GNU_TARGET_NAME) \