summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-19 21:20:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-21 16:56:01 +0000
commit6177bfb408c0e6d312eb15c96e6f706ec0b46c91 (patch)
treeffeaaabcd80eebd64f0d6bfcab8ff623d5c2a65b /meta/recipes-devtools/gcc
parent15743528b2f0b5560f18e3925ae11a98dcfc2619 (diff)
downloadpoky-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.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc2
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
19BINV = "4.7.2" 19BINV = "4.7.2"
20 20
21FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" 21FILESPATH = "${FILE_DIRNAME}/gcc-4.7"
22 22
23DEPENDS =+ "mpfr gmp libmpc" 23DEPENDS =+ "mpfr gmp libmpc"
24NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" 24NATIVEDEPS = "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
8inherit autotools gettext 8inherit autotools gettext
9 9
10FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}"
11
12def get_gcc_fpu_setting(bb, d): 10def 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"