diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index ffdffab2fd..1a3e09b071 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
@@ -18,6 +18,8 @@ PV = "4.7.2" | |||
18 | 18 | ||
19 | BINV = "4.7.2" | 19 | BINV = "4.7.2" |
20 | 20 | ||
21 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" | ||
22 | |||
21 | DEPENDS =+ "mpfr gmp libmpc" | 23 | DEPENDS =+ "mpfr gmp libmpc" |
22 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 24 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" |
23 | 25 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index b2a258ba77..38f3b7f959 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -7,7 +7,7 @@ NATIVEDEPS = "" | |||
7 | 7 | ||
8 | inherit autotools gettext | 8 | inherit autotools gettext |
9 | 9 | ||
10 | FILESPATH = "${FILE_DIRNAME}/gcc-${PV}" | 10 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}" |
11 | 11 | ||
12 | def get_gcc_fpu_setting(bb, d): | 12 | def get_gcc_fpu_setting(bb, d): |
13 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": | 13 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": |