mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

* re-run the latest version of the script which converts CONVERSION_CMD as well since https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=d9e81d66db2bc2aa56d177cef78c814c29679a4a * skip many incorrect s/_linux/:linux/g changes which were introduced by: https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=9ea1041f8eab26ee871a9176e9691e5d3e6745bd Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
17 lines
768 B
Plaintext
17 lines
768 B
Plaintext
# klcc-cross depends on klibc
|
|
DEPENDS =+ "klcc-cross"
|
|
|
|
# Default for klcc is to build static binaries.
|
|
# Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
|
|
CC:forcevariable = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS}"
|
|
CC:forcevariable:armv4:linux-gnueabi = "${TARGET_PREFIX}klcc ${TOOLCHAIN_OPTIONS} -march=armv4 -mthumb-interwork"
|
|
CC:append:armv7ve = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
|
|
CC:append:armv7a = " ${@' -mfloat-abi=${TUNE_CCARGS_MFLOAT}' if (d.getVar('TUNE_CCARGS_MFLOAT') != '') else ''}"
|
|
|
|
# klcc uses own optimizations by default. See klcc(1) man file.
|
|
export CFLAGS="${TUNE_CCARGS}"
|
|
export CPPFLAGS="${TUNE_CCARGS}"
|
|
export LDFLAGS="${TUNE_CCARGS}"
|
|
|
|
OVERRIDES =. "libc-klibc:"
|