mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
* add TUNE_CCARGS_MFLOAT variable which is used to set -mfloat-abi parameter as well as ARMPKGSFX_EABI suffix in TUNE_PKGARCH and TARGET_FPU * TARGET_FPU was using ARMPKGSFX_FPU, but in most cases we use it only to distinguish between hard and soft abi, not various -mfpu variants which can appear in ARMPKGSFX_FPU (From OE-Core rev: 10bece310ca6e0bbae28665f873f907d751d1057) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
17 lines
565 B
PHP
17 lines
565 B
PHP
|
|
TUNEVALID[bigendian] = "Enable big-endian mode."
|
|
|
|
ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}"
|
|
ARMPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'b', '', d)}"
|
|
ARMPKGSFX_FPU ??= ""
|
|
ARMPKGSFX_DSP ??= ""
|
|
ARMPKGSFX_EABI ??= ""
|
|
ARMPKGSFX_THUMB ??= ""
|
|
|
|
TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}"
|
|
TUNE_PKGARCH = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}"
|
|
|
|
ABIEXTENSION = "eabi"
|
|
|
|
TARGET_FPU = "${@d.getVar('TUNE_CCARGS_MFLOAT', True) or 'soft'}"
|