summaryrefslogtreecommitdiff
path: root/meta/site
AgeCommit message (Collapse)AuthorFiles
2013-12-14site: add xorg_cv_malloc0_returns_nullRoss Burton2
util-macros 1.18 will look in the autoconf cache for this value so instead of using overrides in xorg-lib-common, use the per-libc site cache. Alert readers may notice that the site file claims that glibc returns NULL from malloc(), when the previous change (e628c8aba0189de30de2833882b9999ff3b6547a) claimed that it didn't. The previous change was incorrect, whilst malloc(0) returns a valid pointer, realloc(p,0) does in fact return NULL, so the Xlib wrapper functions are needed. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-09-30native: Use a native site file and ensure the correct sed is usedRichard Purdie1
native recipes were not using the site files. There are some things we need to correct such as not using the path to sed-native. This allows us to deploy settings globally for all recipes rather than hacking around then in individual recipes as libtool-native used to for sed. This fixes a regression introduced by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=32edeb391f2107bb66b361cdcd4b8d4447731c33 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-26gcc/libtool/perl: Fix various path to sed-native problemsRichard Purdie1
If sed-native is built before these programs, hardcoded paths to sed-native can end up in scripts and other parts of the system which may cause issues if they are later used from sstate and sed-native is not installed. To avoid this, this patch changes the global site configuration to specify that plain "sed" is fine to be used. We need to spell this out for gcc since it doesn't see the site files since we don't autoreconf it. We can remove the values from libtool. We tell perl to use "/bin/sed" since it requires a path and the system sed should be just fine for it. [YOCTO #4971] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes workvictor1
Working with the meta-ros project we detected that the ROS nodes didn't launch properly the reason was that by default apr_cv_mutex_recursive in apr is set to no and this leads to the APRENOTIMPL return value of apr_thread_mutex_create in thread_mutex.c when APR_THREAD_MUTEX_NESTED is requested via flags. Added CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes" to sources/openembedded-core/meta/recipes-support/apr/apr_1.4.6.bb to fix this issue. It has also been removed the mention of this variable in meta/site/powerpc32-linux. Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-13site: add more alignment values for at-spi2-coreRoss Burton5
x86 and x86_64 values were added in 8c46ec. The x86-64 values were missing an entry, add MIPS and PowerPC values from myself in qemu, and ARM values from Martin Jansa. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-05-30powerpc64-linux: Update cached autoconf value for apr on powerpc64Zhenhua Luo1
Fix below apr configure issue of powerpc64 targets. | configure:27173: checking whether TCP_NODELAY and TCP_CORK can both be | enabled | configure:27179: error: in `/home/yocto/workspace/sdk-devel/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/apr/1.4.6-r2/apr-1.4.6': | configure:27181: error: cannot run test program while cross compiling Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-05site/common-uclibc: add predefined configure vars for coreutilsHenning Heinold1
* this sets some configure vars which will be guessed false in cross-compile case for uclibc Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04site: add endianness information for libmemcachedMarcin Juszkiewicz2
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-13site/x32-linux: Specify double alignmentRichard Purdie1
Double alignment is 8 bytes on x32 but it is defaulting to 4 currently. This leads to various issues and fontconfig fails to build due to the mismatch triggering assert failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21site: add x86-32/64 alignment values for at-spi2-coreRoss Burton2
This package isn't yet in oe-core, but GTK+ 3.6 depends on it so will be here at some point. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-09site/common: deactivate a runtime check for ipv6-support in python >=2.7.1 ↵Lukas Bulwahn1
that fails when cross-compiling In configure there is a runtime check to determine buggy getaddrinfo and as we are cross-compiling this check goes wrong. If ipv6 is enabled in python, the failed test is reported as fatal error with the message Fatal: You must get working getaddrinfo() function. Setting ac_cv_buggy_getaddrinfo=no deactivates the runtime check and allows to compile python with ipv6 enabled. This commit was derived from the commit 700b75e7661062aa93cf81205b78c8bf7609922d in the Classic OpenEmbedded Development Tree. Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linuxRoy.Li2
When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited is always set to yes in cross compiling environment. This flag is intended to think the socket, returned from accept(), inherit file status flags such as O_NONBLOCK from the listening socket, but socket never inherits file status from the listening socket on Linux (more information to man accept). This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux to site/common-linux. If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the same ip address(URL) with Apache web server via http(port 80) and https(port443) without redirection Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-02site/common-linux: fix incorrect size of pid_t for aprPaul Eggleton1
If cross-compiling, apr's configure script assumes that pid_t is 64-bit which is wrong - it appears that 32-bit is a safe assumption for Linux no matter what the architecture, so use that instead by default. This fixes Apache writing garbage to its pid file when built using apr produced from this recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15site/x86_64-linux-uclibc: Cache definitions of guint32/guint64Khem Raj1
Without this glib 2.32.x wont build. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20site/sh-common: Add missing caches variables to build glib-2.32Khem Raj1
This is on the same tone as done for other architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-20site: Add mips64 eglibc and uclibc site filesKhem Raj4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-06site/arm-common: alignment values for guin32, guin64 and unsigned longTomas Frydrych1
These are required to build recent versions of glib-2.0
2012-05-06site/powerpc-common: alignment values for guin32, guin64 and unsigned longSaul Wold1
These are required to build recent versions of glib-2.0 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-06site/mips-common: alignment values for guin32, guin64 and unsigned longSaul Wold1
These are required to build recent versions of glib-2.0 Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-03site/ix86-common, site/x86_64-linux: alignment values for guin32, guin64 and ↵Martin Jansa2
unsigned long These are required to build recent versions of glib-2.0 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26evolation-data-server: Rename from eds-dbusSaul Wold5
[YOCTO #2316] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-10powerpc64-linux: Update cached autoconf values for libpcap on powerpc64Matthew McClintock1
Without this fix, libpcap will fail to build on powerpc64 Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-01-19site/ix86-common: fix an errorNitin A Kamble1
Fixed this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_int=1} as this line ac_cv_sizeof_unsigned_char=${ac_cv_sizeof_unsigned_char=1} This issue was causing guile recipe to compile-fail for x86 target. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-01-10Revert "site/common-uclibc: Cache gl_cv_func_wcwidth_works"Richard Purdie1
This reverts commit a471d342424502de48f28c4f8297d490f2cd1443.
2012-01-09site/common-uclibc: Cache gl_cv_func_wcwidth_worksKhem Raj1
Its not computed properly during configure and we configure uclibc with widechar support anyway so its fine to cache it. It fixes the errors like | In file included from ./stdio.h:31:0, | from fpurge.h:20, | from fpurge.c:20: | /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/sysroots/qemux86/usr/include/stdio.h:662:40: error: expected declaration specifiers or '...' before '(' token | make[4]: *** [fpurge.o] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-12-12siteinfo: create a new siteinfo for x32-linuxH.J. Lu1
X32 has different sizes for many types: 1. off_t and ino_t are 8 byte, instead of 4 byte. 2. pthread_mutex_t is 32byte, instead of 24 byte. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
2011-11-24site/x86_64-linux: add cvs config variablesNitin A Kamble1
configure of cvs packages was failing on the meta-toolchain for a x86_64 target. Configure error reported: checking whether printf supports %p... configure: error: cannot run test program while cross compiling This fixes [YOCTO #1781] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-18glib-2.0: fix qsort_t testing for uclibcHenning Heinold2
* instead of disabling the configure test and set it always true use the site files to set it true for glibc/eglibc and false for uclibc * remove the patch ' tested only for uclibc * bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-31python, python-native: upgrade from 2.6.6 to 2.7.2Nitin A Kamble1
Rebased these patches to the newer code modified: python-native/nohostlibs.patch modified: python/01-use-proper-tools-for-cross-build.patch modified: python/06-avoid_usr_lib_termcap_path_in_linking.patch modified: python/06-ctypes-libffi-fix-configure.patch modified: python/multilib.patch Deleted these patches are the are now upstream deleted: python/02-remove-test-for-cross.patch deleted: python/security_issue_2254_fix.patch Added this patch to python-native new file: python-native/multilib.patch Updated site config file for python modified: ../../site/common-linux : add ac_cv_have_long_long_format for python avoid this error in python: Include/pyport.h:243:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG" Updated default python version modified: ../../conf/distro/include/default-versions.inc Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-10-27Give coreutils a chance to build the df utilityJulian Pidancet2
The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-24coreutils: Upgrade recipe 8.12 -> 8.14Khem Raj1
Change in site files is needed since in cross build envrionment the test to check for gl_cv_func_fstatat_zero_flag is a runtime test Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-09-29Add autoconf cache for screen on powerpc64Matthew McClintock1
Screen can not run tests for the target and depends on the aotuconf cache for information about the target system Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-09-07site/x86_64: Add entries to fix conf error on x86_64Zhai Edwin1
Add entries for ashldi3, bswapsi2... to fix autoconf error of grub on x86_64 [YOCTO #1434] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
2011-08-04Various siteinfo: Drop rp-pppoe variablesTom Rini7
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-04siteinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibcTom Rini2
This comes from oe.dev and while at this, drop from powerpc-linux as the common-libc files set them. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04site/common-linux: Add ac_cv_file__dev_zero=yesTom Rini1
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copyTom Rini14
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: Drop enca sectionTom Rini2
As part of re-syncing with oe.dev, these tests aren't needed with the oe.dev recipe of enca now. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04Various siteinfo files: Consolidate ac_cv_func_getaddrinfoTom Rini11
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 Rini9
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-04tcl: Add tcl_cv_api_serial to siteinfoTom Rini1
This comes from oe.dev which had this set for arm-linux only. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-08-04sudo: Drop sudo_cv_uid_t_len from site filesTom Rini8
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: Rework the siteinfo for powerpc to fix uclibc falloutKhem Raj1
I believe that powerpc-linux is now a common file across 32bit/64bit linux for powerpc be it uclibc or glibc. I compared the differences between powerpc-linux-uclibc and powerpc-linux files and it powerpc-linux was more uptodate and all the new stuff it had was needed for uclibc anyway so we do not need to keep exact copy of powerpc-linux as powerpc-linux-uclibc instead we use powerpc-linux for powerpc/uclibc targets. Secondly linux specific files were added in archinfo dictionary which I think logically belongs to targetinfo dictionary therefore moved them to targetinfo now uclibc/powerpc is buildable again Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-07-27siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini17
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 Rini19
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 Rini10
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 Rini10
More re-sync with oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27x86_64-linux siteinfo: Add bash infoTom Rini1
Taken from oe.dev Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-07-27siteinfo: Move certain bash entries to common-linuxTom Rini13
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 Rini8
Part of re-syncing with oe.dev, move samba_cv_HAVE_IFACE_* to common-linux Signed-off-by: Tom Rini <tom_rini@mentor.com>