mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 12:13:02 +01:00
* tune-foo is not valid override, for it to work I had to add
ARMPKGARCH = "${ARMPKGARCH_tune-${DEFAULTTUNE}}"
but that doesn't work without value defined for every supported
DEFAULTTUNE value, otherwise it's expanded like this
TUNE_PKGARCH (${ARMPKGARCH_tune-armv5te}te).
(From OE-Core rev: 31e4f2dee990ee7f5d7491b65565e71d7d580209)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
572 B
PHP
18 lines
572 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('ARMPKGSFX_FPU', True).strip('-') or 'soft'}"
|
|
|