diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-19 21:20:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-21 16:56:01 +0000 |
commit | 6177bfb408c0e6d312eb15c96e6f706ec0b46c91 (patch) | |
tree | ffeaaabcd80eebd64f0d6bfcab8ff623d5c2a65b /meta/recipes-devtools/gcc | |
parent | 15743528b2f0b5560f18e3925ae11a98dcfc2619 (diff) | |
download | poky-6177bfb408c0e6d312eb15c96e6f706ec0b46c91.tar.gz |
gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
(From OE-Core rev: 4cb359182da00e661fda11a8b31e3611b0df03cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-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..c0e3680a63 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" | |||
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)}" | 21 | FILESPATH = "${FILE_DIRNAME}/gcc-4.7" |
22 | 22 | ||
23 | DEPENDS =+ "mpfr gmp libmpc" | 23 | DEPENDS =+ "mpfr gmp libmpc" |
24 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 24 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" |
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 38f3b7f959..6e64441c3d 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -7,8 +7,6 @@ NATIVEDEPS = "" | |||
7 | 7 | ||
8 | inherit autotools gettext | 8 | inherit autotools gettext |
9 | 9 | ||
10 | FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}" | ||
11 | |||
12 | def get_gcc_fpu_setting(bb, d): | 10 | def get_gcc_fpu_setting(bb, d): |
13 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": | 11 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": |
14 | return "--with-float=hard" | 12 | return "--with-float=hard" |