From 806d06e86770e30731036c3fa5f9d664fba96a72 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 25 Apr 2014 14:55:57 +0200 Subject: [PATCH] uclibc: reintroduced the shared config.cache file which was moved from architecture/share Note: Currently this is a copy of the glibc config.cache because this was formerly injected from the frameworks for all builds! TODO: All the entries need to be checked on a native build! --- base/uclibc/parse-config | 19 ++++++++ base/uclibc/share/config.cache | 82 ++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 base/uclibc/parse-config create mode 100644 base/uclibc/share/config.cache diff --git a/base/uclibc/parse-config b/base/uclibc/parse-config new file mode 100644 index 000000000..10f26a9b1 --- /dev/null +++ b/base/uclibc/parse-config @@ -0,0 +1,19 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../uclibc/parse-config +# Copyright (C) 2014 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +if [ "$SDECFG_LIBC" == "uclibc" ]; then + if atstage cross; then + var_append configcachefile ' ' "$base/package/*/uclibc/share/config.cache" + fi +fi diff --git a/base/uclibc/share/config.cache b/base/uclibc/share/config.cache new file mode 100644 index 000000000..feee0e65f --- /dev/null +++ b/base/uclibc/share/config.cache @@ -0,0 +1,82 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../uclibc/share/config.cache +# Copyright (C) 2008 - 2014 The OpenSDE Project +# Copyright (C) 2004 - 2005 The T2 SDE Project +# Copyright (C) 1998 - 2003 Clifford Wolf +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# Handwritten config.cache entries (for cross compilation) + +# NOTE: Currently this is a copy of the glibc config.cache because this +# was formerly injected from the frameworks for all builds! +# TODO: All the entries need to be checked on a native build! + +ac_cv_func_closedir_void=no +ac_cv_func_fnmatch_works=yes +ac_cv_func_getpgrp_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setrlimit=no +ac_cv_func_setvbuf_reversed=no +compat_cv_func_makedev_three_args=no + +ac_cv_header_stdc=yes +ac_cv_header_ulimit_h=yes + +ac_cv_sys_restartable_syscalls=yes + +bash_cv_func_sigsetjmp=missing +bash_cv_func_strcoll_broken=no +bash_cv_must_reinstall_sighandlers=yes +bash_cv_have_mbstate_t=yes + +ksh_cv_dev_fd=no +ksh_cv_func_times_ok=yes +ksh_cv_pgrp_check=posix +ksh_cv_rlim_check=long + +vi_cv_sprintf_count=yes + +ac_cv_lib_intl=no +ac_cv_file___dev_urandom_=yes + +sudo_cv_ebcdic=no +utils_cv_sys_open_max=1021 + +am_cv_func_working_getline=yes +## needed for glibc-2.9 cross compilation +libc_cv_forced_unwind=yes +libc_cv_c_cleanup=yes +libc_cv_gcc_exceptions=yes +## for coreutils 7.4 cross compilation +## http://bugs.gentoo.org/show_bug.cgi?id=269256 +gl_cv_func_re_compile_pattern_working=yes +gl_cv_func_rename_trailing_dest_slash_bug=no +gl_cv_func_rename_trailing_slash_bug=no +## for findutils 4.4 +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_realloc_0_nonnull=yes +ac_cv_func_calloc_0_nonnull=yes +gl_cv_header_working_fcntl_h=yes +gl_cv_func_fflush_stdin=yes +ac_cv_func_fnmatch_gnu=yes +gl_cv_func_getcwd_null=yes +gl_cv_func_gnu_getopt=yes +gl_cv_func_wcwidth_works=yes +## for m4 1.4.13 +gl_cv_func_mbrtowc_incomplete_state=yes +gl_cv_func_mbrtowc_sanitycheck=yes +gl_cv_func_mbrtowc_null_arg=yes +gl_cv_func_mbrtowc_retval=yes +gl_cv_func_mbrtowc_nul_retval=yes +gl_cv_func_btowc_eof=yes +gl_cv_func_wcrtomb_retval=yes +gl_cv_func_wctob_works=yes