[oe-commits] Giuseppe CONDORELLI : gcc: restore FILESPATH

git at git.openembedded.org git at git.openembedded.org
Mon Jan 7 14:45:49 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: acdec40f31ecd2eecf8c173b632b8fb01ca59b3d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=acdec40f31ecd2eecf8c173b632b8fb01ca59b3d

Author: Giuseppe CONDORELLI <giuseppe.condorelli at st.com>
Date:   Fri Jan  4 15:03:45 2013 +0100

gcc: restore FILESPATH

restore FILESPATH to previous setting because the new one doesn't allow the
normal use of FILESEXTRAPATHS_prepend in the case of append recipe.
In the current implementation, in fact, the FILESPATH is statically set into
the gcc-4.7.inc and so the base_set_filespath is not invoked to manage
extrapaths.

Signed-off-by: Giuseppe Condorelli <giuseppe.condorelli at st.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/gcc/gcc-4.7.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index 2cfbf99..378caf0 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -18,7 +18,7 @@ PV = "4.7.2"
 
 BINV = "4.7.2"
 
-FILESPATH = "${FILE_DIRNAME}/gcc-4.7"
+FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}"
 
 DEPENDS =+ "mpfr gmp libmpc"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"





More information about the Openembedded-commits mailing list