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-yocto/conf/distro/poky.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-yocto/conf/distro/poky.conf')
-rw-r--r-- | meta-yocto/conf/distro/poky.conf | 33 |
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 | ||
7 | MAINTAINER = "Poky <poky@yoctoproject.org>" | 7 | MAINTAINER = "Poky <poky@yoctoproject.org>" |
8 | 8 | ||
9 | USER_CLASSES ?= "" | 9 | TARGET_VENDOR = "-poky" |
10 | |||
11 | PACKAGE_CLASSES ?= "package_ipk" | ||
12 | INHERIT_INSANE ?= "insane" | ||
13 | INHERIT += "${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 | ||
18 | TARGET_OS = "linux" | ||
19 | TARGET_FPU_arm ?= "soft" | ||
20 | TARGET_FPU_armeb ?= "soft" | ||
21 | TARGET_FPU_nokia800 = "hard" | ||
22 | |||
23 | TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}" | ||
24 | 10 | ||
25 | QA_LOGFILE = "${TMPDIR}/qa.log" | 11 | QA_LOGFILE = "${TMPDIR}/qa.log" |
26 | 12 | ||
@@ -31,28 +17,13 @@ LOCALCONF_VERSION = "1" | |||
31 | OEINCLUDELOGS = "yes" | 17 | OEINCLUDELOGS = "yes" |
32 | KERNEL_CONSOLE = "ttyS0" | 18 | KERNEL_CONSOLE = "ttyS0" |
33 | 19 | ||
34 | # Default to TARGETOS values for EABI on arm | 20 | SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${TARGET_ARCH}" |
35 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" | ||
36 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibceabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" | ||
37 | |||
38 | POKYMODE ?= "default" | ||
39 | require conf/distro/include/poky-${POKYMODE}.inc | ||
40 | |||
41 | POKYLIBC ?= "eglibc" | ||
42 | require conf/distro/include/poky-${POKYLIBC}.inc | ||
43 | |||
44 | SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}" | ||
45 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" | 21 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" |
46 | 22 | ||
47 | CACHE = "${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 | |||
50 | require conf/distro/include/preferred-xorg-versions.inc | 23 | require conf/distro/include/preferred-xorg-versions.inc |
51 | 24 | ||
52 | PCMCIA_MANAGER ?= "pcmciautils" | 25 | PCMCIA_MANAGER ?= "pcmciautils" |
53 | 26 | ||
54 | #IMAGE_LINGUAS ?= "en-gb en-us" | ||
55 | #LIMIT_BUILT_LOCALES ?= "en_GB en_US" | ||
56 | IMAGE_LINGUAS ?= "en-us en-gb" | 27 | IMAGE_LINGUAS ?= "en-us en-gb" |
57 | LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" | 28 | LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" |
58 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" | 29 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" |