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:52:13 +0000 |
commit | 4cb359182da00e661fda11a8b31e3611b0df03cb (patch) | |
tree | b587eeede99e29acbe2c960107086c5557610540 /meta/recipes-devtools | |
parent | 84021fd694d0a7bb1e4f49c0f7c46a0fbd178924 (diff) | |
download | openembedded-core-4cb359182da00e661fda11a8b31e3611b0df03cb.tar.gz openembedded-core-4cb359182da00e661fda11a8b31e3611b0df03cb.tar.bz2 openembedded-core-4cb359182da00e661fda11a8b31e3611b0df03cb.zip |
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..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" BINV = "4.7.2" -FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" +FILESPATH = "${FILE_DIRNAME}/gcc-4.7" DEPENDS =+ "mpfr gmp libmpc" 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 = "" inherit autotools gettext -FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}" - def get_gcc_fpu_setting(bb, d): if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": return "--with-float=hard" |