summaryrefslogtreecommitdiffstats
path: root/meta-yocto/conf/distro/poky.conf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 23:53:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-03 23:53:32 +0000
commitb0dec83e8c17d884323d58bb8d56c7ab6afa7ead (patch)
tree194d268995c1f8f6e660ee9ed8bfbe89967ab221 /meta-yocto/conf/distro/poky.conf
parentdabd5deb4e50189fba9ccc60a219a5c6a05c8db1 (diff)
downloadpoky-b0dec83e8c17d884323d58bb8d56c7ab6afa7ead.tar.gz
meta-yocto: Move files inappropriate to OE-Core from meta
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.conf167
1 files changed, 167 insertions, 0 deletions
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
new file mode 100644
index 0000000000..71e40de6f2
--- /dev/null
+++ b/meta-yocto/conf/distro/poky.conf
@@ -0,0 +1,167 @@
1#@TYPE: Distribution#@NAME: Poky
2#@DESCRIPTION: Distribution configuration for the Yocto Project build by Poky
3
4DISTRO = "poky"
5DISTRO_NAME = "Yocto (Built by Poky 4.0)"
6DISTRO_VERSION = "0.9+snapshot-${DATE}"
7SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
8
9MAINTAINER = "Poky <poky@yoctoproject.org>"
10
11USER_CLASSES ?= ""
12
13PACKAGE_CLASSES ?= "package_ipk"
14INHERIT_INSANE ?= "insane"
15INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate license"
16# For some reason, this doesn't work
17# TARGET_OS ?= "linux"
18# TARGET_VENDOR ?= "-poky"
19# Set by POKYMODE instead
20TARGET_OS = "linux"
21TARGET_FPU_arm ?= "soft"
22TARGET_FPU_armeb ?= "soft"
23TARGET_FPU_nokia800 = "hard"
24
25TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
26
27QA_LOGFILE = "${TMPDIR}/qa.log"
28
29IMAGE_ROOTFS_SIZE_ext2 ?= "131072"
30
31#IPK_FEED_URIS += " \
32# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
33#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
34# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
35# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
36# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
37# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
38# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
39
40#RPM_FEED_URIS += " \
41# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
42#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
43# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
44# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
45# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
46# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
47# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
48
49OEINCLUDELOGS = "yes"
50KERNEL_CONSOLE = "ttyS0"
51#DEBUG_OPTIMIZATION = "-O -g3"
52#DEBUG_BUILD = "1"
53#INHIBIT_PACKAGE_STRIP = "1"
54
55# Default to TARGETOS values for EABI on arm
56GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
57UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
58
59POKYMODE ?= "default"
60require conf/distro/include/poky-${POKYMODE}.inc
61
62POKYLIBC ?= "eglibc"
63require conf/distro/include/poky-${POKYLIBC}.inc
64
65SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
66SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
67
68CACHE = "${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))]}"
69
70#
71# Preferred providers:
72#
73
74# Virtuals:
75PREFERRED_PROVIDER_virtual/db ?= "db"
76PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
77PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86"
78PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
79PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
80PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth"
81PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
82PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
83PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
84
85VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
86
87# Others:
88PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
89PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk"
90PREFERRED_PROVIDER_libgcc ?= "libgcc"
91PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
92PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
93PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
94PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
95PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
96PREFERRED_PROVIDER_opkg ?= "opkg"
97PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
98PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk"
99
100PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
101
102require conf/distro/include/poky-fixed-revisions.inc
103require conf/distro/include/preferred-xorg-versions.inc
104
105PCMCIA_MANAGER ?= "pcmciautils"
106
107#IMAGE_LINGUAS ?= "en-gb en-us"
108#LIMIT_BUILT_LOCALES ?= "en_GB en_US"
109IMAGE_LINGUAS ?= "en-us en-gb"
110LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB"
111ENABLE_BINARY_LOCALE_GENERATION ?= "1"
112LOCALE_UTF8_ONLY = "0"
113
114DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci"
115
116POKY_EXTRA_RDEPENDS = "task-poky-boot"
117POKY_EXTRA_RDEPENDS_qemuarm = "qemu-config"
118POKY_EXTRA_RDEPENDS_qemuarmv6 = "qemu-config"
119POKY_EXTRA_RDEPENDS_qemuarmv7 = "qemu-config"
120POKY_EXTRA_RDEPENDS_qemux86 = "qemu-config"
121POKY_EXTRA_RDEPENDS_qemux86-64 = "qemu-config"
122
123DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}"
124DISTRO_EXTRA_RRECOMMENDS += "kernel-module-af-packet"
125
126IMAGE_FEATURES ?= ""
127
128EXTRAOPKGCONFIG = "poky-feed-config-opkg"
129
130# This is a list of packages that are used by poky to build the distribution, they are not
131# directly part of the distribution.
132HOSTTOOLS_WHITELIST_GPLv3 ?= ""
133WHITELIST_GPLv3 ?= "less gnome-common"
134LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn"
135
136# This is a list of packages that require a commercial license to ship
137# product. If shipped as part of an image these packages may have
138# implications so they are disabled by default
139COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"
140COMMERCIAL_AUDIO_PLUGINS ?= ""
141# COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
142COMMERCIAL_VIDEO_PLUGINS ?= ""
143# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
144COMMERCIAL_QT ?= ""
145# COMMERCIAL_QT ?= "qmmp"
146# Set of common licenses used for license.bbclass
147COMMON_LICENSE_DIR ??= "${POKYBASE}/meta/files/common-licenses"
148
149BB_GENERATE_MIRROR_TARBALLS ??= "0"
150
151require conf/distro/include/world-broken.inc
152
153PREMIRRORS ?= "\
154bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
155cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
156git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
157hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
158osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
159p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
160svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
161svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
162
163MIRRORS =+ "\
164ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
165http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
166https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
167