summaryrefslogtreecommitdiffstats
path: root/meta-yocto/conf/distro/poky.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-yocto/conf/distro/poky.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-yocto/conf/distro/poky.conf')
-rw-r--r--meta-yocto/conf/distro/poky.conf33
1 files changed, 2 insertions, 31 deletions
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index 9680746e64..f13a67f393 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -6,21 +6,7 @@ SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
6 6
7MAINTAINER = "Poky <poky@yoctoproject.org>" 7MAINTAINER = "Poky <poky@yoctoproject.org>"
8 8
9USER_CLASSES ?= "" 9TARGET_VENDOR = "-poky"
10
11PACKAGE_CLASSES ?= "package_ipk"
12INHERIT_INSANE ?= "insane"
13INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate license"
14# For some reason, this doesn't work
15# TARGET_OS ?= "linux"
16# TARGET_VENDOR ?= "-poky"
17# Set by POKYMODE instead
18TARGET_OS = "linux"
19TARGET_FPU_arm ?= "soft"
20TARGET_FPU_armeb ?= "soft"
21TARGET_FPU_nokia800 = "hard"
22
23TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
24 10
25QA_LOGFILE = "${TMPDIR}/qa.log" 11QA_LOGFILE = "${TMPDIR}/qa.log"
26 12
@@ -31,28 +17,13 @@ LOCALCONF_VERSION = "1"
31OEINCLUDELOGS = "yes" 17OEINCLUDELOGS = "yes"
32KERNEL_CONSOLE = "ttyS0" 18KERNEL_CONSOLE = "ttyS0"
33 19
34# Default to TARGETOS values for EABI on arm 20SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
35GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
36UCLIBCTARGETOS = "linux${@['-uclibc','-uclibceabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
37
38POKYMODE ?= "default"
39require conf/distro/include/poky-${POKYMODE}.inc
40
41POKYLIBC ?= "eglibc"
42require conf/distro/include/poky-${POKYLIBC}.inc
43
44SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
45SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" 21SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
46 22
47CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + 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))]}"
48
49
50require conf/distro/include/preferred-xorg-versions.inc 23require conf/distro/include/preferred-xorg-versions.inc
51 24
52PCMCIA_MANAGER ?= "pcmciautils" 25PCMCIA_MANAGER ?= "pcmciautils"
53 26
54#IMAGE_LINGUAS ?= "en-gb en-us"
55#LIMIT_BUILT_LOCALES ?= "en_GB en_US"
56IMAGE_LINGUAS ?= "en-us en-gb" 27IMAGE_LINGUAS ?= "en-us en-gb"
57LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" 28LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB"
58ENABLE_BINARY_LOCALE_GENERATION ?= "1" 29ENABLE_BINARY_LOCALE_GENERATION ?= "1"