mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
Introduce a new variable INIT_MANAGER and create 4 init-manager-*.inc files to configure init manager settings. Available values of INIT_MANAGER are sysvinit, systemd, mdev-busybox and a default of none. 'none' provides backwards compatibility. The settings of various VIRTUAL-RUNTIME variables are moved into these files from the packagegroups. [YOCTO #13031] [Modifications by RP for backwards compatibility] (From OE-Core rev: 8d0b4704a526a48cd5e67df61b613424bbbdccde) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
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
|
|
include conf/distro/include/maintainers.inc
|
|
|
|
TCMODE ?= "default"
|
|
require conf/distro/include/tcmode-${TCMODE}.inc
|
|
|
|
TCLIBC ?= "glibc"
|
|
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}"
|
|
|
|
CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE'))][bool(d.getVar('MACHINE'))]}${@['', '/' + str(d.getVar('SDKMACHINE'))][bool(d.getVar('SDKMACHINE'))]}"
|
|
|
|
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
|