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

gcc-common: Only apply fpu settings to target gcc

Within the OE build environment, we supply the correct fpu settings. These
only need to be spelt out for the on-target gcc.

Doing this means the checksums for the core compiler don't depend on the fpu
settings. We exclude the compiler tunes for similar reasons, it doesn't need
to influence the compiler build.

(From OE-Core rev: ce1f3fd20d81545d6d5dfc68f86f9fddf8ac9bbf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2014-05-01 16:40:19 +01:00
parent 5e4db52ea6
commit 075e2884ce
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ def get_tune_parameters(tune, d):
retdict['package_extra_archs'] = localdata.getVar('PACKAGE_EXTRA_ARCHS', True)
return retdict
get_tune_parameters[vardepsexclude] = "AVAILTUNES"
get_tune_parameters[vardepsexclude] = "AVAILTUNES TUNE_CCARGS"
DEBIANNAME_${MLPREFIX}libgcc = "libgcc1"
@@ -61,7 +61,7 @@ EXTRA_OECONF_append_libc-uclibc = " --enable-__cxa_atexit"
EXTRA_OECONF_append_mips64 = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
EXTRA_OECONF_append_mips64el = " --with-abi=64 --with-arch-64=mips64 --with-tune-64=mips64"
EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
EXTRA_OECONF_FPU ??= ""
CPPFLAGS = ""
# powerpc needs this to comply with the ABI
+2
View File
@@ -7,6 +7,8 @@ EXTRA_OECONF_PATHS = " \
--with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
--with-gxx-include-dir=${includedir}/c++/"
EXTRA_OECONF_FPU = "${@get_gcc_fpu_setting(bb, d)}"
PACKAGES = "\
${PN} ${PN}-plugins ${PN}-symlinks \
g++ g++-symlinks \