diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-10 14:04:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-11 15:24:22 +0100 |
commit | e27f339a048c70a01642357ffb8bb79ed697eb00 (patch) | |
tree | 338c942cb5fb1b5c4b09af754d149a57df18c8c5 /meta/conf/distro/defaultsetup.conf | |
parent | 5a606efa34f494df8184da886bdd5f7e0dfcd639 (diff) | |
download | poky-e27f339a048c70a01642357ffb8bb79ed697eb00.tar.gz |
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>
Diffstat (limited to 'meta/conf/distro/defaultsetup.conf')
-rw-r--r-- | meta/conf/distro/defaultsetup.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaultsetup.conf new file mode 100644 index 0000000000..af5ef7b5a0 --- /dev/null +++ b/meta/conf/distro/defaultsetup.conf | |||
@@ -0,0 +1,23 @@ | |||
1 | include conf/distro/include/default-providers.inc | ||
2 | include conf/distro/include/default-versions.inc | ||
3 | include conf/distro/include/world-broken.inc | ||
4 | |||
5 | TARGET_VENDOR ?= "-oecore" | ||
6 | |||
7 | TARGET_FPU_arm ?= "soft" | ||
8 | TARGET_FPU_armeb ?= "soft" | ||
9 | |||
10 | TCMODE ?= "default" | ||
11 | require conf/distro/include/tcmode-${TCMODE}.inc | ||
12 | |||
13 | TCLIBC ?= "eglibc" | ||
14 | require conf/distro/include/tclibc-${TCLIBC}.inc | ||
15 | |||
16 | 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))]}" | ||
17 | |||
18 | USER_CLASSES ?= "" | ||
19 | PACKAGE_CLASSES ?= "package_ipk" | ||
20 | INHERIT_INSANE ?= "insane" | ||
21 | INHERIT_DISTRO ?= "debian devshell sstate license" | ||
22 | INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO}" | ||
23 | |||