summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* package.bbclass: Adjust RPM call to use dynamic location for magic filesMark Hatle2011-12-242-2/+2
| | | | | | | | | | The magic file could be installed somewhere else if the system native prefix settings are changed. Adjust the packaging files to compensate for this. (From OE-Core rev: 93c0e9915b5c9bf8b0877c76f89de721adfbfd66) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Change -mno-thumb to -marmKen Werner2011-12-242-4/+4
| | | | | | | | | | | Recent versions of the GCC reject the -mno-thumb option. In order to prevent the compiler from generating code for the Thumb instruction set the -marm switch should be used instead. For details see GNU bug #47930. (From OE-Core rev: 72dc73f5a647ccd38145fd888c109a144f202963) Signed-off-by: Ken Werner <ken.werner@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: explicitly disable kvm support for native without kvm headerPaul Eggleton2011-12-243-3/+3
| | | | | | | | | | | | Addendum to previous fix - instead of just not specifying --enable-kvm, explicitly specify --disable-kvm when building native version and kvm header is unavailable. Fixes reported do_configure failure on earlier CentOS 5.x versions (e.g. 5.4). (From OE-Core rev: a922112e197925db47cf02682c08f3af2bc760b4) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix installation order in feeds with mutiple providers of packagesRichard Purdie2011-12-222-2/+2
| | | | | | | | | | | If two packages were available of differing priority, this would confuse opkg and it was ignoring the dependency in the new dependency ordering code. This changes it not to ignore these cases by setting the badly named 'quiet' parameter accordingly. (From OE-Core rev: c38693f78c968ab5f4bb557c20d1c8c55393ed6b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman-gnome: update SRC_URI to new repoKoen Kooi2011-12-221-2/+2
| | | | | | | | | | | 13:33 < koen> holtmann: any plans to repopulate the connman-gnome git repo on kernel.org? 17:25 < holtmann> koen: We moved that to https://github.com/connectivity/connman-gnome 17:26 < holtmann> Just have not gotten around to delete the other one. (From OE-Core rev: e07704e6d077eeb31b59c93de7743bda32fa3243) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: Update curl info and fix other recipes' typo issuesMei Lei2011-12-221-15/+15
| | | | | | | (From OE-Core rev: a0d1309e196a04917f815bf2447d728b019d3902) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl: Upgrade from 7.22.0 to 7.23.1Mei Lei2011-12-221-2/+2
| | | | | | | (From OE-Core rev: cf4b60ef5665809e8b64d5f02082e119966aa3b9) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Add SRC_URI Checksums for GPLv2Saul Wold2011-12-221-0/+3
| | | | | | | (From OE-Core rev: c1a9304eb8e40c6b34b190d82dad1d6d3499713a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* zypper: add patch from libxml2Saul Wold2011-12-222-1/+30
| | | | | | | | | Due to Augaes adding the libxml2 requirement. (From OE-Core rev: ec7c0fcda076c9ca3ed99d7885cfbac7a91e276b) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-powerpc: set PACKAGE_EXTRA_ARCHSIlya Yanok2011-12-224-5/+7
| | | | | | | | | | | Set PACKAGE_EXTRA_ARCHS for the generic tunes ("powerpc" and "powerpc-nf") thus allowing to use them instead of tuning to the specific CPU. (From OE-Core rev: 5eafbe2d8684ee1c45477bfd69b579af47adccd9) Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image-types: add btrfs as a supported fstypeNitin A Kamble2011-12-221-1/+1
| | | | | | | (From OE-Core rev: 1e270a1854214dff1bde29753a357b9df9e66ad6) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix building on distros with matching binutils versionNitin A Kamble2011-12-224-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | x86_64 opensuse 11.4 has bintuils version 2.21, and when binutils_2.21 recipe is built for x86_64 target then, the invocation of distro gcc fails with errors like this: /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/as: symbol lookup error: /usr/lib64/gcc/x86_64-suse-linux/4.5/.. make[2]: *** [sysinfo.o] Error 1 The issue rootcaused as incompatible LD_LIBRARY_PATH while running the distro gcc. As per Martin Jansa gentoo also sees similar issue with binutils 2.22 recipe. This commit fixes the issue by clearing the LD_LIBRARY_PATH for distro gcc (CC_FOR_BUILD) This Fixes bug: [YOCTO #1833] (From OE-Core rev: be769d948a9c26d55d98fbf38fc0b109edb40c3f) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Don't check "$CC $CFLAGS" for x32 in gmp configureH.J. Lu2011-12-221-14/+10
| | | | | | | | | | | | | | | | | | | There is no need to check "$CC $CFLAGS" for x32 in gmp configure. The way GMP works is that it makes all the ABIs available for the user to pick from based on the target, but the final ABI is selected based on the $ABI variable or if compiler passes the ABI test. The test for x32 ABI is any_x32_testlist="sizeof-long-4" GMP will select x32 ABI only if long is 4byte, which will only be set to 4 by -mx32 passed in "$CC $CFLAGS". (From OE-Core rev: 20ffaee6103a972aaaf64a02dcab2bf342e9f4d4) Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wget: fix a host intrusion issue introduced by adding --with-ssl=openssl.Dexuan Cui2011-12-221-2/+2
| | | | | | | | | | | | | | | | | | | On my x86-64 Ubuntu 11.04, with MACHINE=qemux86, "bitbake wget" fails. The config.log shows: configure:30072: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/distro/dcui/1212/p1/build/tmp/sysroots/qemux86 -o conftest -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldl -lz /usr/lib/libssl.so /usr/lib/libcrypto.so -lz >&5 /usr/lib/libssl.so: could not read symbols: File in wrong format The patch fixes the issue by specifying libssl-prefix. (From OE-Core rev: 5f9851f609f503aec098778ef59c27e5f5dd9579) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* socat: add the latest stable version 1.7.2.0Dexuan Cui2011-12-222-0/+974
| | | | | | | | | | | | | | | | socat is useful for the self-hosted-image work. The original recipe is from OE: http://git.openembedded.org/openembedded/tree/recipes/socat/ and I upgraded it to 1.7.2.0. Thank Koen Kooi <koen@dominion.thruhere.net> for suggesting how to assign the LICENSE field with a proper value. (From OE-Core rev: b1771ff0ad39250678bd53b0ae7543c9365572f5) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking: Mark Upgrade InfoSaul Wold2011-12-221-21/+29
| | | | | | | | | | | | | | | Updated the following: - libdrm - texi2html - mc - libidn - augeas - python-pycairo (From OE-Core rev: 2cd2cbc5af1d9ce2dd93c5b4151877d54a93b4d2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libdrm: Upgrade to 2.4.29Saul Wold2011-12-221-4/+4
| | | | | | | (From OE-Core rev: f4eb12559a199b1be90789dfda8404c608041848) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* texi2html: Upgrade to 5.0Saul Wold2011-12-223-14/+69
| | | | | | | | | Add patch to update GETTEXT_MACRO_VERSION to 0.18 (From OE-Core rev: 9d634d7fa355918d42f5279bc2a62c183027f5fd) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: Add version 4.8.1 now GPLv3Saul Wold2011-12-221-0/+25
| | | | | | | (From OE-Core rev: 3282c5844ddce4bd7c79f3ff38a2d52cd9327a61) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn: Upgrade to 1.23Saul Wold2011-12-221-2/+3
| | | | | | | (From OE-Core rev: 37a5aea77feb1cb7fc49da533d895ac6f686ebaf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* augeas: Upgrade to 0.10.0Saul Wold2011-12-222-7/+6
| | | | | | | (From OE-Core rev: 1a8bf09a07372c3518b692cbaa7c59ff5ec94719) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-pycairo: Upgrade to 1.10.0Saul Wold2011-12-222-31/+39
| | | | | | | | | tweak the pycairo.pc correctly. (From OE-Core rev: 7197efde264bee4d8deb37b9fd08cc9cc83d1ac4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro tracking: update man-pages, gts-plugin-bluetooth, usbutils,Saul Wold2011-12-221-7/+18
| | | | | | | | | and libcap (From OE-Core rev: 83c2a7660c0ae9c5e37ecdda73be5a5c32535ec9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.conf: Enable shadow-sysroot and libffiRichard Purdie2011-12-211-0/+2
| | | | | | | | | | | | Enable these two core dependencies for multilib builds, fixing multilib build failures that were occurring. I've checked and the recipes are multilib capable. [YOCTO #1835] (From OE-Core rev: db446421933d640528328e46a29f828a36d6649b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gypsy: fix LICENSE fieldJoshua Lock2011-12-211-1/+1
| | | | | | | | | Gypsy binaries are Gplv2.0 and the libraries LGPLv2.1 (From OE-Core rev: 6ca1a7f7fc95d964832d80e69c2cc62fbe06a69e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: tidy the LICENSE fieldsJoshua Lock2011-12-212-4/+4
| | | | | | | | | (From OE-Core rev: 30a07409ce5bf9576a195b908fa3b43c80873635) Signed-off-by: Joshua Lock <josh@linux.intel.com> fix udev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apt: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: 9b8c8ac43fbf9dc73f55306ec103208328a1766c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eds-dbus: replace o-hand example contactPaul Eggleton2011-12-214-84/+221
| | | | | | | | | | Replace the OpenedHand example contact with something a bit more up-to-date. Also add SRC_URI checksums to 2.20.0 recipe. (From OE-Core rev: 5a65e13e99cc8d5e20e32f49338712daa2de3da2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: fix SRC_URI for GPLv2 versionPaul Eggleton2011-12-211-4/+7
| | | | | | | | | | | | | * folks.o-hand.com no longer exists, use the yoctoproject.org mirror instead (folks.o-hand.com was only being used because the upstream site removed this version in any case.) * Update HOMEPAGE * Fix spacing (From OE-Core rev: 915462bee73a22dc416b478fd7981c58dca9cf02) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxsettings-client: fix SRC_URIPaul Eggleton2011-12-211-1/+1
| | | | | | | | | projects.o-hand.com downloads have moved to downloads.yoctoproject.org (From OE-Core rev: 7799fb896e6a8eed27496a49b676056bb63c5ca3) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmatchbox: fix SRC_URIPaul Eggleton2011-12-211-1/+1
| | | | | | | | | projects.o-hand.com downloads have moved to downloads.yoctoproject.org (From OE-Core rev: de8d8c97885de7ae25206ede6a4d8a016e0a6938) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-desktop: fix SRC_URIPaul Eggleton2011-12-212-2/+8
| | | | | | | | | | * projects.o-hand.com downloads have moved to downloads.yoctoproject.org * Add missing SRC_URI checksums (From OE-Core rev: 9564f9e9000d5d652b5520fcb11f2d4687256771) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xrestop: fix SRC_URI and LICENSEPaul Eggleton2011-12-211-3/+3
| | | | | | | | | | | | | * projects.o-hand.com downloads have moved to downloads.yoctoproject.org * LICENSE syntax was invalid (should use & instead of + to signify mixed license). I have set it to GPLv2+ since there is only one source file and that's the license it states. (Note - even if it was a mix of GPLv2+ and GPLv2 code the result would be GPLv2 only.) (From OE-Core rev: 9734aaecf6bc347fac59b307df63597e501b4d72) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* less: Correcting generic licenseBeth Flanagan2011-12-211-3/+3
| | | | | | | | | | | I've asked and received permission from Mark Nudelman, the author of less, to utilize a generic BSD 2 clause license for less, instead of creating a common "less" license file. (From OE-Core rev: 37c8c2c5f6937520eaf9f5d981f9315e36eba4bb) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-tools: add ltp to testapps listJiajun Xu2011-12-211-1/+2
| | | | | | | (From OE-Core rev: 0a6b9dda8647dbd9e10402882294ea5702dd7b8d) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_tracking_fields: add information for ltpJiajun Xu2011-12-211-0/+8
| | | | | | | | | Add information for recipe ltp, which is ported from OE. (From OE-Core rev: 9b76ad20d97953b87abc52e267f4847932526b33) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Add recipe from OEJiajun Xu2011-12-211-0/+68
| | | | | | | | | | | | | | Port ltp recipe from OE and upgraged to latest version(20110915). Install ltp into ${D}/opt/ltp and POSIX test suite is also copied into ${D}/opt/ltp/testcases. TODO: Some cases are removed since they depend on command 'expect'. It is not in Poky or OE and we will add it for enhancement next. (From OE-Core rev: 73faa95042bbecfe7b3ba3b43364d9471f9c3a6e) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: Fix manifest conditionalBeth Flanagan2011-12-211-2/+2
| | | | | | | | | | | The manifest conditionals COPY_LIC_MANIFEST and COPY_LIC_DIRS were returning true due to missing quotes in the bash test. This made images larger than expected. (From OE-Core rev: dc751b9c637db0d442ef553f0b0568cb493f3cd3) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Allow override of ENABLE_WIDECDarren Hart2011-12-211-1/+1
| | | | | | | | | | Set ENABLE_WIDEC with ?= instead of = to allow for the external override by distro definitions. (From OE-Core rev: 516480b1518093b17c2211be0966b7b31aeb2721) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-session-sato: clarify LICENSE in GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: d06a8b345e129f20d2997531c63c422c0a6a2fb7) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-desktop: clarify LICENSE is GPLv2.0+Joshua Lock2011-12-212-2/+2
| | | | | | | (From OE-Core rev: fe4ac4c2ae87ad8e11814870cf3ab707eeb46ae6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: clarify LICENSE is LGPLv2.0+Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: c801891878afcb75091315f4455db35009eaa246) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* matchbox-wm: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: 29ba6386f26991ae0f8ee02242ea5db8257f5971) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cogl: clarify LICENSE as LGPLv2.1 and fix metadataJoshua Lock2011-12-211-3/+3
| | | | | | | | | Fix the HOMEPAGE and DESCRIPTION which were using the same values as Clutter. (From OE-Core rev: 67c91c83774d485b54357b81eb105ab291d4e383) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* clutter: clarify LICENSE as LGPLv2.1Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: f38f199f33a10fcc1bebd83b862c0936ca33535e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | | | | (From OE-Core rev: 50fd9125f24eb4f1464771fd15134d5321f91b9b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl 1.2.14: fix packagingKoen Kooi2011-12-191-2/+2
| | | | | | | | | | | | | | | | | For some reason the -config script was shipped in ${PN} leading to shlibs renaming issues: What we want, and how meta-oe used to do it: libsdl-1.2-0_1.2.14-r0.0_armv7a.ipk Current OE-core status: libsdl_1.2.14-r2_armv7a.ipk With this commit we get both proper shlib renaming and the -dev package now has all the dev files (From OE-Core rev: ae4118a1f78f113c3d687c3aa6a86007cf977cae) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Fixes for running regression testsKhem Raj2011-12-197-171/+77
| | | | | | | | | | | | | | | | | | | | | | | Override cxx-sysincludes along with CC and CXX since it contains path pointing to tcbootstrap sysroot which does not have c++ headers and libraries Drop shorten-build-commands patch since it did not override the include flags for c++ headers when tests written in c++ are executed the @includes file does not get updated to add c++ header paths This patch only reduced the build output anyway Add a patch to point eglibc to look into c++ headers the way OE installs them its not standard install e.g. usr/include/c++/GCC_VER but instead usr/include/c++. This lets g++ find the headers in right place when compiling c++ testcases (From OE-Core rev: dc1fbfb2cd3c0d35f212523189ea7b1621906201) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Let G++ relocate gxx-include-dir when using --sysroot optionKhem Raj2011-12-194-23/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we have a problem in our cross compiler since we use /usr/include/c++ to be default gxx-include-dir and then expect the patch we did to do the relocation w.r.t. sysroot however it does not quite work so and we end up gxx-include-dirs not respecting sysroot. A small test case would be tst-unique4.cc and it would fails like tst-unique4.cc:1:18: fatal error: cstdio: No such file or directory compilation terminated. weather we use --sysroot or not it does not matter arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm failed in same way. so we redo the GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch based on upstream submitted patch which tries to relocate the gxx-include-dir and to achieve the relocation it has to be specified w.r.t to --with-sysroot directory. e.g. --with-sysroot=${SYSROOT} --with-gxx-include-dir=${SYSROOT}/usr/include/c++ if we configure gcc like above then it becomes relocatable when we run the compiler and specify --sysroot=<blah> then g++ will search for gxx-headers under <blah>/usr/include/c++ if sysroot is not defined then it will use the default sysroot and gxx-include-dir will be w.r.t. default sysroot. Tested on qemuarm /arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm -v ... /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++ /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++/arm-oe-linux-gnueabi /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++/backward ... and if I now change --sysroot to something else /arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4 -v ... ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++" ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++/arm-oe-linux-gnueabi" ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++/backward" ... See now its looking for them in 'qemuarm4' sysroot (From OE-Core rev: 28b772e42a20faebe1b4f415d28b42b7e0a424fb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross: Add cross testing driver for running regression testsuitesKhem Raj2011-12-191-1/+90
| | | | | | | | | | | | | | | | | | | This script will be generated into the build directory of gcc-cross It should be testing gcc and g++. libstdc++ tests are not run since we build them as part of gcc-runtime but we can test them here by building them with 'make all' and then running the tests The script expects passwordless ssh access to target and is used in form ./arm-oe-linux-gnueabi-testgcc kraj@192.168.7.2 inside the builddir of gcc-cross (From OE-Core rev: 130b534fdb0b292158981a12d7d5f01c1a14cb2a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>