mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +02:00
gcc: Use FILESPATH instead of FILESDIR and cleanup/simplify
(From OE-Core rev: 4cb359182da00e661fda11a8b31e3611b0df03cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -18,7 +18,7 @@ PV = "4.7.2"
|
|||||||
|
|
||||||
BINV = "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"
|
DEPENDS =+ "mpfr gmp libmpc"
|
||||||
NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
|
NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native"
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ NATIVEDEPS = ""
|
|||||||
|
|
||||||
inherit autotools gettext
|
inherit autotools gettext
|
||||||
|
|
||||||
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/gcc-${PV}"
|
|
||||||
|
|
||||||
def get_gcc_fpu_setting(bb, d):
|
def get_gcc_fpu_setting(bb, d):
|
||||||
if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm":
|
if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm":
|
||||||
return "--with-float=hard"
|
return "--with-float=hard"
|
||||||
|
|||||||
Reference in New Issue
Block a user