mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 19:53:03 +01:00
* move TCMODE and TCLIBC from defaultsetup.conf to bitbake.conf
* set CACHE as it was in defaultsetup.conf and drop it from defaultsetup.conf
* most if not all DISTROs are now including defaultsetup.conf and
TCLIBC is pretty much expected to be always set correctly, e.g.:
meta/recipes-core/systemd/systemd_243.2.bb: if d.getVar('TCLIBC') == "musl":
meta/recipes-devtools/gcc/gcc-runtime.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/gcc/libgcc.inc: if [ "${TCLIBC}" != "glibc" ]; then
meta/recipes-devtools/icecc-toolchain/nativesdk-icecc-toolchain_0.1.bb:ENV_NAME="${DISTRO}-${TCLIBC}-${SDK_ARCH}-@TARGET_PREFIX@${DISTRO_VERSION}.tar.gz"
meta/recipes-devtools/valgrind/valgrind_3.15.0.bb:RRECOMMENDS_${PN} += "${TCLIBC}-dbg"
meta/recipes-kernel/linux/kernel-devsrc.bb:RDEPENDS_${PN} = "bc python3 flex bison ${TCLIBC}-utils"
meta/classes/buildhistory.bbclass:BUILDHISTORY_DIR_IMAGE = "${BUILDHISTORY_DIR}/images/${MACHINE_ARCH}/${TCLIBC}/${IMAGE_BASENAME}"
meta/classes/cross-canadian.bbclass: if d.getVar("TCLIBC") in [ 'baremetal', 'newlib' ]:
meta/classes/kernel.bbclass: tclibc = d.getVar('TCLIBC')
meta/classes/toaster.bbclass: BUILDHISTORY_DIR_IMAGE_BASE = e.data.expand("%s/images/${MACHINE_ARCH}/${TCLIBC}/"% BUILDHISTORY_DIR)
(From OE-Core rev: 57aa60ef6422568b425b6ccc4451567efc578469)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
23 lines
773 B
Plaintext
23 lines
773 B
Plaintext
include conf/distro/include/default-providers.inc
|
|
include conf/distro/include/default-versions.inc
|
|
include conf/distro/include/default-distrovars.inc
|
|
include conf/distro/include/maintainers.inc
|
|
|
|
require conf/distro/include/tcmode-${TCMODE}.inc
|
|
require conf/distro/include/tclibc-${TCLIBC}.inc
|
|
|
|
require conf/distro/include/uninative-flags.inc
|
|
|
|
# Allow single libc distros to disable this code
|
|
TCLIBCAPPEND ?= "-${TCLIBC}"
|
|
TMPDIR .= "${TCLIBCAPPEND}"
|
|
|
|
USER_CLASSES ?= ""
|
|
PACKAGE_CLASSES ?= "package_ipk"
|
|
INHERIT_BLACKLIST = "blacklist"
|
|
INHERIT_DISTRO ?= "debian devshell sstate license remove-libtool"
|
|
INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_DISTRO} ${INHERIT_BLACKLIST}"
|
|
|
|
INIT_MANAGER ??= "none"
|
|
require conf/distro/include/init-manager-${INIT_MANAGER}.inc
|