mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
distro: Add defaultsetup.conf, a set of default configuration providing sane overrridable default for commonly used options
The intent is to allow distros to share common core config but still allow customisations. The core should work with no distro set but users can still customise in any ways needed. (From OE-Core rev: c0a148077ae27a1ef57c55ac22953c68d001af57) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
23
meta/conf/distro/defaultsetup.conf
Normal file
23
meta/conf/distro/defaultsetup.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
include conf/distro/include/default-providers.inc
|
||||
include conf/distro/include/default-versions.inc
|
||||
include conf/distro/include/world-broken.inc
|
||||
|
||||
TARGET_VENDOR ?= "-oecore"
|
||||
|
||||
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
|
||||
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user