blob: f1e92e19c6156da171de952fcb74bd05b95c8685 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001
2TUNEVALID[bigendian] = "Enable big-endian mode."
3
Patrick Williams213cb262021-08-07 19:21:33 -05004ARMPKGARCH = "${ARMPKGARCH:tune-${DEFAULTTUNE}}"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05005ARMPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'b', '', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006ARMPKGSFX_FPU ??= ""
7ARMPKGSFX_DSP ??= ""
8ARMPKGSFX_EABI ??= ""
9ARMPKGSFX_THUMB ??= ""
10
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011TUNE_ARCH = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'armeb', 'arm', d)}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012TUNE_PKGARCH = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}"
13
14ABIEXTENSION = "eabi"
15
Brad Bishop6e60e8b2018-02-01 10:27:11 -050016TARGET_FPU = "${@d.getVar('TUNE_CCARGS_MFLOAT') or 'soft'}"
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050017
18# Some -march settings need a +X option passed in. Since we cannot guarantee that any specified TUNE_CCARGS option is set in any order, we must hard code the order here to allow for it.
19TUNE_CCARGS_MARCH_OPTS ??= ""
20TUNE_CCARGS .= "${TUNE_CCARGS_MARCH}${TUNE_CCARGS_MARCH_OPTS}"