1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2012-11-19 21:18:52 +00:00
parent 9acfef9633
commit 90616875b4
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -18,8 +18,6 @@ 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"
+1 -1
View File
@@ -7,7 +7,7 @@ NATIVEDEPS = ""
inherit autotools gettext
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}"
FILESPATH = "${FILE_DIRNAME}/gcc-${PV}"
def get_gcc_fpu_setting(bb, d):
if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm":