diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-19 21:18:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-19 21:18:52 +0000 |
commit | 90616875b432a932415063b08497266e70c49d75 (patch) | |
tree | ae4b50d29583d52c8cab57d27b757683dd9ca9c6 /meta/recipes-devtools | |
parent | 9acfef96333ffe6e08998e6fd69187c14532d26c (diff) | |
download | poky-90616875b432a932415063b08497266e70c49d75.tar.gz |
gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-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, 1 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index 1a3e09b071..ffdffab2fd 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
@@ -18,8 +18,6 @@ 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 | |||
23 | DEPENDS =+ "mpfr gmp libmpc" | 21 | DEPENDS =+ "mpfr gmp libmpc" |
24 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 22 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" |
25 | 23 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 38f3b7f959..b2a258ba77 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 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}" | 10 | FILESPATH = "${FILE_DIRNAME}/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": |