gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
PATCH 1/1 gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
Signed-off-by Richard Purdie <[email protected]>
---
meta/recipes-devtools/gcc/gcc-4.7.inc +1 -1
@@ -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"
meta/recipes-devtools/gcc/gcc-common.inc +0 -2
@@ -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"