diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 16:47:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 16:47:11 +0000 |
commit | 66861cce918eb7ed1f16f829d652c9d7105152b7 (patch) | |
tree | b3f79c525276efc4575ac631789515d59c0c71da /meta/recipes-devtools | |
parent | 39ab3f14f2755db83a2e689972038e74e39df645 (diff) | |
download | ast2050-yocto-poky-66861cce918eb7ed1f16f829d652c9d7105152b7.zip ast2050-yocto-poky-66861cce918eb7ed1f16f829d652c9d7105152b7.tar.gz |
Revert "gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify"
This reverts commit 90616875b432a932415063b08497266e70c49d75. It was
never meant to be applied as its an incorrect previous development
verison of a patch in progress.
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, 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 ffdffab..1a3e09b 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" BINV = "4.7.2" +FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.7' ], d)}" + 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 b2a258b..38f3b7f 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -7,7 +7,7 @@ NATIVEDEPS = "" inherit autotools gettext -FILESPATH = "${FILE_DIRNAME}/gcc-${PV}" +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": |