mirror of
https://git.yoctoproject.org/poky
synced 2026-03-02 05:19:40 +01:00
Lazily appending causes a bug where wrong cache is cleared when BB_SRCREV_POLICY = "clear". Tested with qemuarm on uclibc/eglibc in same build dir (From OE-Core rev: 391286cfae94f979bc60ecca2e73501781abdd37) Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
892 B
Plaintext
24 lines
892 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
|
|
|
|
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 .= "${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}"
|
|
|