Revert "gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify"

This reverts commit 90616875b4. It was
never meant to be applied as its an incorrect previous development
verison of a patch in progress.
This commit is contained in:
Richard Purdie 2012-11-20 16:47:11 +00:00
parent 39ab3f14f2
commit 66861cce91
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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":