summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/defaultsetup.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-10 14:04:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-11 15:24:22 +0100
commite27f339a048c70a01642357ffb8bb79ed697eb00 (patch)
tree338c942cb5fb1b5c4b09af754d149a57df18c8c5 /meta/conf/distro/defaultsetup.conf
parent5a606efa34f494df8184da886bdd5f7e0dfcd639 (diff)
downloadpoky-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.conf23
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 @@
1include conf/distro/include/default-providers.inc
2include conf/distro/include/default-versions.inc
3include conf/distro/include/world-broken.inc
4
5TARGET_VENDOR ?= "-oecore"
6
7TARGET_FPU_arm ?= "soft"
8TARGET_FPU_armeb ?= "soft"
9
10TCMODE ?= "default"
11require conf/distro/include/tcmode-${TCMODE}.inc
12
13TCLIBC ?= "eglibc"
14require conf/distro/include/tclibc-${TCLIBC}.inc
15
16CACHE = "${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
18USER_CLASSES ?= ""
19PACKAGE_CLASSES ?= "package_ipk"
20INHERIT_INSANE ?= "insane"
21INHERIT_DISTRO ?= "debian devshell sstate license"
22INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO}"
23