diff options
Diffstat (limited to 'meta-yocto/conf/distro')
-rw-r--r-- | meta-yocto/conf/distro/poky-bleeding.conf | 8 | ||||
-rw-r--r-- | meta-yocto/conf/distro/poky-lsb.conf | 9 | ||||
-rw-r--r-- | meta-yocto/conf/distro/poky.conf | 167 |
3 files changed, 184 insertions, 0 deletions
diff --git a/meta-yocto/conf/distro/poky-bleeding.conf b/meta-yocto/conf/distro/poky-bleeding.conf new file mode 100644 index 0000000000..328acfeb75 --- /dev/null +++ b/meta-yocto/conf/distro/poky-bleeding.conf | |||
@@ -0,0 +1,8 @@ | |||
1 | PREFERRED_VERSION_glib-2.0 ?= "2.17.4" | ||
2 | PREFERRED_VERSION_glib-2.0-native ?= "2.17.4" | ||
3 | PREFERRED_VERSION_atk ?= "1.22.0" | ||
4 | PREFERRED_VERSION_pango ?= "1.21.2" | ||
5 | PREFERRED_VERSION_gtk+ ?= "2.13.3" | ||
6 | |||
7 | require conf/distro/include/poky-floating-revisions.inc | ||
8 | require conf/distro/poky.conf | ||
diff --git a/meta-yocto/conf/distro/poky-lsb.conf b/meta-yocto/conf/distro/poky-lsb.conf new file mode 100644 index 0000000000..749c85886a --- /dev/null +++ b/meta-yocto/conf/distro/poky-lsb.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | require conf/distro/poky.conf | ||
2 | |||
3 | DISTRO = "poky-lsb" | ||
4 | DISTROOVERRIDES = "poky:poky-lsb" | ||
5 | |||
6 | DISTRO_FEATURES += "pam" | ||
7 | PREFERRED_PROVIDER_virtual/libx11 = "libx11" | ||
8 | |||
9 | |||
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 | |||
4 | DISTRO = "poky" | ||
5 | DISTRO_NAME = "Yocto (Built by Poky 4.0)" | ||
6 | DISTRO_VERSION = "0.9+snapshot-${DATE}" | ||
7 | SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" | ||
8 | |||
9 | MAINTAINER = "Poky <poky@yoctoproject.org>" | ||
10 | |||
11 | USER_CLASSES ?= "" | ||
12 | |||
13 | PACKAGE_CLASSES ?= "package_ipk" | ||
14 | INHERIT_INSANE ?= "insane" | ||
15 | INHERIT += "${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 | ||
20 | TARGET_OS = "linux" | ||
21 | TARGET_FPU_arm ?= "soft" | ||
22 | TARGET_FPU_armeb ?= "soft" | ||
23 | TARGET_FPU_nokia800 = "hard" | ||
24 | |||
25 | TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}" | ||
26 | |||
27 | QA_LOGFILE = "${TMPDIR}/qa.log" | ||
28 | |||
29 | IMAGE_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 | |||
49 | OEINCLUDELOGS = "yes" | ||
50 | KERNEL_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 | ||
56 | GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" | ||
57 | UCLIBCTARGETOS = "linux${@['-uclibc','-uclibcgnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}" | ||
58 | |||
59 | POKYMODE ?= "default" | ||
60 | require conf/distro/include/poky-${POKYMODE}.inc | ||
61 | |||
62 | POKYLIBC ?= "eglibc" | ||
63 | require conf/distro/include/poky-${POKYLIBC}.inc | ||
64 | |||
65 | SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}" | ||
66 | SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" | ||
67 | |||
68 | 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))]}" | ||
69 | |||
70 | # | ||
71 | # Preferred providers: | ||
72 | # | ||
73 | |||
74 | # Virtuals: | ||
75 | PREFERRED_PROVIDER_virtual/db ?= "db" | ||
76 | PREFERRED_PROVIDER_virtual/db-native ?= "db-native" | ||
77 | PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86" | ||
78 | PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" | ||
79 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib" | ||
80 | PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth" | ||
81 | PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native" | ||
82 | PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" | ||
83 | PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel" | ||
84 | |||
85 | VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth" | ||
86 | |||
87 | # Others: | ||
88 | PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers" | ||
89 | PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk" | ||
90 | PREFERRED_PROVIDER_libgcc ?= "libgcc" | ||
91 | PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk" | ||
92 | PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib" | ||
93 | PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native" | ||
94 | PREFERRED_PROVIDER_gconf ?= "gconf-dbus" | ||
95 | PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2" | ||
96 | PREFERRED_PROVIDER_opkg ?= "opkg" | ||
97 | PREFERRED_PROVIDER_opkg-native ?= "opkg-native" | ||
98 | PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk" | ||
99 | |||
100 | PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf" | ||
101 | |||
102 | require conf/distro/include/poky-fixed-revisions.inc | ||
103 | require conf/distro/include/preferred-xorg-versions.inc | ||
104 | |||
105 | PCMCIA_MANAGER ?= "pcmciautils" | ||
106 | |||
107 | #IMAGE_LINGUAS ?= "en-gb en-us" | ||
108 | #LIMIT_BUILT_LOCALES ?= "en_GB en_US" | ||
109 | IMAGE_LINGUAS ?= "en-us en-gb" | ||
110 | LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB" | ||
111 | ENABLE_BINARY_LOCALE_GENERATION ?= "1" | ||
112 | LOCALE_UTF8_ONLY = "0" | ||
113 | |||
114 | DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci" | ||
115 | |||
116 | POKY_EXTRA_RDEPENDS = "task-poky-boot" | ||
117 | POKY_EXTRA_RDEPENDS_qemuarm = "qemu-config" | ||
118 | POKY_EXTRA_RDEPENDS_qemuarmv6 = "qemu-config" | ||
119 | POKY_EXTRA_RDEPENDS_qemuarmv7 = "qemu-config" | ||
120 | POKY_EXTRA_RDEPENDS_qemux86 = "qemu-config" | ||
121 | POKY_EXTRA_RDEPENDS_qemux86-64 = "qemu-config" | ||
122 | |||
123 | DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}" | ||
124 | DISTRO_EXTRA_RRECOMMENDS += "kernel-module-af-packet" | ||
125 | |||
126 | IMAGE_FEATURES ?= "" | ||
127 | |||
128 | EXTRAOPKGCONFIG = "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. | ||
132 | HOSTTOOLS_WHITELIST_GPLv3 ?= "" | ||
133 | WHITELIST_GPLv3 ?= "less gnome-common" | ||
134 | LGPLv2_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 | ||
139 | COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp" | ||
140 | COMMERCIAL_AUDIO_PLUGINS ?= "" | ||
141 | # COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse" | ||
142 | COMMERCIAL_VIDEO_PLUGINS ?= "" | ||
143 | # COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" | ||
144 | COMMERCIAL_QT ?= "" | ||
145 | # COMMERCIAL_QT ?= "qmmp" | ||
146 | # Set of common licenses used for license.bbclass | ||
147 | COMMON_LICENSE_DIR ??= "${POKYBASE}/meta/files/common-licenses" | ||
148 | |||
149 | BB_GENERATE_MIRROR_TARBALLS ??= "0" | ||
150 | |||
151 | require conf/distro/include/world-broken.inc | ||
152 | |||
153 | PREMIRRORS ?= "\ | ||
154 | bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
155 | cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
156 | git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
157 | hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
158 | osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
159 | p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
160 | svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
161 | svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" | ||
162 | |||
163 | MIRRORS =+ "\ | ||
164 | ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
165 | http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \ | ||
166 | https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n" | ||
167 | |||