summaryrefslogtreecommitdiffstats
path: root/meta/site/sh-common
AgeCommit message (Collapse)Author
2023-02-19site: remove glib site valuesRoss Burton
GLib 1.x is incredibly obsolete and GLib 2.x is built using Meson not autotools, so we can remove the GLib entries from the site files. Also fix a few copy/paste typos where glib_ was used incorrectly, for example: ac_cv_sizeof_ptrdiff_t=${glib_cv_sizeof_ptrdiff_t=4} The glib_cv_ should be ac_cv_. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23site: Drop ORBit2 relared cached variablesKhem Raj
ORBit2 is long gone Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-09-23site: Drop caching libIDL_cv_long_long_formatKhem Raj
recipe for libidl has long been deleted Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-16site: Remove sctp related configsPau Espin Pedrol
They are preventing autotools from checking netinet/sctp.h existence successfuly which in turn makes configure.ac files with lines similar to this to fail, even if DEPENDS="lksctp-tools" and netinet/sctp.h is clearly available under recipe-sysroot/: AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found)) This is the case for new libosmo-netif versionsi (meta-telephony branch laforge/nightly), which expects netinet/sctp.h to be available if default flag --enable-libsctp is used. Without this patch, do_configure will fail unless following line is used in the recipe: CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'libsctp', 'ac_cv_header_netinet_sctp_h=yes', '',d)}" So removing ac_cv_header_netinet_sctp_h would be enough, but I couldn't find any good information on why the other 2 variables were set in site config files, hence no good reason to keep them. Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-12-09site: consolidate ac_cv_func_mmap_fixed_mapped definitionsRoss Burton
This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the worst autoconf macros to exist. Apart from being a runtime test which silently claims that mmap() is broken when cross-compiling, this is basically to verify that mmap() actually works, because SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working mmap(). common-glibc already has an assignment, so add a corresponding assignment to common-musl and remove it from the machine-specific files. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20site: Move rsync_cv_HAVE_C99_VSNPRINTF to common-linuxKhem Raj
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. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-20siteinfo: Move apr configure cache to common-linuxKhem Raj
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. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-20site/sh-common: Add missing caches variables to build glib-2.32Khem Raj
This is on the same tone as done for other architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-08-04Various siteinfo: Drop rp-pppoe variablesTom Rini
These variables were wrong on big-endian machines and this recipe is now handled in meta-oe (along with the siteinfo files). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copyTom Rini
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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various siteinfo files: Consolidate ac_cv_func_getaddrinfoTom Rini
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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various site files: Drop monotone/monoTom Rini
Not in oe-core nor meta-oe and based on oe.dev, possibly incomplete. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04sudo: Drop sudo_cv_uid_t_len from site filesTom Rini
We were just setting this to the assumed default. If anything, this belongs in the libc files if we must set it. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini
These functions are determined by the C library so move them to common-glibc and common-uclibc Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move general realloc/malloc values to common-$libcTom Rini
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). Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain db entries to common-linuxTom Rini
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. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain mysql entries to common-linuxTom Rini
More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain bash entries to common-linuxTom Rini
More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain samba entries to common-linuxTom Rini
Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux Signed-off-by: Tom Rini <tom_rini@mentor.com>
2007-05-27site: Sync some site files with OERichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1791 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21Site file handling update: Instead of one site file per target, allow ↵Richard Purdie
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