mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
The current solutions to share uclibc, eglibc and glibc builds in the same tree all have various issues associated with them. Appending the suffix to TMPDIR seems like the best solution since sstate (which defaults to outside TMPDIR) will allow reuse of any components. This avoids messy changes to the core with other approaches to this problem inevitably entail, usually in code where this abstraction isn;'t logically best placed. (From OE-Core rev: f2528db8f466a21ca207b310fffa7b05884b4579) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
951 B
Plaintext
27 lines
951 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/world-broken.inc
|
|
|
|
TARGET_FPU_arm ?= "soft"
|
|
TARGET_FPU_armeb ?= "soft"
|
|
|
|
TCMODE ?= "default"
|
|
require conf/distro/include/tcmode-${TCMODE}.inc
|
|
|
|
TCLIBC ?= "eglibc"
|
|
require conf/distro/include/tclibc-${TCLIBC}.inc
|
|
|
|
# Allow single libc distros to disable this code
|
|
TCLIBCAPPEND ?= "-${TCLIBC}"
|
|
TMPDIR_append = "${TCLIBCAPPEND}"
|
|
|
|
CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"
|
|
|
|
USER_CLASSES ?= ""
|
|
PACKAGE_CLASSES ?= "package_ipk"
|
|
INHERIT_INSANE ?= "insane"
|
|
INHERIT_DISTRO ?= "debian devshell sstate license"
|
|
INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO}"
|
|
|