Patchwork gcc: restore FILESPATH

login
register
mail settings
Submitter Giuseppe CONDORELLI
Date Jan. 4, 2013, 2:03 p.m.
Message ID <1357308225-30900-1-git-send-email-giuseppe.condorelli@st.com>
Download mbox | patch
Permalink /patch/42009/
State Accepted
Commit acdec40f31ecd2eecf8c173b632b8fb01ca59b3d
Headers show

Comments

Giuseppe CONDORELLI - Jan. 4, 2013, 2:03 p.m.
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>
---
 meta/recipes-devtools/gcc/gcc-4.7.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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"