summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/conf
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf414
-rw-r--r--meta/conf/distro/angstrom-2006.9.conf126
-rw-r--r--meta/conf/distro/angstrom.conf45
-rw-r--r--meta/conf/distro/familiar-unstable.conf77
-rw-r--r--meta/conf/distro/familiar.conf17
-rw-r--r--meta/conf/distro/maemo-1.0.conf40
-rw-r--r--meta/conf/distro/maemo-preferred.inc10
-rw-r--r--meta/conf/distro/openzaurus-unstable.conf71
-rw-r--r--meta/conf/distro/openzaurus.conf18
-rw-r--r--meta/conf/distro/poky-eabi.conf23
-rw-r--r--meta/conf/distro/poky-oabi.conf11
-rw-r--r--meta/conf/distro/poky.conf176
-rw-r--r--meta/conf/distro/preferred-e-versions.inc33
-rw-r--r--meta/conf/distro/preferred-gpe-versions-2.7.inc96
-rw-r--r--meta/conf/distro/preferred-opie-versions.inc206
-rw-r--r--meta/conf/documentation.conf104
-rw-r--r--meta/conf/licenses.conf5
-rw-r--r--meta/conf/machine/akita.conf8
-rw-r--r--meta/conf/machine/c7x0.conf9
-rw-r--r--meta/conf/machine/cmx270.conf31
-rw-r--r--meta/conf/machine/include/handheld-common.conf23
-rw-r--r--meta/conf/machine/include/ipaq-common.conf7
-rw-r--r--meta/conf/machine/include/ixp4xx.conf174
-rw-r--r--meta/conf/machine/include/poodle-2.6.conf43
-rw-r--r--meta/conf/machine/include/thinclient-common.conf19
-rw-r--r--meta/conf/machine/include/tosa-2.6.conf6
-rw-r--r--meta/conf/machine/include/tune-arm920t.conf2
-rw-r--r--meta/conf/machine/include/tune-arm926ejs.conf6
-rw-r--r--meta/conf/machine/include/tune-arm9tdmi.conf1
-rw-r--r--meta/conf/machine/include/tune-c3.conf3
-rw-r--r--meta/conf/machine/include/tune-ep9312.conf6
-rw-r--r--meta/conf/machine/include/tune-ppc603e.conf2
-rw-r--r--meta/conf/machine/include/tune-ppce500.conf2
-rw-r--r--meta/conf/machine/include/tune-sh3.conf1
-rw-r--r--meta/conf/machine/include/tune-sh4.conf1
-rw-r--r--meta/conf/machine/include/tune-strongarm.conf2
-rw-r--r--meta/conf/machine/include/tune-supersparc.conf2
-rw-r--r--meta/conf/machine/include/tune-xscale.conf3
-rw-r--r--meta/conf/machine/include/zaurus-clamshell-2.6.conf46
-rw-r--r--meta/conf/machine/include/zaurus-clamshell.conf29
-rw-r--r--meta/conf/machine/ipaq-pxa270.conf63
-rw-r--r--meta/conf/machine/jornada7xx.conf7
-rw-r--r--meta/conf/machine/nokia770.conf54
-rw-r--r--meta/conf/machine/qemuarm.conf46
-rw-r--r--meta/conf/machine/spitz.conf18
-rw-r--r--meta/conf/sanity.conf8
46 files changed, 2094 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
new file mode 100644
index 0000000000..529405a3eb
--- /dev/null
+++ b/meta/conf/bitbake.conf
@@ -0,0 +1,414 @@
1##################################################################
2# Standard target filesystem paths.
3##################################################################
4
5# Path prefixes
6export base_prefix = ""
7export prefix = "/usr"
8export exec_prefix = "${prefix}"
9
10# Base paths
11export base_bindir = "${base_prefix}/bin"
12export base_sbindir = "${base_prefix}/sbin"
13export base_libdir = "${base_prefix}/lib"
14
15# Architecture independent paths
16export datadir = "${prefix}/share"
17export sysconfdir = "/etc"
18export sharedstatedir = "${prefix}/com"
19export localstatedir = "/var"
20export infodir = "${datadir}/info"
21export mandir = "${datadir}/man"
22export docdir = "${datadir}/doc"
23export servicedir = "/srv"
24
25# Architecture dependent paths
26export bindir = "${exec_prefix}/bin"
27export sbindir = "${exec_prefix}/sbin"
28export libexecdir = "${exec_prefix}/libexec"
29export libdir = "${exec_prefix}/lib"
30export includedir = "${exec_prefix}/include"
31export oldincludedir = "${exec_prefix}/include"
32
33##################################################################
34# Architecture-dependent build variables.
35##################################################################
36
37BUILD_ARCH = "${@os.uname()[4]}"
38BUILD_OS = "${@os.uname()[0].lower()}"
39BUILD_VENDOR = ""
40BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}"
41BUILD_PREFIX = ""
42BUILD_CC_ARCH = ""
43
44HOST_ARCH = "${TARGET_ARCH}"
45HOST_OS = "${TARGET_OS}"
46HOST_VENDOR = "${TARGET_VENDOR}"
47HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
48HOST_PREFIX = "${TARGET_PREFIX}"
49HOST_CC_ARCH = "${TARGET_CC_ARCH}"
50
51TARGET_ARCH = "INVALID"
52TARGET_OS = "INVALID"
53TARGET_VENDOR = "${BUILD_VENDOR}"
54TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
55TARGET_PREFIX = "${TARGET_SYS}-"
56TARGET_CC_ARCH = ""
57
58PACKAGE_ARCH = "${HOST_ARCH}"
59MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
60IPKG_ARCHS = "all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}"
61
62##################################################################
63# Date/time variables.
64##################################################################
65
66DATE := "${@time.strftime('%Y%m%d',time.gmtime())}"
67TIME := "${@time.strftime('%H%M%S',time.gmtime())}"
68DATETIME = "${DATE}${TIME}"
69
70##################################################################
71# Openembedded Software Prerequisites.
72##################################################################
73
74# python-native should be here but python relies on building
75# its own in staging
76ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime texinfo-native"
77
78##################################################################
79# Package default variables.
80##################################################################
81
82PN = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}"
83PV = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.0'}"
84PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}"
85PF = "${PN}-${PV}-${PR}"
86P = "${PN}-${PV}"
87
88# Package info.
89
90SECTION = "base"
91PRIORITY = "optional"
92DESCRIPTION = "Version ${PV}-${PR} of package ${PN}"
93LICENSE = "unknown"
94MAINTAINER = "OpenEmbedded Team <oe@handhelds.org>"
95HOMEPAGE = "unknown"
96
97# Package dependencies and provides.
98
99DEPENDS = ""
100RDEPENDS = ""
101PROVIDES = ""
102PROVIDES_prepend = "${P} ${PF} ${PN} "
103RPROVIDES = ""
104
105PACKAGES = "${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
106FILES = ""
107FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
108 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
109 /bin /sbin /lib/*.so* ${datadir}/${PN} ${libdir}/${PN} \
110 ${datadir}/pixmaps ${datadir}/applications \
111 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
112 ${libdir}/bonobo/servers"
113SECTION_${PN}-doc = "doc"
114FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
115 ${datadir}/gnome/help"
116SECTION_${PN}-dev = "devel"
117FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
118 ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \
119 /lib/*.a /lib/*.o ${datadir}/aclocal"
120FILES_${PN}-locale = "${datadir}/locale"
121
122# File manifest
123
124export MANIFEST = "${FILESDIR}/manifest"
125
126FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}"
127FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
128FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}"
129
130##################################################################
131# General work and output directories for the build system.
132##################################################################
133
134TMPDIR = "${TOPDIR}/tmp"
135CACHE = "${TMPDIR}/cache"
136DL_DIR = "${TMPDIR}/downloads"
137CVSDIR = "${DL_DIR}/cvs"
138GITDIR = "${DL_DIR}/git"
139
140STAMP = "${TMPDIR}/stamps/${PF}"
141WORKDIR = "${TMPDIR}/work/${PF}"
142T = "${WORKDIR}/temp"
143D = "${WORKDIR}/image"
144S = "${WORKDIR}/${P}"
145B = "${S}"
146
147STAGING_DIR = "${TMPDIR}/staging"
148STAGING_BINDIR = "${STAGING_DIR}/${BUILD_SYS}/bin"
149STAGING_LIBDIR = "${STAGING_DIR}/${HOST_SYS}/lib"
150STAGING_INCDIR = "${STAGING_DIR}/${HOST_SYS}/include"
151STAGING_DATADIR = "${STAGING_DIR}/${HOST_SYS}/share"
152STAGING_LOADER_DIR = "${STAGING_DIR}/${HOST_SYS}/loader"
153
154DEPLOY_DIR = "${TMPDIR}/deploy"
155DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar"
156DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk"
157DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm"
158
159##################################################################
160# Kernel info.
161##################################################################
162
163OLDEST_KERNEL = "2.4.0"
164STAGING_KERNEL_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel"
165
166##################################################################
167# Specific image creation and rootfs population info.
168##################################################################
169
170DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
171IMAGE_ROOTFS = "${TMPDIR}/rootfs"
172IMAGE_BASENAME = "rootfs"
173IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
174IMAGE_CMD = ""
175IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
176 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
177 ${EXTRA_IMAGECMD}"
178IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}"
179IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}"
180IMAGE_CMD_ext2.gz = "mkdir ${DEPLOY_DIR_IMAGE}/tmp.gz; genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz; rmdir ${DEPLOY_DIR_IMAGE}/tmp.gz"
181IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend"
182IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
183IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz ."
184IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ."
185EXTRA_IMAGECMD = ""
186EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
187EXTRA_IMAGECMD_squashfs = "-le -b 16384"
188IMAGE_FSTYPE = "jffs2"
189IMAGE_FSTYPES = "${IMAGE_FSTYPE}"
190IMAGE_ROOTFS_SIZE_ext2 = "65536"
191IMAGE_ROOTFS_SIZE_ext2.gz = "65536"
192
193IMAGE_DEPENDS = ""
194IMAGE_DEPENDS_jffs2 = "mtd-utils-native"
195IMAGE_DEPENDS_cramfs = "cramfs-native"
196IMAGE_DEPENDS_ext2 = "genext2fs-native"
197IMAGE_DEPENDS_ext2.gz = "genext2fs-native"
198IMAGE_DEPENDS_squashfs = "squashfs-tools-native"
199EXTRA_IMAGEDEPENDS = ""
200
201##################################################################
202# Toolchain info.
203##################################################################
204
205CROSS_DIR = "${TMPDIR}/cross"
206CROSS_DATADIR = "${CROSS_DIR}/share"
207export PATH_prepend = "${STAGING_BINDIR}/${HOST_SYS}:${STAGING_BINDIR}:${CROSS_DIR}/bin:"
208
209##################################################################
210# Build utility info.
211##################################################################
212
213CCACHE = "${@bb.which(bb.data.getVar('PATH', d), 'ccache') and 'ccache '}"
214
215export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
216export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}"
217export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}"
218export CPP = "${HOST_PREFIX}gcc -E"
219export LD = "${HOST_PREFIX}ld"
220export CCLD = "${CC}"
221export AR = "${HOST_PREFIX}ar"
222export AS = "${HOST_PREFIX}as"
223export RANLIB = "${HOST_PREFIX}ranlib"
224export STRIP = "${HOST_PREFIX}strip"
225
226export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
227export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}"
228export BUILD_F77 = "${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}"
229export BUILD_CPP = "${BUILD_PREFIX}cpp"
230export BUILD_LD = "${BUILD_PREFIX}ld"
231export BUILD_CCLD = "${BUILD_PREFIX}gcc"
232export BUILD_AR = "${BUILD_PREFIX}ar"
233export BUILD_RANLIB = "${BUILD_PREFIX}ranlib"
234export BUILD_STRIP = "${BUILD_PREFIX}strip"
235
236export MAKE = "make"
237EXTRA_OEMAKE = "-e MAKEFLAGS="
238
239##################################################################
240# Build flags and options.
241##################################################################
242
243export BUILD_CPPFLAGS = "-isystem${STAGING_DIR}/${BUILD_SYS}/include"
244export CPPFLAGS = "${TARGET_CPPFLAGS}"
245export TARGET_CPPFLAGS = "-isystem${STAGING_DIR}/${TARGET_SYS}/include"
246
247export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
248export CFLAGS = "${TARGET_CFLAGS}"
249export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}"
250
251export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive"
252export CXXFLAGS = "${TARGET_CXXFLAGS}"
253export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive"
254
255export BUILD_LDFLAGS = "-L${STAGING_DIR}/${BUILD_SYS}/lib \
256 -Wl,-rpath-link,${STAGING_DIR}/${BUILD_SYS}/lib \
257 -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib -Wl,-O1"
258export LDFLAGS = "${TARGET_LDFLAGS}"
259export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \
260 -Wl,-rpath-link,${STAGING_DIR}/${TARGET_SYS}/lib \
261 -Wl,-O1"
262
263# Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
264ALLOWED_FLAGS = "-O -mcpu -march -pipe"
265
266# Pass parallel make options to the compile task only
267EXTRA_OEMAKE_prepend_task_do_compile = "${PARALLEL_MAKE} "
268
269##################################################################
270# Optimization flags.
271##################################################################
272
273FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
274DEBUG_OPTIMIZATION = "-O -g"
275SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"
276BUILD_OPTIMIZATION = "-O2"
277
278##################################################################
279# Bootstrap stuff.
280##################################################################
281
282BOOTSTRAP_EXTRA_RDEPENDS = ""
283BOOTSTRAP_EXTRA_RRECOMMENDS = ""
284
285##################################################################
286# Palmtop stuff.
287##################################################################
288
289export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2"
290export QPEDIR = "${STAGING_DIR}/${HOST_SYS}"
291export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}"
292export palmtopdir = "/opt/QtPalmtop"
293export palmqtdir = "/opt/QtPalmtop"
294
295##################################################################
296# Download locations and utilities.
297##################################################################
298
299GNU_MIRROR = "ftp://ftp.gnu.org/gnu"
300DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool"
301SOURCEFORGE_MIRROR = "http://heanet.dl.sourceforge.net/sourceforge"
302GPE_MIRROR = "http://handhelds.org/pub/projects/gpe/source"
303XLIBS_MIRROR = "http://xlibs.freedesktop.org/release"
304XORG_MIRROR = "http://xorg.freedesktop.org/releases"
305GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
306FREEBSD_MIRROR = "ftp://ftp.freebsd.org/pub/FreeBSD/"
307HANDHELDS_CVS = "cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs"
308E_CVS = "cvs://anonymous@anoncvs.enlightenment.org/var/cvs/e"
309E_URI = "http://enlightenment.freedesktop.org/files"
310FREEDESKTOP_CVS = "cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs"
311GENTOO_MIRROR = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles"
312APACHE_MIRROR = "http://www.apache.org/dist"
313
314# You can use the mirror of your country to get faster downloads by putting
315# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
316# export SOURCEFORGE_MIRROR = "http://belnet.dl.sourceforge.net/sourceforge"
317# into your local.conf
318
319FETCHCOMMAND = "ERROR, this must be a BitBake bug"
320FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}"
321FETCHCOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} co ${CVSCOOPTS} ${CVSMODULE}"
322RESUMECOMMAND = "ERROR, this must be a BitBake bug"
323RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}"
324UPDATECOMMAND = "ERROR, this must be a BitBake bug"
325UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
326SRCDATE = "${DATE}"
327
328SRC_URI = "file://${FILE}"
329
330##################################################################
331# Miscellaneous utilities.
332##################################################################
333
334MKTEMPDIRCMD = "mktemp -d -q ${TMPBASE}"
335MKTEMPCMD = "mktemp -q ${TMPBASE}"
336
337# Program to be used to patch sources, use 'inherit patcher' to overwrite this:
338
339PATCHCLEANCMD = 'if [ -n "`quilt applied`" ]; then quilt pop -a -R -f || exit 1; fi'
340PATCHCMD = "pnum='%s'; name='%s'; patch='%s'; mkdir -p patches ; quilt upgrade >/dev/null 2>&1; quilt import -f -p $pnum -n $name $patch; chmod u+w patches/$name; quilt push"
341PATCH_DEPENDS = "quilt-native"
342
343# GNU patch tries to be intellgent about checking out read-only files from
344# a RCS, which freaks out those special folks with active Perforce clients
345# the following makes patch ignore RCS:
346
347export PATCH_GET=0
348
349# Program to be used to build ipkg packages
350
351IPKGBUILDCMD = "ipkg-build -o 0 -g 0"
352
353##################################################################
354# Not sure about the rest of this yet.
355##################################################################
356
357# slot - currently unused by OE. portage remnants
358SLOT = "0"
359
360# Other
361
362export PKG_CONFIG_PATH = "${STAGING_DATADIR}/pkgconfig"
363export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
364
365export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake"
366export STAGING_SIPDIR = "${STAGING_DIR}/${BUILD_SYS}/share/sip"
367export STAGING_IDLDIR = "${STAGING_DATADIR}/idl"
368
369# default test results for autoconf
370# possible candidate for moving into autotools.oeclass -CL
371export CONFIG_SITE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'site/%s-%s' % (bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('HOST_OS', d, 1)))}"
372
373# library package naming
374AUTO_LIBNAME_PKGS = "${PACKAGES}"
375
376###
377### Config file processing
378###
379
380# This means that an envionment variable named '<foo>_arm' overrides an
381# environment variable '<foo>' (when ${TARGET_ARCH} is arm). And the same: an
382# environment variable '<foo>_ramses' overrides both '<foo>' and '<foo>_arm
383# when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything.
384#
385# This works for functions as well, they are really just environment variables.
386#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}"
387# Alternative OVERRIDES to make compilation fail fast, we will enable it by default soon
388OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
389
390##################################################################
391# Include the rest of the config files.
392##################################################################
393
394include conf/site.conf
395include conf/auto.conf
396include conf/local.conf
397include conf/build/${BUILD_SYS}.conf
398include conf/target/${TARGET_SYS}.conf
399include conf/machine/${MACHINE}.conf
400include conf/distro/${DISTRO}.conf
401include conf/documentation.conf
402require conf/sanity.conf
403
404##################################################################
405# Weak variables (usually to retain backwards compatibility)
406##################################################################
407
408PCMCIA_MANAGER ?= "pcmcia-cs"
409
410
411##################################################################
412# Magic Cookie for SANITY CHECK
413##################################################################
414OES_BITBAKE_CONF = "1"
diff --git a/meta/conf/distro/angstrom-2006.9.conf b/meta/conf/distro/angstrom-2006.9.conf
new file mode 100644
index 0000000000..5c1ed1296d
--- /dev/null
+++ b/meta/conf/distro/angstrom-2006.9.conf
@@ -0,0 +1,126 @@
1#@--------------------------------------------------------------------
2#@TYPE: Distribution
3#@NAME: Angstrom <http://www.angstrom-distribution.org>
4#@DESCRIPTION: The Linux Distribution for Kernel 2.6 based devices
5#@MAINTAINER: Koen Kooi <koen@dominion.kabel.utwente.nl>
6#@MAINTAINER: Michael 'Mickey' Lauer <mickey@Vanille.de>
7#@--------------------------------------------------------------------
8
9#DISTRO_VERSION = "2006.9"
10DISTRO_VERSION = "test-${DATE}"
11
12include conf/distro/angstrom.conf
13
14DISTRO_TYPE = "debug"
15#DISTRO_TYPE = "release"
16#!!!!! DON'T FORGET TO ENABLE ZAPROOTPASSWD !!!!!
17
18
19FEED_URIS += " \
20 base##${ANGSTROM_URI}/unstable/feed/base/"
21# base##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/base \
22# ${MACHINE}##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/${MACHINE} \
23# updates##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/updates"
24
25SRCDATE = "20060518"
26#SRCDATE_handhelds-pxa-2.6 = "20060516"
27
28CVS_TARBALL_STASH = "\
29http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/ \
30http://www.oesources.org/source/current/"
31
32# Opie
33#use 1337 mt version of opie to have a webbrowser
34PALMTOP_USE_MULTITHREADED_QT = "yes"
35QTE_VERSION = "2.3.10"
36OPIE_VERSION = "1.2.2"
37include conf/distro/preferred-opie-versions.inc
38
39# GPE
40include conf/distro/preferred-gpe-versions-2.8.inc
41
42#zap extra stuff taking place in $MACHINE.conf
43GPE_EXTRA_INSTALL = ""
44
45# E
46include conf/distro/preferred-e-versions.inc
47
48PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive"
49PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus"
50PREFERRED_PROVIDER_libx11 = "diet-x11"
51
52
53#Make sure we use 2.6 on machines with a 2.4/2.6 selector
54KERNEL = "kernel26"
55ZKERNEL_VERSION = "2.6"
56
57PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
58PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
59PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
60
61PREFERRED_PROVIDER_virtual/libiconv = "glibc"
62PREFERRED_PROVIDER_virtual/libintl = "glibc"
63
64#EABI stuff
65PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-for-gcc = "glibc-intermediate"
66PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate"
67
68
69#use EABI toolchain
70PREFERRED_VERSION_gcc ?= "4.1.1"
71PREFERRED_VERSION_gcc-cross ?= "4.1.1"
72PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1"
73PREFERRED_VERSION_binutils ?= "2.16.91.0.7"
74PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7"
75PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99"
76PREFERRED_VERSION_glibc ?= "2.4"
77PREFERRED_VERSION_glibc-intermediate ?= "2.4"
78
79# To use an EABI compatible version 3 series gcc, either uncomment
80# the lines below or set them in local.conf:
81#
82# PREFERRED_VERSION_gcc-cross = "3.4.4+csl-arm-2005q3"
83# PREFERRED_VERSION_gcc-cross-initial = "3.4.4+csl-arm-2005q3"
84
85
86PREFERRED_VERSION_orinoco-modules_h3600 = "0.13e"
87PREFERRED_VERSION_orinoco-modules_h3900 = "0.13e"
88PREFERRED_VERSION_dbus ?= "0.61"
89PREFERRED_VERSION_gstreamer ?= "0.10.6"
90
91PREFERRED_PROVIDER_hostap-conf ?= "hostap-conf"
92PREFERRED_PROVIDER_hostap-modules_h2200 ?= "hostap-modules"
93PREFERRED_PROVIDER_hostap-modules_hx4700 ?= "hostap-modules"
94PREFERRED_VERSION_hostap-modules ?= "0.4.7"
95
96#Down here we put stuff we want to install into machines without polluting conf/machine/ with distro stuff
97# c7x0, akita, spitz, nokia770, h2200, h6300, ipaq-pxa270, simpad
98
99#### Bootstrap options ####
100
101PCMCIA_MANAGER_c7x0 = "pcmciautils"
102PCMCIA_MANAGER_akita = "pcmciautils"
103PCMCIA_MANAGER_spitz = "pcmciautils"
104PCMCIA_MANAGER_nokia770 = "pcmciautils"
105PCMCIA_MANAGER_h2200 = "pcmciautils"
106PCMCIA_MANAGER_h6300 = "pcmciautils"
107PCMCIA_MANAGER_ipaq-pxa270 = "pcmciautils"
108
109
110
111#### GPE section ###
112
113#Install libgtkinput in devices without a keyboard
114GPE_EXTRA_INSTALL_append_ipaq-pxa270 = " libgtkinput"
115GPE_EXTRA_INSTALL_append_h2200 = " libgtkinput"
116GPE_EXTRA_INSTALL_append_h6300 = " libgtkinput"
117GPE_EXTRA_INSTALL_append_simpad = " libgtkinput"
118GPE_EXTRA_INSTALL_append_nokia770 = " libgtkinput"
119
120#As soon as a kill switch is in place we can add it to devices with a keyboard
121#GPE_EXTRA_INSTALL_append_c7x0 = " libgtkinput"
122#GPE_EXTRA_INSTALL_append_tosa = " libgtkinput"
123#GPE_EXTRA_INSTALL_append_akita = " libgtkinput"
124#GPE_EXTRA_INSTALL_append_spitz = " libgtkinput"
125
126
diff --git a/meta/conf/distro/angstrom.conf b/meta/conf/distro/angstrom.conf
new file mode 100644
index 0000000000..100017410d
--- /dev/null
+++ b/meta/conf/distro/angstrom.conf
@@ -0,0 +1,45 @@
1#@TYPE: Distribution
2#@NAME: Angstrom
3#@DESCRIPTION: Distribution configuration for Angstrom
4
5DISTRO = "angstrom"
6DISTRO_NAME = "Angstrom"
7
8#Use this variable in feeds and other parts that need a URI
9ANGSTROM_URI = "http://www.angstrom-distribution.org/"
10
11#Set the default maintainer to angstrom-dev
12MAINTAINER = "Angstrom Developers <angstrom-dev@handhelds.org>"
13
14#use ipkg package format with debian style naming
15#use multimachine buildrules
16INHERIT += "package_ipk debian multimachine"
17
18#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable
19PREFERRED_PROVIDER_qemu-native = "qemu-qop-nogfx-native"
20ENABLE_BINARY_LOCALE_GENERATION ?= ""
21
22
23#Use the ARM EABI when building for an ARM cpu. We can't use overrides
24#here because this breaks all places where ":=" is used.
25TARGET_VENDOR = "${@['','-angstrom'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
26TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
27
28#mess with compiler flags to use -Os instead of -O2
29#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info
30FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
31BUILD_OPTIMIZATION = "-Os"
32
33#ARM EABI is softfloat by default, but let's make sure :)
34TARGET_FPU_arm = "soft"
35
36#Always ship these packages
37BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version coreutils dropbear sysvinit"
38BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version coreutils dropbear sysvinit"
39
40#Name the generated images in a sane way
41IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
42DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE}
43
44# Angstrom *always* has some form of release config, so error out if someone thinks he knows better
45DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}"
diff --git a/meta/conf/distro/familiar-unstable.conf b/meta/conf/distro/familiar-unstable.conf
new file mode 100644
index 0000000000..e42456672c
--- /dev/null
+++ b/meta/conf/distro/familiar-unstable.conf
@@ -0,0 +1,77 @@
1DISTRO = "familiar"
2DISTRO_NAME = "Familiar Linux"
3DISTRO_VERSION = "unstable-${DATE}"
4# Do not touch this file before notifying familiar-dev@handhelds.org
5
6include conf/distro/familiar.conf
7
8DISTRO_TYPE = "debug"
9#DISTRO_TYPE = "release"
10#!!!!! DON'T FORGET TO ENABLE ZAPROOTPASSWD !!!!!
11
12
13FEED_URIS += " \
14 base##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/base \
15 ${MACHINE}##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/machine/${MACHINE} \
16 updates##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/updates \
17 locale-en##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/en \
18 locale-fr##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/fr \
19 locale-de##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/de"
20
21#SRCDATE = 20050331
22#SRCDATE = "now"
23
24PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
25PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
26PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
27
28PREFERRED_PROVIDER_virtual/libiconv=glibc
29PREFERRED_PROVIDER_virtual/libintl=glibc
30
31PREFERRED_VERSION_hostap-modules ?= "0.3.9"
32
33#2.4 machines prefer 0.13e ones
34PREFERRED_VERSION_orinoco-modules ?= "0.13e"
35
36#but 0.13e doesn't build against 2.6
37PREFERRED_VERSION_orinoco-modules_h2200 ?= "0.15"
38PREFERRED_VERSION_orinoco-modules_ipaq-pxa270 ?= "0.15"
39
40
41# The CSL compiler is unusable because
42# 1) certain programs stop to compile
43# 2) more programs segfault
44PREFERRED_VERSION_gcc ?= "3.4.4"
45PREFERRED_VERSION_gcc-cross ?= "3.4.4"
46PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4"
47
48#
49# PIN the familiar build to a version
50#
51PREFERRED_VERSION_binutils-cross ?= "2.15.94.0.1"
52PREFERRED_VERSION_binutils ?= "2.15.94.0.1"
53
54#
55# Opie
56#
57
58OPIE_VERSION = "1.2.2"
59QTE_VERSION = "2.3.10"
60PALMTOP_USE_MULTITHREADED_QT = "yes"
61include conf/distro/preferred-opie-versions.inc
62
63#
64# GPE
65#
66
67PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive"
68PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus"
69PREFERRED_PROVIDER_libx11 = "diet-x11"
70
71include conf/distro/preferred-gpe-versions-2.8.inc
72
73#
74# E
75#
76include conf/distro/preferred-e-versions.inc
77
diff --git a/meta/conf/distro/familiar.conf b/meta/conf/distro/familiar.conf
new file mode 100644
index 0000000000..2646fe78a6
--- /dev/null
+++ b/meta/conf/distro/familiar.conf
@@ -0,0 +1,17 @@
1#@TYPE: Distribution
2#@NAME: Familiar Linux
3#@DESCRIPTION: Distribution configuration for Familiar Linux (handhelds.org)
4
5MAINTAINER ?= "Familiar Developers <familiar-dev@handhelds.org>"
6
7INHERIT += "package_ipk debian multimachine"
8TARGET_OS = "linux"
9
10BOOTSTRAP_EXTRA_RDEPENDS += "familiar-version"
11IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}"
12
13ENABLE_BINARY_LOCALE_GENERATION ?= "1"
14PARALLEL_INSTALL_MODULES = "1"
15UDEV_DEVFS_RULES = "1"
16
17DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}"
diff --git a/meta/conf/distro/maemo-1.0.conf b/meta/conf/distro/maemo-1.0.conf
new file mode 100644
index 0000000000..d30ecc9084
--- /dev/null
+++ b/meta/conf/distro/maemo-1.0.conf
@@ -0,0 +1,40 @@
1include conf/distro/familiar.conf
2
3DISTRO = "maemo"
4DISTRO_NAME = "Maemo Linux"
5DISTRO_VERSION = "v1.0b-${DATE}"
6
7DISTRO_TYPE = "debug"
8#DISTRO_TYPE = "release"
9
10FEED_URIS += " \
11 base##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/base \
12 updates##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/updates"
13
14#SRCDATE = 20050331
15
16PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
17PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross"
18PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross"
19
20#PREFERRED_VERSION_binutils-cross = "2.15.91.0.2"
21#PREFERRED_VERSION_gcc-cross = "3.4.4"
22#PREFERRED_VERSION_gcc-cross-initial = "3.4.4
23#PREFERRED_VERSION_libtool-native = "1.5.6"
24#PREFERRED_VERSION_libtool-cross= "1.5.6"
25
26#
27# GPE
28#
29
30PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive"
31PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus"
32PREFERRED_PROVIDER_libx11 = "diet-x11"
33
34include conf/distro/preferred-gpe-versions.inc
35
36#
37# Maemo
38#
39
40include conf/distro/maemo-preferred.inc
diff --git a/meta/conf/distro/maemo-preferred.inc b/meta/conf/distro/maemo-preferred.inc
new file mode 100644
index 0000000000..943f244326
--- /dev/null
+++ b/meta/conf/distro/maemo-preferred.inc
@@ -0,0 +1,10 @@
1PREFERRED_PROVIDER_gconf = "gconf-osso"
2PREFERRED_PROVIDER_tslib = "tslib-maemo"
3PREFERRED_VERSION_dbus = "0.23.1-osso5"
4PREFERRED_VERSION_audiofile = "0.2.6-3osso4"
5PREFERRED_PROVIDER_esd = "osso-esd"
6PREFERRED_VERSION_gtk+ = "2.6.4-1.osso7"
7PREFERRED_VERSION_glib-2.0 = "2.6.4"
8PREFERRED_VERSION_pango = "1.8.1"
9PREFERRED_VERSION_atk = "1.9.0"
10PREFERRED_VERSION_diet-x11 ?= "6.2.1" \ No newline at end of file
diff --git a/meta/conf/distro/openzaurus-unstable.conf b/meta/conf/distro/openzaurus-unstable.conf
new file mode 100644
index 0000000000..9f79c32118
--- /dev/null
+++ b/meta/conf/distro/openzaurus-unstable.conf
@@ -0,0 +1,71 @@
1#@--------------------------------------------------------------------
2#@TYPE: Distribution
3#@NAME: OpenZaurus <http://www.openzaurus.org>
4#@DESCRIPTION: A Linux Distribution for the Sharp Zaurus family
5#@--------------------------------------------------------------------
6
7DISTRO_VERSION = ".dev-snapshot-${DATE}"
8
9CVS_TARBALL_STASH = "\
10http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/ \
11http://www.oesources.org/source/current/"
12
13
14include conf/distro/openzaurus.conf
15
16DISTRO_TYPE = "debug"
17# DISTRO_TYPE = "release"
18
19#FEED_URIS += " \
20# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
21#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
22# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
23# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
24# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
25# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
26# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
27
28SRCDATE = "20060514"
29#
30# Zaurus
31#
32
33ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
34PREFERRED_PROVIDER_hostap-conf = "hostap-conf"
35
36KERNEL_CONSOLE = "ttyS0"
37#DEBUG_OPTIMIZATION = "-O -g3"
38#DEBUG_BUILD = "1"
39#INHIBIT_PACKAGE_STRIP = "1"
40
41# fix some iconv issues, needs to be adjusted when doing uclibc builds
42PREFERRED_PROVIDER_virtual/libiconv = "glibc"
43PREFERRED_PROVIDER_virtual/libintl = "glibc"
44
45#
46# Base
47#
48PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
49PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
50PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
51
52#
53# Opie
54#
55#QTE_VERSION = "2.3.10"
56#OPIE_VERSION = "1.2.2"
57#PALMTOP_USE_MULTITHREADED_QT = "yes"
58include conf/distro/preferred-opie-versions.inc
59
60#
61# GPE
62#
63PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive"
64PREFERRED_PROVIDER_libx11 = "diet-x11"
65include conf/distro/preferred-gpe-versions-2.8.inc
66
67#
68# E
69#
70include conf/distro/preferred-e-versions.inc
71
diff --git a/meta/conf/distro/openzaurus.conf b/meta/conf/distro/openzaurus.conf
new file mode 100644
index 0000000000..b7f456320f
--- /dev/null
+++ b/meta/conf/distro/openzaurus.conf
@@ -0,0 +1,18 @@
1#@TYPE: Distribution
2#@NAME: OpenZaurus
3#@DESCRIPTION: Distribution configuration for OpenZaurus (http://www.openzaurus.org)
4
5DISTRO = "openzaurus"
6DISTRO_NAME = "OpenZaurus"
7
8INHERIT += " package_ipk debian multimachine"
9# For some reason, this doesn't work
10# TARGET_OS ?= "linux"
11TARGET_OS = "linux"
12TARGET_FPU = "soft"
13
14BOOTSTRAP_EXTRA_RDEPENDS += "openzaurus-version"
15
16PARALLEL_INSTALL_MODULES = "1"
17
18DISTRO_CHECK := "${@bb.data.getVar("DISTRO_VERSION",d,1) or bb.fatal('Remove this line or set a dummy DISTRO_VERSION if you really want to build an unversioned distro')}"
diff --git a/meta/conf/distro/poky-eabi.conf b/meta/conf/distro/poky-eabi.conf
new file mode 100644
index 0000000000..d35ec8e441
--- /dev/null
+++ b/meta/conf/distro/poky-eabi.conf
@@ -0,0 +1,23 @@
1#
2# Poky configuration to use EABI
3#
4
5PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-libc-for-gcc = "glibc-intermediate"
6PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate"
7
8PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-2005q3"
9PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-2005q3"
10PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-2005q3"
11#PREFERRED_VERSION_gcc ?= "4.1.0"
12#PREFERRED_VERSION_gcc-cross ?= "4.1.0"
13#PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0"
14PREFERRED_VERSION_binutils ?= "2.16.91.0.7"
15PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7"
16PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99"
17PREFERRED_VERSION_glibc ?= "2.4"
18PREFERRED_VERSION_glibc-intermediate ?= "2.4"
19
20#Use the ARM EABI when building for an ARM cpu. We can't use overrides
21#here because this breaks all places where ":=" is used.
22TARGET_VENDOR = "${@['','-poky'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}"
23TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" \ No newline at end of file
diff --git a/meta/conf/distro/poky-oabi.conf b/meta/conf/distro/poky-oabi.conf
new file mode 100644
index 0000000000..71d6092011
--- /dev/null
+++ b/meta/conf/distro/poky-oabi.conf
@@ -0,0 +1,11 @@
1#
2# Poky configuration to use its Original ABI
3#
4PREFERRED_VERSION_binutils ?= "2.16"
5PREFERRED_VERSION_binutils-cross ?= "2.15.94.0.1"
6PREFERRED_VERSION_gcc ?= "3.4.4"
7PREFERRED_VERSION_gcc-cross ?= "3.4.4"
8PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4"
9PREFERRED_VERSION_linux-libc-headers ?= "2.6.11.1"
10PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627"
11PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc" \ No newline at end of file
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
new file mode 100644
index 0000000000..b30bfda0ac
--- /dev/null
+++ b/meta/conf/distro/poky.conf
@@ -0,0 +1,176 @@
1#@TYPE: Distribution#@NAME: Poky
2#@DESCRIPTION: Distribution configuration for OpenedHand (Poky)
3
4DISTRO = "poky"
5DISTRO_NAME = "OpenedHand Linux (Poky)"
6DISTRO_VERSION = "0.0-snapshot-${DATE}"
7
8# DISTRO_VERSION = "3.5.4"
9DISTRO_TYPE = "debug"
10# DISTRO_TYPE = "release"
11
12
13INHERIT += " package_ipk debian multimachine poky "
14# For some reason, this doesn't work
15# TARGET_OS ?= "linux"
16TARGET_OS = "linux"
17TARGET_FPU ?= "soft"
18IMAGE_ROOTFS_SIZE_ext2 = 131072
19
20PARALLEL_INSTALL_MODULES = "1"
21
22#FEED_URIS += " \
23# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \
24#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \
25# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \
26# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \
27# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \
28# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \
29# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel"
30
31ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
32OEINCLUDELOGS = "yes"
33KERNEL_CONSOLE = "ttyS0"
34#DEBUG_OPTIMIZATION = "-O -g3"
35#DEBUG_BUILD = "1"
36#INHIBIT_PACKAGE_STRIP = "1"
37
38POKYMODE ?= "oabi"
39
40include conf/distro/poky-${POKYMODE}.conf
41
42#
43# Preferred providers:
44#
45# Toolchain:
46PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
47PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
48PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
49
50# Libc/uclibc:
51#fix some iconv issues, needs to be adjusted when doing uclibc builds
52PREFERRED_PROVIDER_virtual/libiconv ?= glibc
53PREFERRED_PROVIDER_virtual/libintl ?= glibc
54
55# Virtuals:
56PREFERRED_PROVIDER_virtual/db ?= "db"
57PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
58PREFERRED_PROVIDER_virtual/xserver ?= xserver-kdrive
59
60# Others:
61PREFERRED_PROVIDER_libx11 ?= "diet-x11"
62PREFERRED_PROVIDER_gconf ?= gconf-dbus
63PREFERRED_PROVIDER_gnome-vfs ?= gnome-vfs-dbus
64PREFERRED_PROVIDER_tslib ?= tslib
65
66
67#
68# CVS Dates to use:
69#
70#SRCDATE_gnome-vfs-dbus ?= "20051215"
71SRCDATE_gconf-dbus ?= "20060119"
72SRCDATE_gnome-vfs-dbus ?= "20060119"
73SRCDATE_contacts ?= "20060707"
74SRCDATE_dates ?= "20060721"
75SRCDATE_gtkhtml2 ?= "20060323"
76SRCDATE_web ?= "20060613"
77SRCDATE_eds-dbus ?= "20060707"
78SRCDATE_minimo ?= "20050401"
79SRCDATE_ipkg-utils-native ?= "20050930"
80SRCDATE_ipkg-link-1 ?= "20050930"
81SRCDATE_ipkg-utils ?= "20050930"
82SRCDATE_ipkg-link ?= "20050930"
83SRCDATE_matchbox-common ?= "20060612"
84SRCDATE_matchbox-config-gtk ?= "20060612"
85SRCDATE_matchbox-desktop ?= "20060612"
86SRCDATE_matchbox-keyboard ?= "20060612"
87SRCDATE_matchbox-panel ?= "20060612"
88SRCDATE_matchbox-panel-manager ?= "20060612"
89SRCDATE_matchbox-stroke ?= "20060612"
90SRCDATE_matchbox-themes-extra ?= "20060612"
91SRCDATE_matchbox-wm ?= "20060612"
92SRCDATE_libmatchbox ?= "20060612"
93SRCDATE_tslib ?= "20051101"
94SRCDATE_libxext ?= "20051101"
95SRCDATE_renderext ?= "20051101"
96SRCDATE_libxrender ?= "20051101"
97SRCDATE_fixesext ?= "20051101"
98SRCDATE_damageext ?= "20051101"
99SRCDATE_compositeext ?= "20051101"
100SRCDATE_xcalibrateext ?= "20051101"
101SRCDATE_recordext ?= "20051101"
102SRCDATE_libfakekey ?= "20051101"
103SRCDATE_xmodmap ?= "20051101"
104SRCDATE_libxrandr ?= "20051101"
105SRCDATE_libxtst ?= "20051101"
106SRCDATE_xcalibrate ?= "20051101"
107SRCDATE_libxmu ?= "20051115"
108SRCDATE_xdpyinfo ?= "20051115"
109SRCDATE_xauth ?= "20060120"
110SRCDATE_xserver-kdrive = "20050207"
111SRCDATE_qemu-native ?= "20060526"
112SRCDATE_oprofile ?= "20060214"
113SRCDATE_zaurusd ?= "20060628"
114
115#
116# Preferred Versions:
117#
118PREFERRED_VERSION_matchbox ?= "0.9.1"
119PREFERRED_VERSION_matchbox-applet-inputmanager ?= "0.6"
120PREFERRED_VERSION_matchbox-applet-startup-monitor ?= "0.1"
121PREFERRED_VERSION_matchbox-common ?= "0.9.1+svn${SRCDATE}"
122PREFERRED_VERSION_matchbox-config-gtk ?= "0.0+svn${SRCDATE}"
123PREFERRED_VERSION_matchbox-desktop ?= "0.9.1+svn${SRCDATE}"
124PREFERRED_VERSION_matchbox-keyboard ?= "0.0+svn${SRCDATE}"
125PREFERRED_VERSION_matchbox-panel ?= "0.9.2+svn${SRCDATE}"
126PREFERRED_VERSION_matchbox-stroke ?= "0.0+svn${SRCDATE}"
127PREFERRED_VERSION_matchbox-themes-extra ?= "0.3+svn${SRCDATE}"
128PREFERRED_VERSION_matchbox-wm ?= "0.9.5+svn${SRCDATE}"
129PREFERRED_VERSION_libmatchbox ?= "1.7+svn${SRCDATE}"
130PREFERRED_VERSION_xserver-kdrive = "0.0+cvs${SRCDATE}"
131
132PREFERRED_VERSION_glib-2.0 ?= "2.10.3"
133PREFERRED_VERSION_glib-2.0-native ?= "2.10.3"
134PREFERRED_VERSION_atk ?= "1.10.1"
135PREFERRED_VERSION_cairo = "1.0.4"
136PREFERRED_VERSION_gtk+ ?= "2.6.8"
137#PREFERRED_VERSION_gtk+ ?= "2.8.16"
138PREFERRED_VERSION_pango ?= "1.10.0"
139
140PREFERRED_VERSION_dbus ?= "0.60"
141PREFERRED_VERSION_gnome-vfs-dbus ?= "2.12.0+cvs${SRCDATE}"
142
143PREFERRED_VERSION_diet-x11 ?= "6.2.1"
144PREFERRED_VERSION_dillo2 ?= "0.6.6"
145PREFERRED_VERSION_evince ?= "0.3.2"
146PREFERRED_VERSION_firefox ?= "1.0"
147PREFERRED_VERSION_gaim ?= "2.0.0-cvs-mco1-20050904"
148PREFERRED_VERSION_gtk2-theme-angelistic ?= "0.3"
149PREFERRED_VERSION_gsoko ?= "0.4.2-gpe6"
150PREFERRED_VERSION_keylaunch ?= "2.0.7"
151PREFERRED_VERSION_librsvg ?= "2.6.5"
152PREFERRED_VERSION_libgsm ?= "1.0.10"
153PREFERRED_VERSION_libschedule ?= "0.15"
154PREFERRED_VERSION_linphone-hh ?= "0.12.2.hh1"
155PREFERRED_VERSION_linphone ?= "0.12.2"
156PREFERRED_VERSION_minilite ?= "0.49"
157PREFERRED_VERSION_minimo ?= "0.0+cvs${SRCDATE_minimo}"
158PREFERRED_VERSION_poppler ?= "0.3.3"
159PREFERRED_VERSION_rosetta ?= "0.0+cvs${SRCDATE}"
160PREFERRED_VERSION_rxvt-unicode ?= "5.6"
161PREFERRED_VERSION_xcursor-transparent-theme ?= "0.1.1"
162PREFERRED_VERSION_xdemineur ?= "2.1.1"
163PREFERRED_VERSION_xextensions ?= "1.0.1"
164PREFERRED_VERSION_xhost ?= "0.0+cvs20040413"
165PREFERRED_VERSION_xmonobut ?= "0.4"
166PREFERRED_VERSION_xprop ?= "0.0+cvs${SRCDATE}"
167PREFERRED_VERSION_xproto ?= "6.6.2"
168PREFERRED_VERSION_xrdb ?= "0.0+cvs${SRCDATE}"
169PREFERRED_VERSION_xst ?= "0.15"
170PREFERRED_VERSION_oprofile ?= "0.9.1+cvs${SRCDATE}"
171
172PCMCIA_MANAGER ?= "pcmciautils"
173
174CVS_TARBALL_STASH += "http://www.o-hand.com/~richard/poky/sources/"
175
176IMAGE_LINGUAS = "en-gb"
diff --git a/meta/conf/distro/preferred-e-versions.inc b/meta/conf/distro/preferred-e-versions.inc
new file mode 100644
index 0000000000..607acad858
--- /dev/null
+++ b/meta/conf/distro/preferred-e-versions.inc
@@ -0,0 +1,33 @@
1#
2# Specify which versions of E-related libraries and applications to build
3#
4
5#PREFERRED_VERSION_e = "0.16.999.025"
6#PREFERRED_VERSION_ecore-x11 = "0.9.9.025"
7#PREFERRED_VERSION_ecore-native = "0.9.9.025"
8#PREFERRED_VERSION_edb = "1.0.5.006"
9#PREFERRED_VERSION_edb-native = "1.0.5.006"
10#PREFERRED_VERSION_edje = "0.5.0.025"
11#PREFERRED_VERSION_edje-native = "0.5.0.025"
12#PREFERRED_VERSION_eet = "0.9.10.025"
13#PREFERRED_VERSION_eet-native = "0.9.10.025"
14#PREFERRED_VERSION_embryo = "0.9.1.025"
15#PREFERRED_VERSION_embryo-native = "0.9.1.025"
16#PREFERRED_VERSION_emotion = "0.0.1.004"
17#PREFERRED_VERSION_emotion-native = "0.0.1.004"
18#PREFERRED_VERSION_epeg = "0.9.0.006"
19#PREFERRED_VERSION_epsilon = "0.3.0.006"
20#PREFERRED_VERSION_esmart-x11 = "0.9.0.006"
21#PREFERRED_VERSION_evas-x11 = "0.9.9.025"
22#PREFERRED_VERSION_evas-native = "0.9.9.025"
23#PREFERRED_VERSION_ewl = "0.0.4.006"
24#PREFERRED_VERSION_imlib2-x11 = "1.2.1.011"
25#PREFERRED_VERSION_imlib2-native = "1.2.1.011"
26#PREFERRED_VERSION_e-wm = "0.16.999.025"
27#PREFERRED_VERSION_entrance = "0.9.0.006"
28
29PREFERRED_PROVIDER_virtual/evas ?= "evas-x11"
30PREFERRED_PROVIDER_virtual/ecore ?= "ecore-x11"
31PREFERRED_PROVIDER_virtual/imlib2 ?= "imlib2-x11"
32PREFERRED_PROVIDER_virtual/esmart ?= "esmart-x11"
33
diff --git a/meta/conf/distro/preferred-gpe-versions-2.7.inc b/meta/conf/distro/preferred-gpe-versions-2.7.inc
new file mode 100644
index 0000000000..933195977d
--- /dev/null
+++ b/meta/conf/distro/preferred-gpe-versions-2.7.inc
@@ -0,0 +1,96 @@
1#
2# Specify which versions of GPE (and related) applications to build
3#
4
5#work around some breakages
6#SRCDATE_minimo=20050401
7
8#set some preferred providers:
9PREFERRED_PROVIDER_gconf=gconf-dbus
10PREFERRED_PROVIDER_gnome-vfs=gnome-vfs-dbus
11
12#specify versions, as the header says :)
13PREFERRED_VERSION_libmatchbox ?= "1.7"
14PREFERRED_VERSION_matchbox ?= "0.9.1"
15PREFERRED_VERSION_matchbox-common ?= "0.9.1"
16PREFERRED_VERSION_matchbox-desktop ?= "0.9.1"
17PREFERRED_VERSION_matchbox-wm ?= "0.9.5+svn${SRCDATE}"
18PREFERRED_VERSION_matchbox-panel ?= "0.9.2"
19PREFERRED_VERSION_matchbox-applet-inputmanager ?= "0.6"
20PREFERRED_VERSION_atk ?= "1.9.0"
21PREFERRED_VERSION_cairo ?= "0.5.2"
22PREFERRED_VERSION_glib-2.0 ?= "2.6.4"
23PREFERRED_VERSION_gtk+ ?= "2.6.10"
24PREFERRED_VERSION_pango ?= "1.8.1"
25PREFERRED_VERSION_librsvg ?= "2.6.5"
26PREFERRED_VERSION_libgpewidget ?= "0.109"
27PREFERRED_VERSION_libgpepimc ?= "0.5"
28PREFERRED_VERSION_libgpevtype ?= "0.14"
29PREFERRED_VERSION_libschedule ?= "0.15"
30PREFERRED_VERSION_libcontactsdb ?= "0.3"
31PREFERRED_VERSION_libtododb ?= "0.09"
32PREFERRED_VERSION_gpe-icons ?= "0.25"
33PREFERRED_VERSION_libgsm ?= "1.0.10"
34PREFERRED_VERSION_diet-x11 ?= "6.2.1"
35PREFERRED_VERSION_xproto ?= "6.6.2"
36PREFERRED_VERSION_xcursor-transparent-theme ?= "0.1.1"
37PREFERRED_VERSION_rxvt-unicode ?= "5.6"
38PREFERRED_VERSION_gtk2-theme-angelistic ?= "0.3"
39PREFERRED_VERSION_xst ?= "0.15"
40PREFERRED_VERSION_xextensions ?= "1.0.1"
41PREFERRED_VERSION_xserver-kdrive = "0.0+cvs20050207"
42PREFERRED_VERSION_xprop ?= "0.0+cvs${SRCDATE}"
43PREFERRED_VERSION_xhost ?= "0.0+cvs20040413"
44PREFERRED_VERSION_xrdb ?= "0.0+cvs${SRCDATE}"
45PREFERRED_VERSION_gpe-login ?= "0.83"
46PREFERRED_VERSION_gpe-session-scripts ?= "0.66"
47PREFERRED_VERSION_gpe-soundserver ?= "0.4-1"
48PREFERRED_VERSION_gpe-todo ?= "0.55"
49PREFERRED_VERSION_gpe-calendar ?= "0.70"
50PREFERRED_VERSION_gpe-sketchbook ?= "0.2.9"
51PREFERRED_VERSION_gpe-contacts ?= "0.43"
52PREFERRED_VERSION_gpe-today ?= "0.10"
53PREFERRED_VERSION_matchbox-panel-manager ?= "0.1"
54PREFERRED_VERSION_dbus ?= "0.23.4"
55PREFERRED_VERSION_gpe-beam ?= "0.2.8"
56PREFERRED_VERSION_gpe-bluetooth ?= "0.51"
57PREFERRED_VERSION_gpe-su ?= "0.19"
58PREFERRED_VERSION_gpe-conf ?= "0.1.29"
59PREFERRED_VERSION_gpe-clock ?= "0.23"
60PREFERRED_VERSION_gpe-mininet ?= "0.7"
61PREFERRED_VERSION_gpe-mixer ?= "0.42"
62PREFERRED_VERSION_gpe-shield ?= "0.8"
63PREFERRED_VERSION_gpe-wlancfg ?= "0.2.6"
64PREFERRED_VERSION_gpe-taskmanager ?= "0.19"
65PREFERRED_VERSION_keylaunch ?= "2.0.7"
66PREFERRED_VERSION_minilite ?= "0.49"
67PREFERRED_VERSION_xmonobut ?= "0.4"
68PREFERRED_VERSION_gpe-edit ?= "0.29"
69PREFERRED_VERSION_gpe-gallery ?= "0.96"
70PREFERRED_VERSION_gpe-calculator ?= "0.2"
71PREFERRED_VERSION_gpe-package ?= "0.3"
72PREFERRED_VERSION_gpe-soundbite ?= "1.0.6"
73PREFERRED_VERSION_gpe-terminal ?= "1.1"
74PREFERRED_VERSION_gpe-watch ?= "0.10"
75PREFERRED_VERSION_gpe-what ?= "0.42"
76PREFERRED_VERSION_gpe-filemanager ?= "0.23"
77PREFERRED_VERSION_gpe-go ?= "0.05"
78PREFERRED_VERSION_gpe-irc ?= "0.07"
79PREFERRED_VERSION_gpe-lights ?= "0.13"
80#PREFERRED_VERSION_gpe-nmf ?= "0.21"
81PREFERRED_VERSION_gpe-othello ?= "0.2-1"
82PREFERRED_VERSION_gpe-plucker ?= "0.2"
83PREFERRED_VERSION_gpe-tetris ?= "0.6-4"
84PREFERRED_VERSION_gsoko ?= "0.4.2-gpe6"
85PREFERRED_VERSION_xdemineur ?= "2.1.1"
86PREFERRED_VERSION_matchbox-panel-hacks ?= "0.3-1"
87PREFERRED_VERSION_rosetta ?= "0.0+cvs${SRCDATE}"
88PREFERRED_VERSION_dillo2 ?= "0.6.6"
89PREFERRED_VERSION_minimo ?= "0.0+cvs${SRCDATE}"
90PREFERRED_VERSION_linphone-hh ?= "0.12.2.hh1"
91PREFERRED_VERSION_linphone ?= "0.12.2"
92PREFERRED_VERSION_firefox ?= "1.0"
93PREFERRED_VERSION_gaim ?= "2.0.0+cvs20050904-mco1"
94PREFERRED_VERSION_poppler ?= "0.3.3"
95PREFERRED_VERSION_evince ?= "0.3.2"
96PREFERRED_VERSION_gpe_mini_browser ?= "0.19"
diff --git a/meta/conf/distro/preferred-opie-versions.inc b/meta/conf/distro/preferred-opie-versions.inc
new file mode 100644
index 0000000000..51c9937628
--- /dev/null
+++ b/meta/conf/distro/preferred-opie-versions.inc
@@ -0,0 +1,206 @@
1#
2# Default versions
3QTE_VERSION ?= "2.3.10"
4OPIE_VERSION ?= "1.2.2"
5PALMTOP_USE_MULTITHREADED_QT ?= "yes"
6
7#
8#
9# Opie libraries
10#
11PREFERRED_PROVIDER_virtual/libqte2 = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}'
12PREFERRED_PROVIDER_virtual/libqpe1 = "libqpe-opie"
13PREFERRED_VERSION_qte-mt = "${QTE_VERSION}"
14PREFERRED_VERSION_qte = "${QTE_VERSION}"
15PREFERRED_VERSION_libopie2 = "${OPIE_VERSION}"
16PREFERRED_VERSION_libopieobex0 = "${OPIE_VERSION}"
17PREFERRED_VERSION_libopietooth1 = "${OPIE_VERSION}"
18PREFERRED_VERSION_libqpe-opie = "${OPIE_VERSION}"
19PREFERRED_VERSION_libqtaux2 = "${OPIE_VERSION}"
20PREFERRED_VERSION_libmailwrapper = "${OPIE_VERSION}"
21#
22# Opie applications
23#
24PREFERRED_VERSION_opie-aboutapplet = "${OPIE_VERSION}"
25PREFERRED_VERSION_opie-addressbook = "${OPIE_VERSION}"
26PREFERRED_VERSION_opie-advancedfm = "${OPIE_VERSION}"
27PREFERRED_VERSION_opie-alarm = "${OPIE_VERSION}"
28PREFERRED_VERSION_opie-appearance = "${OPIE_VERSION}"
29PREFERRED_VERSION_opie-aqpkg = "${OPIE_VERSION}"
30PREFERRED_VERSION_opie-autorotateapplet = "${OPIE_VERSION}"
31PREFERRED_VERSION_opie-backgammon = "${OPIE_VERSION}"
32PREFERRED_VERSION_opie-backup = "${OPIE_VERSION}"
33PREFERRED_VERSION_opie-bartender = "${OPIE_VERSION}"
34PREFERRED_VERSION_opie-batteryapplet = "${OPIE_VERSION}"
35PREFERRED_VERSION_opie-bluepin = "${OPIE_VERSION}"
36PREFERRED_VERSION_opie-bluetoothapplet = "${OPIE_VERSION}"
37PREFERRED_VERSION_opie-bluetoothmanager = "${OPIE_VERSION}"
38PREFERRED_VERSION_opie-bounce = "${OPIE_VERSION}"
39PREFERRED_VERSION_opie-brightnessapplet = "${OPIE_VERSION}"
40PREFERRED_VERSION_opie-button-settings = "${OPIE_VERSION}"
41PREFERRED_VERSION_opie-buzzword = "${OPIE_VERSION}"
42PREFERRED_VERSION_opie-calculator = "${OPIE_VERSION}"
43PREFERRED_VERSION_opie-calibrate = "${OPIE_VERSION}"
44PREFERRED_VERSION_opie-camera = "${OPIE_VERSION}"
45PREFERRED_VERSION_opie-cardmon = "${OPIE_VERSION}"
46PREFERRED_VERSION_opie-checkbook = "${OPIE_VERSION}"
47PREFERRED_VERSION_opie-citytime = "${OPIE_VERSION}"
48PREFERRED_VERSION_opie-clipboardapplet = "${OPIE_VERSION}"
49PREFERRED_VERSION_opie-clockapplet = "${OPIE_VERSION}"
50PREFERRED_VERSION_opie-clock = "${OPIE_VERSION}"
51PREFERRED_VERSION_opie-confeditor = "${OPIE_VERSION}"
52PREFERRED_VERSION_opie-console = "${OPIE_VERSION}"
53PREFERRED_VERSION_opie-dagger = "${OPIE_VERSION}"
54PREFERRED_VERSION_opie-dasher = "${OPIE_VERSION}"
55PREFERRED_VERSION_opie-datebook = "${OPIE_VERSION}"
56PREFERRED_VERSION_opie-datebook-chrisholidayplugin = "${OPIE_VERSION}"
57PREFERRED_VERSION_opie-datebook-nationalholidayplugin = "${OPIE_VERSION}"
58PREFERRED_VERSION_opie-datebook-birthdayplugin = "${OPIE_VERSION}"
59PREFERRED_VERSION_opie-deco-flat = "${OPIE_VERSION}"
60PREFERRED_VERSION_opie-deco-liquid = "${OPIE_VERSION}"
61PREFERRED_VERSION_opie-deco-polished = "${OPIE_VERSION}"
62PREFERRED_VERSION_opie-doctab = "${OPIE_VERSION}"
63PREFERRED_VERSION_opie-drawpad = "${OPIE_VERSION}"
64PREFERRED_VERSION_opie-dvorak = "${OPIE_VERSION}"
65PREFERRED_VERSION_opie-embeddedkonsole = "${OPIE_VERSION}"
66PREFERRED_VERSION_opie-euroconv = "${OPIE_VERSION}"
67PREFERRED_VERSION_opie-examples-python = "${OPIE_VERSION}"
68PREFERRED_VERSION_opie-eye = "${OPIE_VERSION}"
69PREFERRED_VERSION_opie-fifteen = "${OPIE_VERSION}"
70PREFERRED_VERSION_opie-formatter = "${OPIE_VERSION}"
71PREFERRED_VERSION_opie-freetype = "${OPIE_VERSION}"
72PREFERRED_VERSION_opie-ftplib = "${OPIE_VERSION}"
73PREFERRED_VERSION_opie-ftp = "${OPIE_VERSION}"
74PREFERRED_VERSION_opie-go = "${OPIE_VERSION}"
75PREFERRED_VERSION_opie-gutenbrowser = "${OPIE_VERSION}"
76PREFERRED_VERSION_opie-handwriting = "${OPIE_VERSION}"
77PREFERRED_VERSION_opie-helpbrowser = "${OPIE_VERSION}"
78PREFERRED_VERSION_opie-help-en = "${OPIE_VERSION}"
79PREFERRED_VERSION_opie-homeapplet = "${OPIE_VERSION}"
80PREFERRED_VERSION_opie-i18n = "${OPIE_VERSION}"
81PREFERRED_VERSION_opie-lrelease-native = "${OPIE_VERSION}"
82PREFERRED_VERSION_opie-lupdate-native = "${OPIE_VERSION}"
83PREFERRED_VERSION_opie-icon-reload = "${OPIE_VERSION}"
84PREFERRED_VERSION_opie-irc = "${OPIE_VERSION}"
85PREFERRED_VERSION_opie-irdaapplet = "${OPIE_VERSION}"
86PREFERRED_VERSION_opie-jumpx = "${OPIE_VERSION}"
87PREFERRED_VERSION_opie-kbill = "${OPIE_VERSION}"
88PREFERRED_VERSION_opie-kcheckers = "${OPIE_VERSION}"
89PREFERRED_VERSION_opie-keyboard = "${OPIE_VERSION}"
90PREFERRED_VERSION_opie-keypebble = "${OPIE_VERSION}"
91PREFERRED_VERSION_opie-keytabs = "${OPIE_VERSION}"
92PREFERRED_VERSION_opie-keyview = "${OPIE_VERSION}"
93PREFERRED_VERSION_opie-kjumpx = "${OPIE_VERSION}"
94PREFERRED_VERSION_opie-kpacman = "${OPIE_VERSION}"
95PREFERRED_VERSION_opie-language = "${OPIE_VERSION}"
96PREFERRED_VERSION_opie-launcher-settings = "${OPIE_VERSION}"
97PREFERRED_VERSION_opie-libqrsync = "${OPIE_VERSION}"
98PREFERRED_VERSION_opie-light-and-power = "${OPIE_VERSION}"
99PREFERRED_VERSION_opie-lockapplet = "${OPIE_VERSION}"
100PREFERRED_VERSION_opie-login = "${OPIE_VERSION}"
101PREFERRED_VERSION_opie-logoutapplet = "${OPIE_VERSION}"
102PREFERRED_VERSION_opie-mailapplet = "${OPIE_VERSION}"
103PREFERRED_VERSION_opie-mail = "${OPIE_VERSION}"
104PREFERRED_VERSION_opie-mediaplayer1-libmadplugin = "${OPIE_VERSION}"
105PREFERRED_VERSION_opie-mediaplayer1-libmodplugin = "${OPIE_VERSION}"
106PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin = "${OPIE_VERSION}"
107PREFERRED_VERSION_opie-mediaplayer1-libwavplugin = "${OPIE_VERSION}"
108PREFERRED_VERSION_opie-mediaplayer1 = "${OPIE_VERSION}"
109PREFERRED_VERSION_opie-mediaplayer2 = "${OPIE_VERSION}"
110PREFERRED_VERSION_opie-mediaplayer2-skin-default = "${OPIE_VERSION}"
111PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape = "${OPIE_VERSION}"
112PREFERRED_VERSION_opie-mediaplayer2-skin-pod = "${OPIE_VERSION}"
113PREFERRED_VERSION_opie-mediaplayer2-skin-techno = "${OPIE_VERSION}"
114PREFERRED_VERSION_opie-mediummount = "${OPIE_VERSION}"
115PREFERRED_VERSION_opie-memoryapplet = "${OPIE_VERSION}"
116PREFERRED_VERSION_opie-mindbreaker = "${OPIE_VERSION}"
117PREFERRED_VERSION_opie-minesweep = "${OPIE_VERSION}"
118PREFERRED_VERSION_opie-mobilemsg = "${OPIE_VERSION}"
119PREFERRED_VERSION_opie-multikeyapplet = "${OPIE_VERSION}"
120PREFERRED_VERSION_opie-multikey = "${OPIE_VERSION}"
121PREFERRED_VERSION_opie-networkapplet = "${OPIE_VERSION}"
122PREFERRED_VERSION_opie-networksettings = "${OPIE_VERSION}"
123PREFERRED_VERSION_opie-notesapplet = "${OPIE_VERSION}"
124PREFERRED_VERSION_opie-odict = "${OPIE_VERSION}"
125PREFERRED_VERSION_opie-osearch = "${OPIE_VERSION}"
126PREFERRED_VERSION_opie-oxygen = "${OPIE_VERSION}"
127PREFERRED_VERSION_opie-oyatzee = "${OPIE_VERSION}"
128PREFERRED_VERSION_opie-packagemanager = "${OPIE_VERSION}"
129PREFERRED_VERSION_opie-parashoot = "${OPIE_VERSION}"
130PREFERRED_VERSION_opie-pcmciaapplet = "${OPIE_VERSION}"
131PREFERRED_VERSION_opie-performance = "${OPIE_VERSION}"
132PREFERRED_VERSION_opie-pickboard = "${OPIE_VERSION}"
133PREFERRED_VERSION_opie-pics = "${OPIE_VERSION}"
134PREFERRED_VERSION_opie-pimconverter = "${OPIE_VERSION}"
135PREFERRED_VERSION_opie-powerchord = "${OPIE_VERSION}"
136PREFERRED_VERSION_opie-pyquicklaunchapplet = "${OPIE_VERSION}"
137PREFERRED_VERSION_opie-qasteroids = "${OPIE_VERSION}"
138PREFERRED_VERSION_opie-qcop = "${OPIE_VERSION}"
139PREFERRED_VERSION_opie-quicklauncher = "${OPIE_VERSION}"
140PREFERRED_VERSION_opie-qss = "${OPIE_VERSION}"
141PREFERRED_VERSION_opie-rdesktop = "${OPIE_VERSION}"
142PREFERRED_VERSION_opie-reader = "${OPIE_VERSION}"
143PREFERRED_VERSION_opie-recorder = "${OPIE_VERSION}"
144PREFERRED_VERSION_opie-remote = "${OPIE_VERSION}"
145PREFERRED_VERSION_opie-restartapplet2 = "${OPIE_VERSION}"
146PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}"
147PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}"
148PREFERRED_VERSION_opie-rotateapplet = "${OPIE_VERSION}"
149PREFERRED_VERSION_opie-screenshotapplet = "${OPIE_VERSION}"
150PREFERRED_VERSION_opie-search = "${OPIE_VERSION}"
151PREFERRED_VERSION_opie-security = "${OPIE_VERSION}"
152PREFERRED_VERSION_opie-securityplugin-blueping = "${OPIE_VERSION}"
153PREFERRED_VERSION_opie-securityplugin-dummy = "${OPIE_VERSION}"
154PREFERRED_VERSION_opie-securityplugin-notice = "${OPIE_VERSION}"
155PREFERRED_VERSION_opie-securityplugin-pin = "${OPIE_VERSION}"
156PREFERRED_VERSION_opie-sfcave = "${OPIE_VERSION}"
157PREFERRED_VERSION_opie-sheet = "${OPIE_VERSION}"
158PREFERRED_VERSION_opie-sh = "${OPIE_VERSION}"
159PREFERRED_VERSION_opie-showimg = "${OPIE_VERSION}"
160PREFERRED_VERSION_opie-snake = "${OPIE_VERSION}"
161PREFERRED_VERSION_opie-solitaire = "${OPIE_VERSION}"
162PREFERRED_VERSION_opie-sshkeys = "${OPIE_VERSION}"
163PREFERRED_VERSION_opie-style-flat = "${OPIE_VERSION}"
164PREFERRED_VERSION_opie-style-fresh = "${OPIE_VERSION}"
165PREFERRED_VERSION_opie-style-liquid = "${OPIE_VERSION}"
166PREFERRED_VERSION_opie-style-metal = "${OPIE_VERSION}"
167PREFERRED_VERSION_opie-style-phase = "${OPIE_VERSION}"
168PREFERRED_VERSION_opie-style-web = "${OPIE_VERSION}"
169PREFERRED_VERSION_opie-sounds = "${OPIE_VERSION}"
170PREFERRED_VERSION_opie-suspendapplet = "${OPIE_VERSION}"
171PREFERRED_VERSION_opie-symlinker = "${OPIE_VERSION}"
172PREFERRED_VERSION_opie-sysinfo = "${OPIE_VERSION}"
173PREFERRED_VERSION_opie-systemtime = "${OPIE_VERSION}"
174PREFERRED_VERSION_opie-tableviewer = "${OPIE_VERSION}"
175PREFERRED_VERSION_opie-tabmanager = "${OPIE_VERSION}"
176PREFERRED_VERSION_opie-taskbar = "${OPIE_VERSION}"
177PREFERRED_VERSION_opie-tetrix = "${OPIE_VERSION}"
178PREFERRED_VERSION_opie-textedit = "${OPIE_VERSION}"
179PREFERRED_VERSION_opie-theme = "${OPIE_VERSION}"
180PREFERRED_VERSION_opie-tictac = "${OPIE_VERSION}"
181PREFERRED_VERSION_opie-tinykate = "${OPIE_VERSION}"
182PREFERRED_VERSION_opie-today-addressbookplugin = "${OPIE_VERSION}"
183PREFERRED_VERSION_opie-today-datebookplugin = "${OPIE_VERSION}"
184PREFERRED_VERSION_opie-today-fortuneplugin = "${OPIE_VERSION}"
185PREFERRED_VERSION_opie-today-mailplugin = "${OPIE_VERSION}"
186PREFERRED_VERSION_opie-today = "${OPIE_VERSION}"
187PREFERRED_VERSION_opie-today-stocktickerplugin = "${OPIE_VERSION}"
188PREFERRED_VERSION_opie-today-todolistplugin = "${OPIE_VERSION}"
189PREFERRED_VERSION_opie-today-weatherplugin = "${OPIE_VERSION}"
190PREFERRED_VERSION_opie-todo = "${OPIE_VERSION}"
191PREFERRED_VERSION_opie-tonleiter = "${OPIE_VERSION}"
192PREFERRED_VERSION_opie-unikeyboard = "${OPIE_VERSION}"
193PREFERRED_VERSION_opie-usermanager = "${OPIE_VERSION}"
194PREFERRED_VERSION_opie-vmemo = "${OPIE_VERSION}"
195PREFERRED_VERSION_opie-vmemo-settings = "${OPIE_VERSION}"
196PREFERRED_VERSION_opie-volumeapplet = "${OPIE_VERSION}"
197PREFERRED_VERSION_opie-vtapplet = "${OPIE_VERSION}"
198PREFERRED_VERSION_opie-wellenreiter = "${OPIE_VERSION}"
199PREFERRED_VERSION_opie-wirelessapplet = "${OPIE_VERSION}"
200PREFERRED_VERSION_opie-wordgame = "${OPIE_VERSION}"
201PREFERRED_VERSION_opie-write = "${OPIE_VERSION}"
202PREFERRED_VERSION_opie-zkbapplet = "${OPIE_VERSION}"
203PREFERRED_VERSION_opie-zlines = "${OPIE_VERSION}"
204PREFERRED_VERSION_opie-zsafe = "${OPIE_VERSION}"
205PREFERRED_VERSION_opie-zsame = "${OPIE_VERSION}"
206PREFERRED_VERSION_konqueror-embedded = "20060404"
diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
new file mode 100644
index 0000000000..c07c8fa68b
--- /dev/null
+++ b/meta/conf/documentation.conf
@@ -0,0 +1,104 @@
1# this file holds documentation for known keys, possible values and
2# their meaning. Please update, correct and extend this documentation.
3# Mail your changes to oe@handhelds.org
4
5# conf/bitbake.conf
6PREFERRED_VERSION[doc] = 'Normally use it as PREFERRED_VERSION_package-name = "" to set the preferred \
7version of more than one version for the package-name is available.'
8
9BUILD_ARCH[doc] = "The name of the building architecture. E.g. i686."
10BUILD_OS[doc] = "The operating system (in lower case) of the building architecture. E.g \
11linux."
12BUILD_VENDOR[doc] = "FIXME"
13BUILD_SYS[doc] = "FIXME"
14BUILD_PREFIX[doc] = "FIXME"
15BUILD_CC_ARCH[doc] = "FIXME"
16
17HOST_ARCH[doc] = "The name of the target architecture. Normally same as the TARGET_ARCH. @see TARGET_ARCH @group base"
18HOST_OS[doc] = "The name of the target operating system. Normally the same as the TARGET_OS. \
19@see TARGET_OS @group base"
20HOST_VENDOR[doc] = "The name of the vendor. Normally same as the TARGET_VENDOR. @see TARGET_VENDOR"
21HOST_SYS[doc] = "FIXME"
22HOST_PREFIX[doc] = "Normally same as the TARGET_PREFIX. @see TARGET_PREFIX @group base"
23HOST_CC_ARCH[doc] = "Normally same as the TARGET_CC_ARCH. @see TARGET_CC_ARCH @group base"
24HOST_NONSYSV[doc] = 'This flag can be set to "1" if the host system is not SysV compatible. E.g.\
25fakeroot-native will be build with tcp as IPC implementation.'
26
27TARGET_ARCH[doc] = "Build for which architecture. Examples are arm, i686, sh3, mips, powerpc."
28TARGET_OS[doc] = 'Build for which Operating System. Currently possible values are \
29linux and linux-uclibc. When using linux-uclibc you might want to set USE_NLS_gcc-cross to "no".'
30TARGET_VENDOR[doc] = "FIXME"
31TARGET_SYS[doc] = "The target system is composed out of TARGET_ARCH,TARGET_VENDOR and TARGET_OS."
32TARGET_PREFIX[doc] = "The prefix for the cross compile toolchain. E.g arm-linux- ."
33TARGET_CC_ARCH[doc] = "FIXME"
34TARGET_FPU[doc] = "Floating point option (mostly for FPU-less systems), can be 'soft' or empty \
35for hardware floating point instructions."
36
37PACKAGE_ARCH[doc] = 'The architecture needed for using a resulting package. If you have \
38machine dependant configuration options in your bitbake file add a \
39PACKAGE_ARCH = "${MACHINE_ARCH}" to the file.'
40
41IPKG_ARCHS[doc] = 'A list of architectures compatible with the given target in order of priority'
42IPKG_EXTRA_ARCHS[doc] = 'Set this variable to add extra architectures to the list of supported architectures'
43
44DATE[doc] = "The date the build was started Ymd"
45TIME[doc] = "The time the build was started HMS"
46DATETIME[doc] = "The date and time the build was started at"
47
48PN[doc] = "PN holds the name of the package (Package Name). It is gathered from the bitbake-file filename"
49PV[doc] = "PV holds the version of the package (Package Version). The default value is 1.0, it is \
50retrieved from the bitbake-file filename but can be changed."
51PR[doc] = "PR is the revision of the package (Package Revision). By default it is set to r0."
52PF[doc] = "Package name - Package version - Package revision (PN-PV-PR)"
53P[doc] = "Package name - Package version (PN-PF)"
54S[doc] = "Directory that holds the sources to build, WORKDIR/PN-PV by default. The 'make' or equivalent command is run from this directory."
55SECTION[doc] = "Section of the packages e.g. console/networking"
56PRIORITY[doc] = "Importance of package, default values are 'optional' or 'needed'."
57DESCRIPTION[doc] = "A small description of the package."
58LICENSE[doc] = "The license of the resulting package e.g. GPL"
59AUTHOR[doc] = "The author of the files installed."
60MAINTAINER[doc] = "Maintainer of the .bb file and the resulting package."
61HOMEPAGE[doc] = "Homepage of the package e.g. http://www.project.net."
62
63
64# dependencies
65GROUP_dependencies[doc] = "The keys in this group influence the dependency handling of BitBake \
66and the resulting packages."
67DEPENDS[doc] = "Build time dependencies, things needed to build the package. @group dependencies"
68RDEPENDS[doc] = "Run time dependencies, things needed for a given package to run. This is used to populate the ipkg:Depends field. @group dependencies"
69PROVIDES[doc] = "Names for additional build time dependencies that this package will provide. @group dependencies"
70RPROVIDES[doc] = "Names for additional run time dependencies that this package will provide. This is used to populate the ipkg:Provides field. @group dependencies"
71
72
73# packaging
74GROUP_packaging[doc] = "The keys in this group influence the package building process. They influence \
75which packages will be generated and which files will be present in the generated packages."
76PACKAGES[doc] = "Names of packages to be generated. @group packaging"
77FILES[doc] = "Files/Directories belonging to the package. @group packaging"
78
79
80
81TMPDIR[doc] = "The temporary directory of openembedded holding work-, deploy, staging- and other directories."
82CACHE[doc] = "The directory holding the cache of the metadata."
83
84GROUP_fetcher[doc] = "The key highly influence the fetcher implementations."
85DL_DIR[doc] = "The directory where tarballs will be stored. @group fetcher"
86CVSDIR[doc] = "The directory where cvs checkouts will be stored in. @group fetcher"
87GITDIR[doc] = "The directory where git clones will be stored. @group fetcher"
88
89STAMP[doc] = "The directory that holds files to keep track of what was built."
90WORKDIR[doc] = "The directory where a concrete package will be unpacked and built."
91T[doc] = "Temporary directory within the WORKDIR."
92
93GROUP_locale[doc] = "Locale generation of the GNU libc implementation"
94ENABLE_BINARY_LOCALE_GENERATION[doc] = "Enable the use of qemu to generate locale information during build time on the host instead of runtime on the target. If you have trouble with qemu-native you should make this an empty var. @group locale"
95
96PCMCIA_MANAGER[doc] = "Specify which package(s) to install to handle PCMCIA slots (usually pcmcia-cs or pcmciautils)."
97
98SYSVINIT_ENABLED_GETTYS[doc] = "Specify which VTs should be running a getty, the default is 1"
99
100# palmtop build class
101PALMTOP_USE_MULTITHREADED_QT[doc] = "Set to yes, if you want to build qt apps with CONFIG+=thread"
102
103COMPATIBLE_HOST[doc] = "A regular expression which matches the HOST_SYS names supported by the package/file. Failure to match will cause the file to be skipped by the parser."
104COMPATIBLE_MACHINE[doc] = "A regular expression which matches the MACHINES support by the package/file. Failure to match will cause the file to be skipped by the parser."
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
new file mode 100644
index 0000000000..e81434da8c
--- /dev/null
+++ b/meta/conf/licenses.conf
@@ -0,0 +1,5 @@
1SRC_DISTRIBUTE_LICENSES += "GPL GPLv2 BSD LGPL Apache-2.0 QPL AFL"
2SRC_DISTRIBUTE_LICENSES += "MIT Sleepycat Classpath Perl PSF PD Artistic"
3SRC_DISTRIBUTE_LICENSES += "bzip2 zlib ntp cron libpng netperf openssl"
4SRC_DISTRIBUTE_LICENSES += "Info-ZIP tcp-wrappers"
5
diff --git a/meta/conf/machine/akita.conf b/meta/conf/machine/akita.conf
new file mode 100644
index 0000000000..89c0d031ee
--- /dev/null
+++ b/meta/conf/machine/akita.conf
@@ -0,0 +1,8 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C1000
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C1000 device
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8ROOT_FLASH_SIZE = "58"
diff --git a/meta/conf/machine/c7x0.conf b/meta/conf/machine/c7x0.conf
new file mode 100644
index 0000000000..0bd9623526
--- /dev/null
+++ b/meta/conf/machine/c7x0.conf
@@ -0,0 +1,9 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C7x0
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C700, Sharp Zaurus SL-C750, Sharp Zaurus SL-C760, Sharp Zaurus SL-C860 devices
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8ROOT_FLASH_SIZE = "25"
9# yes, we are aware that the husky (c760,c860) has 54MB rootfs, but we don't make a special image for it.
diff --git a/meta/conf/machine/cmx270.conf b/meta/conf/machine/cmx270.conf
new file mode 100644
index 0000000000..fc281f3746
--- /dev/null
+++ b/meta/conf/machine/cmx270.conf
@@ -0,0 +1,31 @@
1#@TYPE: Machine
2#@NAME: Nokia 770 internet tablet
3#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
4TARGET_ARCH = "arm"
5IPKG_EXTRA_ARCHS = "armv4 armv5te"
6
7EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
8
9IMAGE_CMD_jffs2 = "mkdir -p ${DEPLOY_DIR_IMAGE}; \
10 mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
11 --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img ${EXTRA_IMAGECMD}; "
12
13PREFERRED_PROVIDER_virtual/bootloader = ""
14
15# 800x480 is big enough for me
16GUI_MACHINE_CLASS = "bigscreen"
17
18# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm.
19include conf/machine/include/tune-xscale.conf
20
21#size of the root partition (yes, it is 123 MB)
22ROOT_FLASH_SIZE = "128"
23
24# serial console port on devboard rev. B3
25SERIAL_CONSOLE = "115200 ttyS0"
26
27PREFERRED_PROVIDER_virtual/kernel = "linux-cmx270"
28
29
30include conf/machine/include/handheld-common.conf
31
diff --git a/meta/conf/machine/include/handheld-common.conf b/meta/conf/machine/include/handheld-common.conf
new file mode 100644
index 0000000000..f8767d2ddf
--- /dev/null
+++ b/meta/conf/machine/include/handheld-common.conf
@@ -0,0 +1,23 @@
1HANDHELD_MODULES = "ipv6 \
2ipsec \
3nvrd \
4mip6-mn \
5tun \
6ide-cs ide-disk ide-probe-mod \
7loop \
8vfat ext2 \
9sunrpc nfs \
10btuart-cs dtl1-cs bt3c-cs rfcomm bnep l2cap sco hci_uart hidp \
11pcnet-cs serial-cs airo-cs \
12af_packet \
13ppp-async ppp-deflate ppp-mppe \
14ip-gre ip-tables ipip \
15irda irlan irnet irport irtty ircomm-tty \
16input uinput \
17"
18
19# Configuration bits for "generic handheld"
20BOOTSTRAP_EXTRA_RDEPENDS += "${PCMCIA_MANAGER} apm apmd network-suspend-scripts"
21BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}"
22
23INHERIT += "linux_modules"
diff --git a/meta/conf/machine/include/ipaq-common.conf b/meta/conf/machine/include/ipaq-common.conf
new file mode 100644
index 0000000000..eb696cf9f9
--- /dev/null
+++ b/meta/conf/machine/include/ipaq-common.conf
@@ -0,0 +1,7 @@
1IPAQ_MODULES = "apm h3600_generic_sleeve ipaq-sleeve ipaq-mtd-asset nvrd atmelwlandriver sa1100-rtc ipaq-hal h3600_ts usb-eth wavelan_cs keybdev"
2
3BOOTSTRAP_EXTRA_RRECOMMENDS += "kbdd bl hostap-modules-cs orinoco-modules-cs atmelwlandriver ${@linux_module_packages('${IPAQ_MODULES}', d)}"
4BOOTSTRAP_EXTRA_RRECOMMENDS_append_kernel24 += "mipv6"
5
6PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
7
diff --git a/meta/conf/machine/include/ixp4xx.conf b/meta/conf/machine/include/ixp4xx.conf
new file mode 100644
index 0000000000..93befb92ce
--- /dev/null
+++ b/meta/conf/machine/include/ixp4xx.conf
@@ -0,0 +1,174 @@
1#@TYPE: Machine configuration
2#@NAME: ixp4xx
3#@DESCRIPTION: genric machine configuration for ixp4xx platforms
4
5#-------------------------------------------------------------------------------
6# INPUTS
7#-------------------------------------------------------------------------------
8# conf/${DISTRO}.conf is included after this file and should be used to modify
9# variables identified as 'INPUTS' to the required values for the DISTRO, this
10# will cause the board specific settings (which depend for the most part on the
11# exact CPU used) to be set correctly within this file. The results are the
12# variables identifies here as 'OUTPUTS'
13#
14#variable = "default"
15# <possible values>
16# description
17
18ARCH_BYTE_SEX = "be"
19# "be" "le"
20# The memory byte sex and (on correctly implemented hardware - the IXP4XX is
21# correct) the byte sex of the buses within the system. 'be' (big-endian)
22# means that the first byte is the most significant byte on a bus, 'le'
23# (little-endian) means that the first byte is the least significant byte.
24
25ARM_INSTRUCTION_SET = "arm"
26# "arm" "thumb"
27# The instruction set the compiler should use when generating application
28# code. The kernel is always compiled with arm code at present. arm code
29# is the original 32 bit ARM instruction set, thumb code is the 16 bit
30# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size)
31# but requires more instructions (140% for 70% smaller code) so may be
32# slower.
33
34THUMB_INTERWORK = "yes"
35# "yes" "no"
36# Whether to compile with code to allow interworking between the two
37# instruction sets. This allows thumb code to be executed on a primarily
38# arm system and vice versa. It is strongly recommended that DISTROs not
39# turn this off - the actual cost is very small.
40
41DISTRO_BASE = ""
42# "" ":<base>"
43# If given this must be the name of a 'distro' to add to the bitbake OVERRIDES
44# after ${DISTRO}, this allows different distros to share a common base of
45# overrides. The value given must include a leading ':' or chaos will result.
46
47IXP4XX_SUFFIX = "${MACHINE_ARCH}"
48# <string>
49# Kernel suffix - 'ixp4xxbe' or 'ixp4xxle' for a truely generic image, controls
50# the suffix on the name of the generated zImage, override in the DISTRO
51# configuration if patches or defconfig are changed for the DISTRO.
52
53#-------------------------------------------------------------------------------
54# OUTPUTS
55#-------------------------------------------------------------------------------
56
57#OVERRIDES
58# The standard ':' separated list of overrides used by bitbake - see the
59# basic setting in bitbake.conf. This list is based on that used for the
60# standard setting however :<base>, :thumb and :thumb-interwork will be
61# inserted at appropriate points if a base distro, default use of thumb or
62# arm/thumb interworking are enabled in the inputs.
63OVERRIDE_THUMB = "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
64OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
65OVERRIDES = "local:${MACHINE}:ixp4xx:${DISTRO}${DISTRO_BASE}:${TARGET_OS}:${TARGET_ARCH}${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}:build-${BUILD_OS}:fail-fast"
66
67# TARGET_CC_ARCH
68# TARGET_CC_KERNEL_ARCH
69# TARGET_LD_ARCH
70# TARGET_LD_KERNEL_ARCH
71# Compiler and linker options for application code and kernel code. These
72# options ensure that the compiler has the correct settings for the selected
73# instruction set and interworking.
74ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}"
75ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
76#
77TARGET_CC_ARCH = "-march=armv5te -mtune=xscale ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}"
78TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb"
79TARGET_LD_ARCH = ""
80TARGET_LD_KERNEL_ARCH = ""
81
82# FULL_OPTIMIZATION
83# Optimization settings. Os works fine and is significantly better than O2.
84# The other settings are somewhat arbitrary. The optimisations chosen here
85# include the ones which 'break' symbolic debugging (because the compiler does
86# not include enough information to allow the debugger to know where given
87# values are.) The -fno options are an attempt to cancel explicit use of space
88# consuming options found in some packages (this isn't a complete list, this is
89# just the ones which package writers seem to know about and abuse).
90FULL_OPTIMIZATION = "-Os -fomit-frame-pointer -frename-registers \
91 -fno-unroll-loops -fno-inline-functions \
92 -fweb -funit-at-a-time"
93
94# TARGET_ARCH
95# The correct setting for the system endianness (ARCH_BYTE_SEX). This will
96# be arm (le) or armeb (be) - it is difficult to be more precise in the
97# setting because of the large number of ways it is used within OpenEmbedded.
98TARGET_ARCH = "${@['armeb', 'arm'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}"
99
100# TARGET_PACKAGE_ARCH [not used]
101# The correct setting for the generated packages. This corresponds to the
102# -march flag passed to the compiler because that limits the architectures
103# on which the generated code will run.
104BYTE_SEX_CHAR = "${@['b', 'l'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}"
105TARGET_PACKAGE_ARCH_BASE = "${@['armv5te', 'thumbv5t'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}"
106TARGET_PACKAGE_ARCH = "${TARGET_PACKAGE_ARCH_BASE}${BYTE_SEX_CHAR}"
107
108# MACHINE_ARCH
109# The correct setting for packages which are specific to the machine, this
110# defaults to ${MACHINE} in bitbake.conf, however it is set to ixp4xx here
111# because everything built here is no more specific than that.
112MACHINE_ARCH = "ixp4xx${ARCH_BYTE_SEX}"
113
114# IPKG_EXTRA_ARCHS
115# The full list of package architectures which should run on the system.
116# This takes into account both the board level issues and the INPUTS set
117# by the distro. The arm list is derived from the architecture settings
118# known to gcc, the thumb list is then derived from that (only the 't'
119# architectures of course).
120#[not used]: TARGET_ARCH is handled below because it is also currently
121# used for thumb packages.
122#ARM_ARCHITECTURES = "${TARGET_ARCH} armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}"
123ARM_ARCHITECTURES = "armv2${BYTE_SEX_CHAR} armv2a${BYTE_SEX_CHAR} armv3${BYTE_SEX_CHAR} armv3m${BYTE_SEX_CHAR} armv4${BYTE_SEX_CHAR} armv4t${BYTE_SEX_CHAR} armv5${BYTE_SEX_CHAR} armv5t${BYTE_SEX_CHAR} armv5e${BYTE_SEX_CHAR} armv5te${BYTE_SEX_CHAR} xscale${BYTE_SEX_CHAR}"
124THUMB_ARCHITECTURES = "thumbe${BYTE_SEX_CHAR} thumbv4t${BYTE_SEX_CHAR} thumbv5t${BYTE_SEX_CHAR}"
125
126# NOTE: this list contains just the things which rootfs_ipk.bbclass does
127# not add, rootfs_ipk.bbclass evaluates:
128#
129# ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}"
130#
131# This is a priority ordered list - most desireable architecture at the end,
132# so put <ARM_INSTRUCTION_SET>_ARCHITECTURES at the end and, if
133# THUMB_INTERWORK precede this with the other architectures.
134IPKG_EXTRA_ARCHS = "ixp4xx ${MACHINE} \
135 ${@(lambda arch_thumb, arch_arm, is_arm, interwork: \
136 (interwork and (is_arm and arch_thumb or arch_arm) + ' ' or '') \
137 + '${TARGET_ARCH} ' + (is_arm and arch_arm or arch_thumb)) \
138 (bb.data.getVar('THUMB_ARCHITECTURES', d, 1), \
139 bb.data.getVar('ARM_ARCHITECTURES', d, 1), \
140 bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) != 'thumb', \
141 bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes')} \
142 ${MACHINE_ARCH} ${MACHINE}${ARCH_BYTE_SEX}"
143
144# IPKG_ARCH_LIST [not used]
145# This is used to override the ipkgarchs settings in rootfs_ipk.bbclass, allowing
146# the removal of the raw "${MACHINE}" from the end of the list. ${MACHINE} and
147# ixp4xx are included at the start (lower priority) as the non-byte-sex specific
148# versions.
149IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_EXTRA_ARCHS}"
150
151#-------------------------------------------------------------------------------
152# Package versions
153#-------------------------------------------------------------------------------
154# Warning: these are shared across the different machine and distro
155# configurations but can be overridden therein if required.
156SRCDATE_ipkg-utils ?= "20060106"
157SRCDATE_ipkg-utils-native ?= "20060106"
158SRCDATE_ipkg-link ?= "20060106"
159SRCDATE_irssi ?= "20050930"
160
161CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
162INHERIT += "nslu2-mirrors"
163
164PREFERRED_VERSION_ipkg ?= "0.99.154"
165PREFERRED_VERSION_ipkg-native ?= "0.99.154"
166
167#-------------------------------------------------------------------------------
168# Board defaults
169#-------------------------------------------------------------------------------
170# These values are board specific but they seem to be common to a large number
171# of boards so are reasonable defaults.
172SERIAL_CONSOLE = "115200 ttyS0"
173KERNEL_CONSOLE = "ttyS0,115200n8"
174USE_VT = "0"
diff --git a/meta/conf/machine/include/poodle-2.6.conf b/meta/conf/machine/include/poodle-2.6.conf
new file mode 100644
index 0000000000..9076355522
--- /dev/null
+++ b/meta/conf/machine/include/poodle-2.6.conf
@@ -0,0 +1,43 @@
1PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
2
3PCMCIA_MANAGER ?= "pcmciautils"
4
5BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
6${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
7ppp ppp-dialin alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
8
9# Ethernet modules
10BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
11# NFS Modules
12BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
13# Crypto Modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
15# SMB and CRAMFS
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
17# Serial Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
19# Bluetooth Modules
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
21 kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
22 kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
23# Infrared Modules
24BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \
25 kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
26
27# USB Gadget Modules
28BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
29 kernel-module-g-serial kernel-module-g-ether"
30
31# Wireless Modules
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \
33 kernel-module-hermes kernel-module-orinoco \
34 kernel-module-orinoco-cs kernel-module-spectrum-cs \
35 hostap-conf orinoco-conf"
36
37# Sound Modules
38###BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss"
39BOOTSTRAP_EXTRA_SOUND = "kernel-module-soundcore kernel-module-snd kernel-module-snd-page-alloc kernel-module-snd-timer \
40 kernel-module-snd-pcm \
41 kernel-module-snd-soc-core kernel-module-snd-soc-pxa2xx kernel-module-snd-soc-pxa2xx-i2s"
42
43###BOOTSTRAP_EXTRA_RDEPENDS_append_poodle += "${BOOTSTRAP_EXTRA_SOUND} kernel-module-snd-soc-poodle kernel-module-snd-soc-wm8731 "
diff --git a/meta/conf/machine/include/thinclient-common.conf b/meta/conf/machine/include/thinclient-common.conf
new file mode 100644
index 0000000000..4a96b42525
--- /dev/null
+++ b/meta/conf/machine/include/thinclient-common.conf
@@ -0,0 +1,19 @@
1THINCLIENT_MODULES = "ipv6 \
2mip6-mn \
3tun \
4loop \
5vfat \
6sunrpc nfs \
7rfcomm bnep l2cap sco \
8af_packet \
9ppp-async ppp-deflate ppp-mppe \
10ip-gre ip-tables ipip \
11irda irlan irnet irport irtty \
12input uinput \
13"
14
15# Configuration bits for "generic thinclient"
16BOOTSTRAP_EXTRA_RDEPENDS += "apm"
17BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp bluez-utils wireless-tools ${@linux_module_packages('${THINCLIENT_MODULES}', d)}"
18
19INHERIT += "linux_modules"
diff --git a/meta/conf/machine/include/tosa-2.6.conf b/meta/conf/machine/include/tosa-2.6.conf
new file mode 100644
index 0000000000..c7805c36fe
--- /dev/null
+++ b/meta/conf/machine/include/tosa-2.6.conf
@@ -0,0 +1,6 @@
1include conf/machine/include/zaurus-clamshell-2.6.conf
2# wlan-ng Modules
3BOOTSTRAP_EXTRA_RDEPENDS += "wlan-ng-modules-usb"
4
5# WM97xx Modules
6#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-wm97xx-core kernel-module-wm9705 kernel-module-pxa-wm97xx"
diff --git a/meta/conf/machine/include/tune-arm920t.conf b/meta/conf/machine/include/tune-arm920t.conf
new file mode 100644
index 0000000000..936b137517
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm920t.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t"
2
diff --git a/meta/conf/machine/include/tune-arm926ejs.conf b/meta/conf/machine/include/tune-arm926ejs.conf
new file mode 100644
index 0000000000..c1462ee148
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm926ejs.conf
@@ -0,0 +1,6 @@
1#if gcc breaks change arm926ejs to arm926ej-s
2# For gcc 3.x you need:
3TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
4# For gcc 4.x you need:
5#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
6PACKAGE_ARCH = "armv5te"
diff --git a/meta/conf/machine/include/tune-arm9tdmi.conf b/meta/conf/machine/include/tune-arm9tdmi.conf
new file mode 100644
index 0000000000..cfc3bad1c1
--- /dev/null
+++ b/meta/conf/machine/include/tune-arm9tdmi.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi"
diff --git a/meta/conf/machine/include/tune-c3.conf b/meta/conf/machine/include/tune-c3.conf
new file mode 100644
index 0000000000..e6a522af10
--- /dev/null
+++ b/meta/conf/machine/include/tune-c3.conf
@@ -0,0 +1,3 @@
1TARGET_CC_ARCH = "-march=c3 -mtune=c3"
2PACKAGE_ARCH = "i586"
3
diff --git a/meta/conf/machine/include/tune-ep9312.conf b/meta/conf/machine/include/tune-ep9312.conf
new file mode 100644
index 0000000000..f7a6fb845b
--- /dev/null
+++ b/meta/conf/machine/include/tune-ep9312.conf
@@ -0,0 +1,6 @@
1TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312"
2# add "-mfp=maverick" for newer gcc versions > 4.0
3
4#set arch to ep9312 for all generated packages
5PACKAGE_ARCH = "ep9312"
6
diff --git a/meta/conf/machine/include/tune-ppc603e.conf b/meta/conf/machine/include/tune-ppc603e.conf
new file mode 100644
index 0000000000..7c8714cfc2
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppc603e.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=603e"
2PACKAGE_ARCH = "ppc603e"
diff --git a/meta/conf/machine/include/tune-ppce500.conf b/meta/conf/machine/include/tune-ppce500.conf
new file mode 100644
index 0000000000..11717eba70
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce500.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=8540"
2PACKAGE_ARCH = "ppce500"
diff --git a/meta/conf/machine/include/tune-sh3.conf b/meta/conf/machine/include/tune-sh3.conf
new file mode 100644
index 0000000000..192dd8fd22
--- /dev/null
+++ b/meta/conf/machine/include/tune-sh3.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-ml -m3"
diff --git a/meta/conf/machine/include/tune-sh4.conf b/meta/conf/machine/include/tune-sh4.conf
new file mode 100644
index 0000000000..866f7f89d5
--- /dev/null
+++ b/meta/conf/machine/include/tune-sh4.conf
@@ -0,0 +1 @@
TARGET_CC_ARCH = "-ml -m4"
diff --git a/meta/conf/machine/include/tune-strongarm.conf b/meta/conf/machine/include/tune-strongarm.conf
new file mode 100644
index 0000000000..8654c996ef
--- /dev/null
+++ b/meta/conf/machine/include/tune-strongarm.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-march=armv4 -mtune=xscale"
2
diff --git a/meta/conf/machine/include/tune-supersparc.conf b/meta/conf/machine/include/tune-supersparc.conf
new file mode 100644
index 0000000000..1b1ec1207f
--- /dev/null
+++ b/meta/conf/machine/include/tune-supersparc.conf
@@ -0,0 +1,2 @@
1TARGET_CC_ARCH = "-mcpu=supersparc"
2PACKAGE_ARCH = "supersparc"
diff --git a/meta/conf/machine/include/tune-xscale.conf b/meta/conf/machine/include/tune-xscale.conf
new file mode 100644
index 0000000000..0b98f09fc8
--- /dev/null
+++ b/meta/conf/machine/include/tune-xscale.conf
@@ -0,0 +1,3 @@
1TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
2PACKAGE_ARCH = "armv5te"
3
diff --git a/meta/conf/machine/include/zaurus-clamshell-2.6.conf b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
new file mode 100644
index 0000000000..3c19ef3da6
--- /dev/null
+++ b/meta/conf/machine/include/zaurus-clamshell-2.6.conf
@@ -0,0 +1,46 @@
1# Zaurus Clamshell specific configuration for kernel 2.6
2# Don't forget to include zaurus-clamshell.conf as well
3
4PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
5PREFERRED_VERSION_wpa_supplicant = "0.4.7"
6
7PCMCIA_MANAGER ?= "pcmciautils"
8
9BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
10${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \
11ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd"
12
13# Ethernet modules
14BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
15# NFS Modules
16BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
17# Crypto Modules
18BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
19# SMB and CRAMFS
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
21# Serial Modules
22BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
23# Bluetooth Modules
24BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
25 kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
26 kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
27# Infrared Modules
28BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \
29 kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
30
31# USB Gadget Modules
32BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \
33 kernel-module-g-serial kernel-module-g-ether"
34
35# Wireless Modules
36BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \
37 kernel-module-hermes kernel-module-orinoco \
38 kernel-module-orinoco-cs kernel-module-spectrum-cs \
39 hostap-conf orinoco-conf"
40
41# Sound Modules
42BOOTSTRAP_EXTRA_RDEPENDS_append_c7x0 = " kernel-module-snd-soc-corgi "
43BOOTSTRAP_EXTRA_RDEPENDS_append_akita = " kernel-module-snd-soc-spitz "
44BOOTSTRAP_EXTRA_RDEPENDS_append_spitz = " kernel-module-snd-soc-spitz "
45# For OSS
46BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss" \ No newline at end of file
diff --git a/meta/conf/machine/include/zaurus-clamshell.conf b/meta/conf/machine/include/zaurus-clamshell.conf
new file mode 100644
index 0000000000..dfbbe5024e
--- /dev/null
+++ b/meta/conf/machine/include/zaurus-clamshell.conf
@@ -0,0 +1,29 @@
1TARGET_ARCH = "arm"
2IPKG_EXTRA_ARCHS = "armv4 armv5te"
3
4PREFERRED_PROVIDER_xserver = "xserver-kdrive"
5
6EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n"
7EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater"
8
9IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
10 --output=${T}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; \
11 cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
12 ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img"
13
14# add a summary to the jffs2 file to make it mount a lot faster
15#EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \
16# -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \
17# --eraseblock=0x4000"
18#IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \
19# ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.img"
20
21GUI_MACHINE_CLASS = "bigscreen"
22GPE_EXTRA_INSTALL += "gaim sylpheed"
23
24include conf/machine/include/handheld-common.conf
25
26# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
27include conf/machine/include/tune-xscale.conf
28
29SERIAL_CONSOLE = "115200 ttyS0"
diff --git a/meta/conf/machine/ipaq-pxa270.conf b/meta/conf/machine/ipaq-pxa270.conf
new file mode 100644
index 0000000000..f5cc893c9c
--- /dev/null
+++ b/meta/conf/machine/ipaq-pxa270.conf
@@ -0,0 +1,63 @@
1#@TYPE: Machine
2#@NAME: iPAQ hx47xx hx2xxx
3#@DESCRIPTION: Machine configuration for the iPAQ with a pxa27x CPU devices
4
5TARGET_ARCH = "arm"
6IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700"
7#use this for a hx47xx ipaq
8PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6"
9
10#use this for a hx2xxx ipaq
11#PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
12
13PREFERRED_VERSION_orinoco-modules = "0.15rc1"
14
15ROOT_FLASH_SIZE = "80"
16
17EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \
18 -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \
19 -e 256KiB -p"
20
21MODUTILS = "26"
22PCMCIA_MANAGER = "pcmciautils"
23BOOTSTRAP_EXTRA_RDEPENDS = "kernel ipaq-boot-params "
24BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${PXA270_MODULES}', d)}"
25BOOTSTRAP_EXTRA_RDEPENDS_append = " udev module-init-tools"
26
27PXA270_MODULES = "g_ether g_file_storage g_serial gadgetfs pxa27x_udc \
28 snd_pcm_oss snd_mixer_oss evdev mmc_block pcmcia hidp \
29 nls_cp437 nls_iso8859-1 nls_utf8 af_key"
30
31SERIAL_CONSOLE = "115200 ttyS0"
32
33include conf/machine/include/handheld-common.conf
34
35GUI_MACHINE_CLASS = "bigscreen"
36
37# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm.
38include conf/machine/include/tune-xscale.conf
39
40# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first
41#include conf/machine/include/tune-iwmmxt.conf
42
43BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${HX4700_MODULES}', d)}"
44HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \
45 hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power"
46
47
48module_autoload_evdev = "evdev"
49module_autoload_hx4700_power = "hx4700_power"
50module_autoload_pcmcia = "pcmcia"
51module_autoload_hx4700_pcmcia = "hx4700_pcmcia"
52module_autoload_asic3_mmc = "asic3_mmc"
53module_autoload_mmc_block = "mmc_block"
54module_autoload_hx4700_ts = "hx4700_ts"
55module_autoload_hx4700_navpt = "hx4700_navpt"
56module_autoload_hx4700_bt = "hx4700_bt"
57module_autoload_snd-hx4700_audio = "snd-hx4700_audio"
58module_autoload_snd-pcm-oss = "snd-pcm-oss"
59module_autoload_snd-mixer-oss = "snd-mixer-oss"
60module_autoload_pxa27x_udc = "pxa27x_udc"
61
62#FIXME: this should be controlled by a userspace utility later.
63module_autoload_g_ether = "g_ether"
diff --git a/meta/conf/machine/jornada7xx.conf b/meta/conf/machine/jornada7xx.conf
new file mode 100644
index 0000000000..e8218138d5
--- /dev/null
+++ b/meta/conf/machine/jornada7xx.conf
@@ -0,0 +1,7 @@
1#@TYPE: Machine
2#@NAME: HP Jornada 7xx
3#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 7xx palmtop computer
4
5TARGET_ARCH = "arm"
6
7include conf/machine/include/tune-strongarm.conf \ No newline at end of file
diff --git a/meta/conf/machine/nokia770.conf b/meta/conf/machine/nokia770.conf
new file mode 100644
index 0000000000..bf893660d4
--- /dev/null
+++ b/meta/conf/machine/nokia770.conf
@@ -0,0 +1,54 @@
1#@TYPE: Machine
2#@NAME: Nokia 770 internet tablet
3#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet
4TARGET_ARCH = "arm"
5IPKG_EXTRA_ARCHS = "armv4 armv5te"
6
7PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-omap"
8PREFERRED_PROVIDER_virtual/bootloader = ""
9PREFERRED_PROVIDER_tslib = "tslib-maemo"
10
11XSERVER = "xserver-kdrive-omap"
12
13# 800x480 is big enough for me
14GUI_MACHINE_CLASS = "bigscreen"
15GPE_EXTRA_INSTALL += "gaim sylpheed gpe-mini-browser tscalib"
16
17# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm.
18include conf/machine/include/tune-arm926ejs.conf
19
20
21#size of the root partition (yes, it is 123 MB)
22ROOT_FLASH_SIZE = "123"
23EXTRA_IMAGECMD_jffs2_nokia770 = "--pad --little-endian --eraseblock=0x20000"
24
25# serial console port on devboard rev. B3
26SERIAL_CONSOLE = "115200 ttyS0"
27
28PREFERRED_PROVIDER_virtual/kernel = "linux-nokia770"
29
30BOOTSTRAP_EXTRA_RDEPENDS += "sysfsutils nokia770-init \
31${PCMCIA_MANAGER} apm ppp wireless-tools console-tools"
32
33# NFS Modules
34#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
35# Crypto Modules
36#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
37# SMB and CRAMFS
38#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
39# Serial Modules
40#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 "
41# Bluetooth Modules
42#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
43# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco"
44# PPP Modules
45#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-ppp-generic kernel-module-ppp-async"
46
47#USB Gadget Modules
48#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage kernel-module-g-serial \
49# kernel-module-g-ether"
50
51ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; "
52
53include conf/machine/include/handheld-common.conf
54
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
new file mode 100644
index 0000000000..3341efd1a7
--- /dev/null
+++ b/meta/conf/machine/qemuarm.conf
@@ -0,0 +1,46 @@
1#@TYPE: Machine
2#@NAME: qemu ARM Emulator setup
3#@DESCRIPTION: Machine configuration for running an ARM system under qemu emulation
4
5TARGET_ARCH = "arm"
6IPKG_EXTRA_ARCHS = "armv4 armv5te"
7
8PCMCIA_MANAGER = "pcmciautils"
9PREFERRED_PROVIDER_xserver = "xserver-kdrive"
10GUI_MACHINE_CLASS = "bigscreen"
11GPE_EXTRA_INSTALL += "gaim sylpheed"
12
13include conf/machine/include/handheld-common.conf
14include conf/machine/include/tune-arm926ejs.conf
15
16SERIAL_CONSOLE = "115200 ttyAMA0"
17
18PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus"
19
20BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \
21pcmciautils apm wireless-tools irda-utils udev-utils console-tools hostap-utils prism3-firmware prism3-support \
22ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf"
23
24# Ethernet modules
25#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs"
26# NFS Modules
27#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc"
28# Crypto Modules
29#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5"
30# SMB and CRAMFS
31#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs"
32# Serial Modules
33#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs"
34# Bluetooth Modules
35#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \
36# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \
37# kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs"
38# Infrared Modules
39#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-irda kernel-module-ircomm \
40# kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb"
41
42IMAGE_FSTYPES = "tar.bz2"
43
44ROOT_FLASH_SIZE = "100"
45# actually that should really read ROOTFS_SIZE = "100", because with modern kernels,
46# we boot from the built-in harddisk in C3000. ROOT_FLASH_SIZE is really 5 MegaByte
diff --git a/meta/conf/machine/spitz.conf b/meta/conf/machine/spitz.conf
new file mode 100644
index 0000000000..f78dd7a3b9
--- /dev/null
+++ b/meta/conf/machine/spitz.conf
@@ -0,0 +1,18 @@
1#@TYPE: Machine
2#@NAME: Sharp Zaurus SL-C3000
3#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device
4
5include conf/machine/include/zaurus-clamshell.conf
6include conf/machine/include/zaurus-clamshell-2.6.conf
7
8PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}"
9PIVOTBOOT_EXTRA_RRECOMMENDS += ""
10
11# Useful things for the built-in Harddisk
12BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs"
13
14IMAGE_FSTYPES = "jffs2 tar.gz"
15
16ROOT_FLASH_SIZE = "100"
17# actually that should really read ROOTFS_SIZE = "100", because with modern kernels,
18# we boot from the built-in harddisk in C3000. ROOT_FLASH_SIZE is really 5 MegaByte
diff --git a/meta/conf/sanity.conf b/meta/conf/sanity.conf
new file mode 100644
index 0000000000..93700ef145
--- /dev/null
+++ b/meta/conf/sanity.conf
@@ -0,0 +1,8 @@
1# Sanity checks for common user misconfigurations
2#
3# See sanity.bbclass
4#
5# Expert users can confirm their sanity with "touch conf/sanity.conf"
6BB_MIN_VERSION = "1.3.3"
7INHERIT += "sanity"
8