Commit Graph

16 Commits

Author SHA1 Message Date
Khem Raj e558b50afc site: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linux
If we do not cache is then configure in distcc will try
to compute it using AC_TRY_RUN which will give some result
on x86-64 host when target is x86-64 but it generally is wrong
for cross compilation. We therefore cache it for all linux
targets.

This issue is highlighted by clang when compiling distcc
where it figures that its cross compiling and therefore triggers
it to include its own implementation of snprintf() which does
not go well with clang, gcc compiles it fine thats why we
never saw the problem thus far.

(From OE-Core rev: e940dfcb5ad4017e5fe616c583253439603656db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-20 10:28:47 +01:00
Khem Raj 624ca6aa50 siteinfo: Move apr configure cache to common-linux
There are variables which are used in all target specific
sitefiles. Move it to common-linux, so it can be effective
for all targets. Usually they will vary based upon libc
e.g. musl does not have process shared mutexes so apr_cv_process_shared_works
should be no for it. For glibc though it should be yes but
existing behaviour is to use 'no' so its left as it is.

(From OE-Core rev: 2c5135f2106842e1b5ef880a08dbd4e50c9e0d04)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-20 23:12:31 +00:00
Khem Raj 21d5cf88e5 site/sh-common: Add missing caches variables to build glib-2.32
This is on the same tone as done for other architectures

(From OE-Core rev: 7bdc3a07d3212d7fc820c77ba509e476cc7aa672)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-21 09:59:03 +01:00
Tom Rini 735e7081be Various siteinfo: Drop rp-pppoe variables
These variables were wrong on big-endian machines and this recipe is now
handled in meta-oe (along with the siteinfo files).

(From OE-Core rev: 6129df9588c96ca710c585f5ed400ac551b61055)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:37 +01:00
Tom Rini 2a5dab5a56 Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copy
Providing va_copy / __va_copy come down to the libc.  va_val_copy
comes down to the architecture.  Unfortunately it's assumed true
if not set, so we need to make sure to set this to false for
x86_64 where it is not true.

(From OE-Core rev: a54a803ed89969c2416bfa9d911fe4cf558e2391)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini 4ac307ec40 Various siteinfo files: Consolidate ac_cv_func_getaddrinfo
This is a libc feature, move there.  Drop the ipsec-tools specific
test as ipsec-tools (a) assumes fine on cross-compile and (b) doesn't
support buggy getaddrinfo now.

(From OE-Core rev: bca50524921a870bf774e23973a834f20701f146)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini c8f8ca9e46 Various site files: Drop monotone/mono
Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete.

(From OE-Core rev: dc678e674ba9c56feb150bf06829a44fbe4e2b5a)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:36 +01:00
Tom Rini 92ed28ccc7 sudo: Drop sudo_cv_uid_t_len from site files
We were just setting this to the assumed default.  If anything, this
belongs in the libc files if we must set it.

(From OE-Core rev: ae054a823909c5ebf03fec962844a213dc3fb8e1)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-04 15:04:35 +01:00
Tom Rini 4193d0e542 siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libc
These functions are determined by the C library so move them to common-glibc
and common-uclibc

(From OE-Core rev: 9226635ab28b5ca44ec04931d27c5c3313d56e61)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Tom Rini 85a49c9ed6 siteinfo: Move general realloc/malloc values to common-$libc
These are tests for glibc behavior which we have enabled in uclibc.
Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests
will need to be changed (but I believe this would also entail massive
patching to the rest of userspace so this should be unlikely).

(From OE-Core rev: cab512d7ee50fb55b9412c0e1a52a589de09e0a7)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Tom Rini 9bb070ce40 siteinfo: Move certain db entries to common-linux
Note that we had a number of unused and ignored settings wrt mutex
support.  These have been dropped as they weren't being used and
implied some odd things to boot.  This is also a partial resync with
oe.dev which had some, but not all of these changes.

(From OE-Core rev: 7cc52fca921259e331a34263d8113e29b9e0dee9)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Tom Rini 3944034936 siteinfo: Move certain mysql entries to common-linux
More re-sync with oe.dev

(From OE-Core rev: a1ce2e6039652c94ba34bfe7343a4424a1cc133b)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:44 +01:00
Tom Rini b39491ef8c siteinfo: Move certain bash entries to common-linux
More re-sync with oe.dev

(From OE-Core rev: 75aa86f4800a8344e1dfe721a729fdd281e26a20)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:43 +01:00
Tom Rini 07db8ce627 siteinfo: Move certain samba entries to common-linux
Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux

(From OE-Core rev: bf1e4b1f4952d2dd8e4acd6babb96b3c65999df0)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27 12:02:43 +01:00
Richard Purdie af134e38ba site: Sync some site files with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1791 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-05-27 22:37:54 +00:00
Richard Purdie 634232e696 Site file handling update: Instead of one site file per target, allow entries to be shared. Handled through siteinfo.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@931 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 14:34:40 +00:00