Koen Kooi wrote onĀ 2011-12-24: > > Op 23 dec. 2011, om 17:35 heeft Shane Wang het volgende geschreven: > >> Signed-off-by: Shane Wang <shane.w...@intel.com> --- >> .../valgrind/valgrind-3.7.0/configure-fix.patch | 23 >> ++++++++++++++++++++ .../fix_issue_caused_by_ccache.patch >> | 0 .../fix_unsupporting_kernel_3.patch | 0 >> .../fixed-perl-path.patch | 0 >> .../{valgrind_3.6.1.bb => valgrind_3.7.0.bb} | 13 ++++++----- 5 >> files changed, 30 insertions(+), 6 deletions(-) create mode 100644 >> meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch >> rename meta/recipes-devtools/valgrind/{valgrind-3.6.1 => >> valgrind-3.7.0}/fix_issue_caused_by_ccache.patch (100%) rename >> meta/recipes-devtools/valgrind/{valgrind-3.6.1 => >> valgrind-3.7.0}/fix_unsupporting_kernel_3.patch (100%) rename >> meta/recipes-devtools/valgrind/{valgrind-3.6.1 => >> valgrind-3.7.0}/fixed-perl-path.patch (100%) rename >> meta/recipes-devtools/valgrind/{valgrind_3.6.1.bb => valgrind_3.7.0.bb} >> (71%) >> >> diff --git > a/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch > b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch >> new file mode 100644 index 0000000..f57897c --- /dev/null +++ >> b/meta/recipes-devtools/valgrind/valgrind-3.7.0/configure-fix.patch @@ >> -0,0 +1,23 @@ +To recognize gcc version from poky in configure.in + >> +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Shane >> Wang <shane.w...@intel.com> + +diff -r 91a8df96084a configure.in +--- >> a/configure.in Fri Dec 23 20:57:01 2011 +0800 ++++ b/configure.in >> Fri >> Dec 23 20:59:21 2011 +0800 +@@ -104,11 +104,13 @@ + # + # >> i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot >> 3) + # i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple >> Inc. build 5658) (LLVM build 2335.15.00) ++# i586-poky-linux-gcc (GCC) >> 4.6.3 (prerelease) Copyright + # + [gcc_version=`${CC} --version \ + >> | head -n 1 \ + | $SED 's/i686-apple-darwin10//' >> \ + | $SED 's/i686-apple-darwin11//' \ ++ | >> $SED 's/.*poky[^0-9]*//' \ > > Either change this to work with every TARGET_VENDOR or put it in the poky > layer as bbappend.
Understood. -- Shane _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core