diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-12-16 14:33:38 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-19 09:29:18 +0000 |
commit | 45987c5135d22757ed2eb06b37e192d73309f59f (patch) | |
tree | 9b4ca0be013dbc1bbf8dbdc19c53f0c2104390e9 /meta/recipes-core/eglibc/eglibc-testing.inc | |
parent | af9c75c8f5249728877770e3040cbc46c0038f30 (diff) | |
download | ast2050-yocto-poky-45987c5135d22757ed2eb06b37e192d73309f59f.zip ast2050-yocto-poky-45987c5135d22757ed2eb06b37e192d73309f59f.tar.gz |
eglibc: Fixes for running regression tests
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>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-testing.inc')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-testing.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-testing.inc b/meta/recipes-core/eglibc/eglibc-testing.inc index 2cd7c6a..c30409f 100644 --- a/meta/recipes-core/eglibc/eglibc-testing.inc +++ b/meta/recipes-core/eglibc/eglibc-testing.inc @@ -66,10 +66,8 @@ fi echo "# we test using cross compiler from real sysroot therefore override the" > ${B}/configparms echo "# definitions that come from ${B}/config.make" >> ${B}/configparms - echo "CC = ${CC}" >> ${B}/configparms - echo "CXX = ${CXX}" >> ${B}/configparms + fgrep tcbootstrap ${B}/config.make > ${B}/configparms sed -i -e "s/\-tcbootstrap//g" ${B}/configparms - wrapper="${S}/scripts/cross-test-ssh.sh \$target" localedef="${STAGING_BINDIR_NATIVE}/cross-localedef --little-endian --uint32-align=4" make tests-clean |