]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: restore FILESPATH
authorGiuseppe CONDORELLI <giuseppe.condorelli@st.com>
Fri, 4 Jan 2013 14:03:45 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Jan 2013 14:30:47 +0000 (14:30 +0000)
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@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.7.inc

index 2cfbf99d563c5d57430d1b1132fb6cdcc4f7903e..378caf09082d0c110d1ebf3587bcbd37250d49ea 100644 (file)
@@ -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"