From f9e805e6a3083551b18cae36e74c9b7e1458cc7b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 19 Oct 2006 15:25:58 +0000 Subject: [PATCH] add sitefiles similar to the ones from openembedded SVN-Revision: 5232 --- include/package.mk | 2 ++ include/site/armeb-linux-uclibc | 19 ++++++++++ include/site/i386-linux-uclibc | 19 ++++++++++ include/site/linux-uclibc | 60 +++++++++++++++++++++++++++++++ include/site/mips-linux-uclibc | 19 ++++++++++ include/site/mipsel-linux-uclibc | 19 ++++++++++ include/site/powerpc-linux-uclibc | 19 ++++++++++ package/libpcap/Makefile | 1 - 8 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 include/site/armeb-linux-uclibc create mode 100644 include/site/i386-linux-uclibc create mode 100644 include/site/linux-uclibc create mode 100644 include/site/mips-linux-uclibc create mode 100644 include/site/mipsel-linux-uclibc create mode 100644 include/site/powerpc-linux-uclibc diff --git a/include/package.mk b/include/package.mk index b4f16e2d3a..2d4e703f3b 100644 --- a/include/package.mk +++ b/include/package.mk @@ -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 index 0000000000..f78e9f2ead --- /dev/null +++ b/include/site/armeb-linux-uclibc @@ -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 index 0000000000..552f4b648d --- /dev/null +++ b/include/site/i386-linux-uclibc @@ -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 index 0000000000..74ffdf0648 --- /dev/null +++ b/include/site/linux-uclibc @@ -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 index 0000000000..f78e9f2ead --- /dev/null +++ b/include/site/mips-linux-uclibc @@ -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 index 0000000000..552f4b648d --- /dev/null +++ b/include/site/mipsel-linux-uclibc @@ -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 index 0000000000..f78e9f2ead --- /dev/null +++ b/include/site/powerpc-linux-uclibc @@ -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/package/libpcap/Makefile b/package/libpcap/Makefile index f8de02d559..93a090d3d6 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -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) \