From b2f192faabe412adce79534e22efe9fb69ee40e2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 21 Jul 2006 10:10:31 +0000 Subject: Rename /openembedded/ -> /meta/ git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/conf/bitbake.conf | 414 +++++++++++++++++++++ meta/conf/distro/angstrom-2006.9.conf | 126 +++++++ meta/conf/distro/angstrom.conf | 45 +++ meta/conf/distro/familiar-unstable.conf | 77 ++++ meta/conf/distro/familiar.conf | 17 + meta/conf/distro/maemo-1.0.conf | 40 ++ meta/conf/distro/maemo-preferred.inc | 10 + meta/conf/distro/openzaurus-unstable.conf | 71 ++++ meta/conf/distro/openzaurus.conf | 18 + meta/conf/distro/poky-eabi.conf | 23 ++ meta/conf/distro/poky-oabi.conf | 11 + meta/conf/distro/poky.conf | 176 +++++++++ meta/conf/distro/preferred-e-versions.inc | 33 ++ meta/conf/distro/preferred-gpe-versions-2.7.inc | 96 +++++ meta/conf/distro/preferred-opie-versions.inc | 206 ++++++++++ meta/conf/documentation.conf | 104 ++++++ meta/conf/licenses.conf | 5 + meta/conf/machine/akita.conf | 8 + meta/conf/machine/c7x0.conf | 9 + meta/conf/machine/cmx270.conf | 31 ++ meta/conf/machine/include/handheld-common.conf | 23 ++ meta/conf/machine/include/ipaq-common.conf | 7 + meta/conf/machine/include/ixp4xx.conf | 174 +++++++++ meta/conf/machine/include/poodle-2.6.conf | 43 +++ meta/conf/machine/include/thinclient-common.conf | 19 + meta/conf/machine/include/tosa-2.6.conf | 6 + meta/conf/machine/include/tune-arm920t.conf | 2 + meta/conf/machine/include/tune-arm926ejs.conf | 6 + meta/conf/machine/include/tune-arm9tdmi.conf | 1 + meta/conf/machine/include/tune-c3.conf | 3 + meta/conf/machine/include/tune-ep9312.conf | 6 + meta/conf/machine/include/tune-ppc603e.conf | 2 + meta/conf/machine/include/tune-ppce500.conf | 2 + meta/conf/machine/include/tune-sh3.conf | 1 + meta/conf/machine/include/tune-sh4.conf | 1 + meta/conf/machine/include/tune-strongarm.conf | 2 + meta/conf/machine/include/tune-supersparc.conf | 2 + meta/conf/machine/include/tune-xscale.conf | 3 + .../conf/machine/include/zaurus-clamshell-2.6.conf | 46 +++ meta/conf/machine/include/zaurus-clamshell.conf | 29 ++ meta/conf/machine/ipaq-pxa270.conf | 63 ++++ meta/conf/machine/jornada7xx.conf | 7 + meta/conf/machine/nokia770.conf | 54 +++ meta/conf/machine/qemuarm.conf | 46 +++ meta/conf/machine/spitz.conf | 18 + meta/conf/sanity.conf | 8 + 46 files changed, 2094 insertions(+) create mode 100644 meta/conf/bitbake.conf create mode 100644 meta/conf/distro/angstrom-2006.9.conf create mode 100644 meta/conf/distro/angstrom.conf create mode 100644 meta/conf/distro/familiar-unstable.conf create mode 100644 meta/conf/distro/familiar.conf create mode 100644 meta/conf/distro/maemo-1.0.conf create mode 100644 meta/conf/distro/maemo-preferred.inc create mode 100644 meta/conf/distro/openzaurus-unstable.conf create mode 100644 meta/conf/distro/openzaurus.conf create mode 100644 meta/conf/distro/poky-eabi.conf create mode 100644 meta/conf/distro/poky-oabi.conf create mode 100644 meta/conf/distro/poky.conf create mode 100644 meta/conf/distro/preferred-e-versions.inc create mode 100644 meta/conf/distro/preferred-gpe-versions-2.7.inc create mode 100644 meta/conf/distro/preferred-opie-versions.inc create mode 100644 meta/conf/documentation.conf create mode 100644 meta/conf/licenses.conf create mode 100644 meta/conf/machine/akita.conf create mode 100644 meta/conf/machine/c7x0.conf create mode 100644 meta/conf/machine/cmx270.conf create mode 100644 meta/conf/machine/include/handheld-common.conf create mode 100644 meta/conf/machine/include/ipaq-common.conf create mode 100644 meta/conf/machine/include/ixp4xx.conf create mode 100644 meta/conf/machine/include/poodle-2.6.conf create mode 100644 meta/conf/machine/include/thinclient-common.conf create mode 100644 meta/conf/machine/include/tosa-2.6.conf create mode 100644 meta/conf/machine/include/tune-arm920t.conf create mode 100644 meta/conf/machine/include/tune-arm926ejs.conf create mode 100644 meta/conf/machine/include/tune-arm9tdmi.conf create mode 100644 meta/conf/machine/include/tune-c3.conf create mode 100644 meta/conf/machine/include/tune-ep9312.conf create mode 100644 meta/conf/machine/include/tune-ppc603e.conf create mode 100644 meta/conf/machine/include/tune-ppce500.conf create mode 100644 meta/conf/machine/include/tune-sh3.conf create mode 100644 meta/conf/machine/include/tune-sh4.conf create mode 100644 meta/conf/machine/include/tune-strongarm.conf create mode 100644 meta/conf/machine/include/tune-supersparc.conf create mode 100644 meta/conf/machine/include/tune-xscale.conf create mode 100644 meta/conf/machine/include/zaurus-clamshell-2.6.conf create mode 100644 meta/conf/machine/include/zaurus-clamshell.conf create mode 100644 meta/conf/machine/ipaq-pxa270.conf create mode 100644 meta/conf/machine/jornada7xx.conf create mode 100644 meta/conf/machine/nokia770.conf create mode 100644 meta/conf/machine/qemuarm.conf create mode 100644 meta/conf/machine/spitz.conf create mode 100644 meta/conf/sanity.conf (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf new file mode 100644 index 000000000..529405a3e --- /dev/null +++ b/meta/conf/bitbake.conf @@ -0,0 +1,414 @@ +################################################################## +# Standard target filesystem paths. +################################################################## + +# Path prefixes +export base_prefix = "" +export prefix = "/usr" +export exec_prefix = "${prefix}" + +# Base paths +export base_bindir = "${base_prefix}/bin" +export base_sbindir = "${base_prefix}/sbin" +export base_libdir = "${base_prefix}/lib" + +# Architecture independent paths +export datadir = "${prefix}/share" +export sysconfdir = "/etc" +export sharedstatedir = "${prefix}/com" +export localstatedir = "/var" +export infodir = "${datadir}/info" +export mandir = "${datadir}/man" +export docdir = "${datadir}/doc" +export servicedir = "/srv" + +# Architecture dependent paths +export bindir = "${exec_prefix}/bin" +export sbindir = "${exec_prefix}/sbin" +export libexecdir = "${exec_prefix}/libexec" +export libdir = "${exec_prefix}/lib" +export includedir = "${exec_prefix}/include" +export oldincludedir = "${exec_prefix}/include" + +################################################################## +# Architecture-dependent build variables. +################################################################## + +BUILD_ARCH = "${@os.uname()[4]}" +BUILD_OS = "${@os.uname()[0].lower()}" +BUILD_VENDOR = "" +BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" +BUILD_PREFIX = "" +BUILD_CC_ARCH = "" + +HOST_ARCH = "${TARGET_ARCH}" +HOST_OS = "${TARGET_OS}" +HOST_VENDOR = "${TARGET_VENDOR}" +HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" +HOST_PREFIX = "${TARGET_PREFIX}" +HOST_CC_ARCH = "${TARGET_CC_ARCH}" + +TARGET_ARCH = "INVALID" +TARGET_OS = "INVALID" +TARGET_VENDOR = "${BUILD_VENDOR}" +TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" +TARGET_PREFIX = "${TARGET_SYS}-" +TARGET_CC_ARCH = "" + +PACKAGE_ARCH = "${HOST_ARCH}" +MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" +IPKG_ARCHS = "all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}" + +################################################################## +# Date/time variables. +################################################################## + +DATE := "${@time.strftime('%Y%m%d',time.gmtime())}" +TIME := "${@time.strftime('%H%M%S',time.gmtime())}" +DATETIME = "${DATE}${TIME}" + +################################################################## +# Openembedded Software Prerequisites. +################################################################## + +# python-native should be here but python relies on building +# its own in staging +ASSUME_PROVIDED = "cvs-native svn-native bzip2-native diffstat-native patch-native python-native-runtime perl-native-runtime texinfo-native" + +################################################################## +# Package default variables. +################################################################## + +PN = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}" +PV = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.0'}" +PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}" +PF = "${PN}-${PV}-${PR}" +P = "${PN}-${PV}" + +# Package info. + +SECTION = "base" +PRIORITY = "optional" +DESCRIPTION = "Version ${PV}-${PR} of package ${PN}" +LICENSE = "unknown" +MAINTAINER = "OpenEmbedded Team " +HOMEPAGE = "unknown" + +# Package dependencies and provides. + +DEPENDS = "" +RDEPENDS = "" +PROVIDES = "" +PROVIDES_prepend = "${P} ${PF} ${PN} " +RPROVIDES = "" + +PACKAGES = "${PN} ${PN}-doc ${PN}-dev ${PN}-locale" +FILES = "" +FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \ + ${sysconfdir} ${sharedstatedir} ${localstatedir} \ + /bin /sbin /lib/*.so* ${datadir}/${PN} ${libdir}/${PN} \ + ${datadir}/pixmaps ${datadir}/applications \ + ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ + ${libdir}/bonobo/servers" +SECTION_${PN}-doc = "doc" +FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \ + ${datadir}/gnome/help" +SECTION_${PN}-dev = "devel" +FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ + ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ + /lib/*.a /lib/*.o ${datadir}/aclocal" +FILES_${PN}-locale = "${datadir}/locale" + +# File manifest + +export MANIFEST = "${FILESDIR}/manifest" + +FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}" +FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}" +FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}" + +################################################################## +# General work and output directories for the build system. +################################################################## + +TMPDIR = "${TOPDIR}/tmp" +CACHE = "${TMPDIR}/cache" +DL_DIR = "${TMPDIR}/downloads" +CVSDIR = "${DL_DIR}/cvs" +GITDIR = "${DL_DIR}/git" + +STAMP = "${TMPDIR}/stamps/${PF}" +WORKDIR = "${TMPDIR}/work/${PF}" +T = "${WORKDIR}/temp" +D = "${WORKDIR}/image" +S = "${WORKDIR}/${P}" +B = "${S}" + +STAGING_DIR = "${TMPDIR}/staging" +STAGING_BINDIR = "${STAGING_DIR}/${BUILD_SYS}/bin" +STAGING_LIBDIR = "${STAGING_DIR}/${HOST_SYS}/lib" +STAGING_INCDIR = "${STAGING_DIR}/${HOST_SYS}/include" +STAGING_DATADIR = "${STAGING_DIR}/${HOST_SYS}/share" +STAGING_LOADER_DIR = "${STAGING_DIR}/${HOST_SYS}/loader" + +DEPLOY_DIR = "${TMPDIR}/deploy" +DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar" +DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" +DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" + +################################################################## +# Kernel info. +################################################################## + +OLDEST_KERNEL = "2.4.0" +STAGING_KERNEL_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel" + +################################################################## +# Specific image creation and rootfs population info. +################################################################## + +DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images" +IMAGE_ROOTFS = "${TMPDIR}/rootfs" +IMAGE_BASENAME = "rootfs" +IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" +IMAGE_CMD = "" +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ + --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + ${EXTRA_IMAGECMD}" +IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" +IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}" +IMAGE_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" +IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" +IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." +IMAGE_CMD_tar.gz = "cd ${IMAGE_ROOTFS} && tar -zcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.gz ." +IMAGE_CMD_tar.bz2 = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." +EXTRA_IMAGECMD = "" +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" +EXTRA_IMAGECMD_squashfs = "-le -b 16384" +IMAGE_FSTYPE = "jffs2" +IMAGE_FSTYPES = "${IMAGE_FSTYPE}" +IMAGE_ROOTFS_SIZE_ext2 = "65536" +IMAGE_ROOTFS_SIZE_ext2.gz = "65536" + +IMAGE_DEPENDS = "" +IMAGE_DEPENDS_jffs2 = "mtd-utils-native" +IMAGE_DEPENDS_cramfs = "cramfs-native" +IMAGE_DEPENDS_ext2 = "genext2fs-native" +IMAGE_DEPENDS_ext2.gz = "genext2fs-native" +IMAGE_DEPENDS_squashfs = "squashfs-tools-native" +EXTRA_IMAGEDEPENDS = "" + +################################################################## +# Toolchain info. +################################################################## + +CROSS_DIR = "${TMPDIR}/cross" +CROSS_DATADIR = "${CROSS_DIR}/share" +export PATH_prepend = "${STAGING_BINDIR}/${HOST_SYS}:${STAGING_BINDIR}:${CROSS_DIR}/bin:" + +################################################################## +# Build utility info. +################################################################## + +CCACHE = "${@bb.which(bb.data.getVar('PATH', d), 'ccache') and 'ccache '}" + +export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" +export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}" +export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}" +export CPP = "${HOST_PREFIX}gcc -E" +export LD = "${HOST_PREFIX}ld" +export CCLD = "${CC}" +export AR = "${HOST_PREFIX}ar" +export AS = "${HOST_PREFIX}as" +export RANLIB = "${HOST_PREFIX}ranlib" +export STRIP = "${HOST_PREFIX}strip" + +export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" +export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" +export BUILD_F77 = "${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}" +export BUILD_CPP = "${BUILD_PREFIX}cpp" +export BUILD_LD = "${BUILD_PREFIX}ld" +export BUILD_CCLD = "${BUILD_PREFIX}gcc" +export BUILD_AR = "${BUILD_PREFIX}ar" +export BUILD_RANLIB = "${BUILD_PREFIX}ranlib" +export BUILD_STRIP = "${BUILD_PREFIX}strip" + +export MAKE = "make" +EXTRA_OEMAKE = "-e MAKEFLAGS=" + +################################################################## +# Build flags and options. +################################################################## + +export BUILD_CPPFLAGS = "-isystem${STAGING_DIR}/${BUILD_SYS}/include" +export CPPFLAGS = "${TARGET_CPPFLAGS}" +export TARGET_CPPFLAGS = "-isystem${STAGING_DIR}/${TARGET_SYS}/include" + +export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" +export CFLAGS = "${TARGET_CFLAGS}" +export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" + +export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" +export CXXFLAGS = "${TARGET_CXXFLAGS}" +export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" + +export BUILD_LDFLAGS = "-L${STAGING_DIR}/${BUILD_SYS}/lib \ + -Wl,-rpath-link,${STAGING_DIR}/${BUILD_SYS}/lib \ + -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib -Wl,-O1" +export LDFLAGS = "${TARGET_LDFLAGS}" +export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \ + -Wl,-rpath-link,${STAGING_DIR}/${TARGET_SYS}/lib \ + -Wl,-O1" + +# Which flags to leave by strip-flags() in bin/build/oebuild.sh ? +ALLOWED_FLAGS = "-O -mcpu -march -pipe" + +# Pass parallel make options to the compile task only +EXTRA_OEMAKE_prepend_task_do_compile = "${PARALLEL_MAKE} " + +################################################################## +# Optimization flags. +################################################################## + +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" +DEBUG_OPTIMIZATION = "-O -g" +SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" +BUILD_OPTIMIZATION = "-O2" + +################################################################## +# Bootstrap stuff. +################################################################## + +BOOTSTRAP_EXTRA_RDEPENDS = "" +BOOTSTRAP_EXTRA_RRECOMMENDS = "" + +################################################################## +# Palmtop stuff. +################################################################## + +export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" +export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" +export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" +export palmtopdir = "/opt/QtPalmtop" +export palmqtdir = "/opt/QtPalmtop" + +################################################################## +# Download locations and utilities. +################################################################## + +GNU_MIRROR = "ftp://ftp.gnu.org/gnu" +DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool" +SOURCEFORGE_MIRROR = "http://heanet.dl.sourceforge.net/sourceforge" +GPE_MIRROR = "http://handhelds.org/pub/projects/gpe/source" +XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" +XORG_MIRROR = "http://xorg.freedesktop.org/releases" +GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources" +FREEBSD_MIRROR = "ftp://ftp.freebsd.org/pub/FreeBSD/" +HANDHELDS_CVS = "cvs://anoncvs:anoncvs@anoncvs.handhelds.org/cvs" +E_CVS = "cvs://anonymous@anoncvs.enlightenment.org/var/cvs/e" +E_URI = "http://enlightenment.freedesktop.org/files" +FREEDESKTOP_CVS = "cvs://anoncvs:anoncvs@anoncvs.freedesktop.org/cvs" +GENTOO_MIRROR = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles" +APACHE_MIRROR = "http://www.apache.org/dist" + +# You can use the mirror of your country to get faster downloads by putting +# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" +# export SOURCEFORGE_MIRROR = "http://belnet.dl.sourceforge.net/sourceforge" +# into your local.conf + +FETCHCOMMAND = "ERROR, this must be a BitBake bug" +FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" +FETCHCOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} co ${CVSCOOPTS} ${CVSMODULE}" +RESUMECOMMAND = "ERROR, this must be a BitBake bug" +RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" +UPDATECOMMAND = "ERROR, this must be a BitBake bug" +UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" +SRCDATE = "${DATE}" + +SRC_URI = "file://${FILE}" + +################################################################## +# Miscellaneous utilities. +################################################################## + +MKTEMPDIRCMD = "mktemp -d -q ${TMPBASE}" +MKTEMPCMD = "mktemp -q ${TMPBASE}" + +# Program to be used to patch sources, use 'inherit patcher' to overwrite this: + +PATCHCLEANCMD = 'if [ -n "`quilt applied`" ]; then quilt pop -a -R -f || exit 1; fi' +PATCHCMD = "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" +PATCH_DEPENDS = "quilt-native" + +# GNU patch tries to be intellgent about checking out read-only files from +# a RCS, which freaks out those special folks with active Perforce clients +# the following makes patch ignore RCS: + +export PATCH_GET=0 + +# Program to be used to build ipkg packages + +IPKGBUILDCMD = "ipkg-build -o 0 -g 0" + +################################################################## +# Not sure about the rest of this yet. +################################################################## + +# slot - currently unused by OE. portage remnants +SLOT = "0" + +# Other + +export PKG_CONFIG_PATH = "${STAGING_DATADIR}/pkgconfig" +export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" + +export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake" +export STAGING_SIPDIR = "${STAGING_DIR}/${BUILD_SYS}/share/sip" +export STAGING_IDLDIR = "${STAGING_DATADIR}/idl" + +# default test results for autoconf +# possible candidate for moving into autotools.oeclass -CL +export 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)))}" + +# library package naming +AUTO_LIBNAME_PKGS = "${PACKAGES}" + +### +### Config file processing +### + +# This means that an envionment variable named '_arm' overrides an +# environment variable '' (when ${TARGET_ARCH} is arm). And the same: an +# environment variable '_ramses' overrides both '' and '_arm +# when ${MACHINE} is 'ramses'. And finally '_local' overrides anything. +# +# This works for functions as well, they are really just environment variables. +#OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}" +# Alternative OVERRIDES to make compilation fail fast, we will enable it by default soon +OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}" + +################################################################## +# Include the rest of the config files. +################################################################## + +include conf/site.conf +include conf/auto.conf +include conf/local.conf +include conf/build/${BUILD_SYS}.conf +include conf/target/${TARGET_SYS}.conf +include conf/machine/${MACHINE}.conf +include conf/distro/${DISTRO}.conf +include conf/documentation.conf +require conf/sanity.conf + +################################################################## +# Weak variables (usually to retain backwards compatibility) +################################################################## + +PCMCIA_MANAGER ?= "pcmcia-cs" + + +################################################################## +# Magic Cookie for SANITY CHECK +################################################################## +OES_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 000000000..5c1ed1296 --- /dev/null +++ b/meta/conf/distro/angstrom-2006.9.conf @@ -0,0 +1,126 @@ +#@-------------------------------------------------------------------- +#@TYPE: Distribution +#@NAME: Angstrom +#@DESCRIPTION: The Linux Distribution for Kernel 2.6 based devices +#@MAINTAINER: Koen Kooi +#@MAINTAINER: Michael 'Mickey' Lauer +#@-------------------------------------------------------------------- + +#DISTRO_VERSION = "2006.9" +DISTRO_VERSION = "test-${DATE}" + +include conf/distro/angstrom.conf + +DISTRO_TYPE = "debug" +#DISTRO_TYPE = "release" +#!!!!! DON'T FORGET TO ENABLE ZAPROOTPASSWD !!!!! + + +FEED_URIS += " \ + base##${ANGSTROM_URI}/unstable/feed/base/" +# base##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/base \ +# ${MACHINE}##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/${MACHINE} \ +# updates##${ANGSTROM_URI}/releases/${DISTRO_VERSION}/feed/updates" + +SRCDATE = "20060518" +#SRCDATE_handhelds-pxa-2.6 = "20060516" + +CVS_TARBALL_STASH = "\ +http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/ \ +http://www.oesources.org/source/current/" + +# Opie +#use 1337 mt version of opie to have a webbrowser +PALMTOP_USE_MULTITHREADED_QT = "yes" +QTE_VERSION = "2.3.10" +OPIE_VERSION = "1.2.2" +include conf/distro/preferred-opie-versions.inc + +# GPE +include conf/distro/preferred-gpe-versions-2.8.inc + +#zap extra stuff taking place in $MACHINE.conf +GPE_EXTRA_INSTALL = "" + +# E +include conf/distro/preferred-e-versions.inc + +PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive" +PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus" +PREFERRED_PROVIDER_libx11 = "diet-x11" + + +#Make sure we use 2.6 on machines with a 2.4/2.6 selector +KERNEL = "kernel26" +ZKERNEL_VERSION = "2.6" + +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" + +PREFERRED_PROVIDER_virtual/libiconv = "glibc" +PREFERRED_PROVIDER_virtual/libintl = "glibc" + +#EABI stuff +PREFERRED_PROVIDER_virtual/arm-angstrom-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" + + +#use EABI toolchain +PREFERRED_VERSION_gcc ?= "4.1.1" +PREFERRED_VERSION_gcc-cross ?= "4.1.1" +PREFERRED_VERSION_gcc-cross-initial ?= "4.1.1" +PREFERRED_VERSION_binutils ?= "2.16.91.0.7" +PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" +PREFERRED_VERSION_glibc ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.4" + +# To use an EABI compatible version 3 series gcc, either uncomment +# the lines below or set them in local.conf: +# +# PREFERRED_VERSION_gcc-cross = "3.4.4+csl-arm-2005q3" +# PREFERRED_VERSION_gcc-cross-initial = "3.4.4+csl-arm-2005q3" + + +PREFERRED_VERSION_orinoco-modules_h3600 = "0.13e" +PREFERRED_VERSION_orinoco-modules_h3900 = "0.13e" +PREFERRED_VERSION_dbus ?= "0.61" +PREFERRED_VERSION_gstreamer ?= "0.10.6" + +PREFERRED_PROVIDER_hostap-conf ?= "hostap-conf" +PREFERRED_PROVIDER_hostap-modules_h2200 ?= "hostap-modules" +PREFERRED_PROVIDER_hostap-modules_hx4700 ?= "hostap-modules" +PREFERRED_VERSION_hostap-modules ?= "0.4.7" + +#Down here we put stuff we want to install into machines without polluting conf/machine/ with distro stuff +# c7x0, akita, spitz, nokia770, h2200, h6300, ipaq-pxa270, simpad + +#### Bootstrap options #### + +PCMCIA_MANAGER_c7x0 = "pcmciautils" +PCMCIA_MANAGER_akita = "pcmciautils" +PCMCIA_MANAGER_spitz = "pcmciautils" +PCMCIA_MANAGER_nokia770 = "pcmciautils" +PCMCIA_MANAGER_h2200 = "pcmciautils" +PCMCIA_MANAGER_h6300 = "pcmciautils" +PCMCIA_MANAGER_ipaq-pxa270 = "pcmciautils" + + + +#### GPE section ### + +#Install libgtkinput in devices without a keyboard +GPE_EXTRA_INSTALL_append_ipaq-pxa270 = " libgtkinput" +GPE_EXTRA_INSTALL_append_h2200 = " libgtkinput" +GPE_EXTRA_INSTALL_append_h6300 = " libgtkinput" +GPE_EXTRA_INSTALL_append_simpad = " libgtkinput" +GPE_EXTRA_INSTALL_append_nokia770 = " libgtkinput" + +#As soon as a kill switch is in place we can add it to devices with a keyboard +#GPE_EXTRA_INSTALL_append_c7x0 = " libgtkinput" +#GPE_EXTRA_INSTALL_append_tosa = " libgtkinput" +#GPE_EXTRA_INSTALL_append_akita = " libgtkinput" +#GPE_EXTRA_INSTALL_append_spitz = " libgtkinput" + + diff --git a/meta/conf/distro/angstrom.conf b/meta/conf/distro/angstrom.conf new file mode 100644 index 000000000..100017410 --- /dev/null +++ b/meta/conf/distro/angstrom.conf @@ -0,0 +1,45 @@ +#@TYPE: Distribution +#@NAME: Angstrom +#@DESCRIPTION: Distribution configuration for Angstrom + +DISTRO = "angstrom" +DISTRO_NAME = "Angstrom" + +#Use this variable in feeds and other parts that need a URI +ANGSTROM_URI = "http://www.angstrom-distribution.org/" + +#Set the default maintainer to angstrom-dev +MAINTAINER = "Angstrom Developers " + +#use ipkg package format with debian style naming +#use multimachine buildrules +INHERIT += "package_ipk debian multimachine" + +#Generate locales on the buildsystem instead of on the target. Speeds up first boot, set to "1" to enable +PREFERRED_PROVIDER_qemu-native = "qemu-qop-nogfx-native" +ENABLE_BINARY_LOCALE_GENERATION ?= "" + + +#Use the ARM EABI when building for an ARM cpu. We can't use overrides +#here because this breaks all places where ":=" is used. +TARGET_VENDOR = "${@['','-angstrom'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" +TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" + +#mess with compiler flags to use -Os instead of -O2 +#Please see http://free-electrons.com/doc/embedded_linux_optimizations/img47.html for some more info +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os" +BUILD_OPTIMIZATION = "-Os" + +#ARM EABI is softfloat by default, but let's make sure :) +TARGET_FPU_arm = "soft" + +#Always ship these packages +BOOTSTRAP_EXTRA_DEPENDS += "angstrom-version coreutils dropbear sysvinit" +BOOTSTRAP_EXTRA_RDEPENDS += "angstrom-version coreutils dropbear sysvinit" + +#Name the generated images in a sane way +IMAGE_NAME = "${DISTRO_NAME}-${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" +DEPLOY_DIR_IMAGE = ${DEPLOY_DIR}/images/${MACHINE} + +# Angstrom *always* has some form of release config, so error out if someone thinks he knows better +DISTRO_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 000000000..e42456672 --- /dev/null +++ b/meta/conf/distro/familiar-unstable.conf @@ -0,0 +1,77 @@ +DISTRO = "familiar" +DISTRO_NAME = "Familiar Linux" +DISTRO_VERSION = "unstable-${DATE}" +# Do not touch this file before notifying familiar-dev@handhelds.org + +include conf/distro/familiar.conf + +DISTRO_TYPE = "debug" +#DISTRO_TYPE = "release" +#!!!!! DON'T FORGET TO ENABLE ZAPROOTPASSWD !!!!! + + +FEED_URIS += " \ + base##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/base \ + ${MACHINE}##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/machine/${MACHINE} \ + updates##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/updates \ + locale-en##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/en \ + locale-fr##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/fr \ + locale-de##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/locale/de" + +#SRCDATE = 20050331 +#SRCDATE = "now" + +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" + +PREFERRED_PROVIDER_virtual/libiconv=glibc +PREFERRED_PROVIDER_virtual/libintl=glibc + +PREFERRED_VERSION_hostap-modules ?= "0.3.9" + +#2.4 machines prefer 0.13e ones +PREFERRED_VERSION_orinoco-modules ?= "0.13e" + +#but 0.13e doesn't build against 2.6 +PREFERRED_VERSION_orinoco-modules_h2200 ?= "0.15" +PREFERRED_VERSION_orinoco-modules_ipaq-pxa270 ?= "0.15" + + +# The CSL compiler is unusable because +# 1) certain programs stop to compile +# 2) more programs segfault +PREFERRED_VERSION_gcc ?= "3.4.4" +PREFERRED_VERSION_gcc-cross ?= "3.4.4" +PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4" + +# +# PIN the familiar build to a version +# +PREFERRED_VERSION_binutils-cross ?= "2.15.94.0.1" +PREFERRED_VERSION_binutils ?= "2.15.94.0.1" + +# +# Opie +# + +OPIE_VERSION = "1.2.2" +QTE_VERSION = "2.3.10" +PALMTOP_USE_MULTITHREADED_QT = "yes" +include conf/distro/preferred-opie-versions.inc + +# +# GPE +# + +PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive" +PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus" +PREFERRED_PROVIDER_libx11 = "diet-x11" + +include conf/distro/preferred-gpe-versions-2.8.inc + +# +# E +# +include conf/distro/preferred-e-versions.inc + diff --git a/meta/conf/distro/familiar.conf b/meta/conf/distro/familiar.conf new file mode 100644 index 000000000..2646fe78a --- /dev/null +++ b/meta/conf/distro/familiar.conf @@ -0,0 +1,17 @@ +#@TYPE: Distribution +#@NAME: Familiar Linux +#@DESCRIPTION: Distribution configuration for Familiar Linux (handhelds.org) + +MAINTAINER ?= "Familiar Developers " + +INHERIT += "package_ipk debian multimachine" +TARGET_OS = "linux" + +BOOTSTRAP_EXTRA_RDEPENDS += "familiar-version" +IMAGE_NAME = "${IMAGE_BASENAME}-${DISTRO_VERSION}-${MACHINE}" + +ENABLE_BINARY_LOCALE_GENERATION ?= "1" +PARALLEL_INSTALL_MODULES = "1" +UDEV_DEVFS_RULES = "1" + +DISTRO_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 000000000..d30ecc908 --- /dev/null +++ b/meta/conf/distro/maemo-1.0.conf @@ -0,0 +1,40 @@ +include conf/distro/familiar.conf + +DISTRO = "maemo" +DISTRO_NAME = "Maemo Linux" +DISTRO_VERSION = "v1.0b-${DATE}" + +DISTRO_TYPE = "debug" +#DISTRO_TYPE = "release" + +FEED_URIS += " \ + base##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/base \ + updates##http://familiar.handhelds.org/releases/${DISTRO_VERSION}/feed/updates" + +#SRCDATE = 20050331 + +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}g++:gcc-cross" + +#PREFERRED_VERSION_binutils-cross = "2.15.91.0.2" +#PREFERRED_VERSION_gcc-cross = "3.4.4" +#PREFERRED_VERSION_gcc-cross-initial = "3.4.4 +#PREFERRED_VERSION_libtool-native = "1.5.6" +#PREFERRED_VERSION_libtool-cross= "1.5.6" + +# +# GPE +# + +PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive" +PREFERRED_PROVIDERS += "virtual/gconf:gconf-dbus" +PREFERRED_PROVIDER_libx11 = "diet-x11" + +include conf/distro/preferred-gpe-versions.inc + +# +# Maemo +# + +include 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 000000000..943f24432 --- /dev/null +++ b/meta/conf/distro/maemo-preferred.inc @@ -0,0 +1,10 @@ +PREFERRED_PROVIDER_gconf = "gconf-osso" +PREFERRED_PROVIDER_tslib = "tslib-maemo" +PREFERRED_VERSION_dbus = "0.23.1-osso5" +PREFERRED_VERSION_audiofile = "0.2.6-3osso4" +PREFERRED_PROVIDER_esd = "osso-esd" +PREFERRED_VERSION_gtk+ = "2.6.4-1.osso7" +PREFERRED_VERSION_glib-2.0 = "2.6.4" +PREFERRED_VERSION_pango = "1.8.1" +PREFERRED_VERSION_atk = "1.9.0" +PREFERRED_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 000000000..9f79c3211 --- /dev/null +++ b/meta/conf/distro/openzaurus-unstable.conf @@ -0,0 +1,71 @@ +#@-------------------------------------------------------------------- +#@TYPE: Distribution +#@NAME: OpenZaurus +#@DESCRIPTION: A Linux Distribution for the Sharp Zaurus family +#@-------------------------------------------------------------------- + +DISTRO_VERSION = ".dev-snapshot-${DATE}" + +CVS_TARBALL_STASH = "\ +http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4/sources/ \ +http://www.oesources.org/source/current/" + + +include conf/distro/openzaurus.conf + +DISTRO_TYPE = "debug" +# DISTRO_TYPE = "release" + +#FEED_URIS += " \ +# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \ +#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \ +# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \ +# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \ +# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \ +# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \ +# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel" + +SRCDATE = "20060514" +# +# Zaurus +# + +ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95" +PREFERRED_PROVIDER_hostap-conf = "hostap-conf" + +KERNEL_CONSOLE = "ttyS0" +#DEBUG_OPTIMIZATION = "-O -g3" +#DEBUG_BUILD = "1" +#INHIBIT_PACKAGE_STRIP = "1" + +# fix some iconv issues, needs to be adjusted when doing uclibc builds +PREFERRED_PROVIDER_virtual/libiconv = "glibc" +PREFERRED_PROVIDER_virtual/libintl = "glibc" + +# +# Base +# +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" + +# +# Opie +# +#QTE_VERSION = "2.3.10" +#OPIE_VERSION = "1.2.2" +#PALMTOP_USE_MULTITHREADED_QT = "yes" +include conf/distro/preferred-opie-versions.inc + +# +# GPE +# +PREFERRED_PROVIDERS += "virtual/xserver:xserver-kdrive" +PREFERRED_PROVIDER_libx11 = "diet-x11" +include conf/distro/preferred-gpe-versions-2.8.inc + +# +# E +# +include conf/distro/preferred-e-versions.inc + diff --git a/meta/conf/distro/openzaurus.conf b/meta/conf/distro/openzaurus.conf new file mode 100644 index 000000000..b7f456320 --- /dev/null +++ b/meta/conf/distro/openzaurus.conf @@ -0,0 +1,18 @@ +#@TYPE: Distribution +#@NAME: OpenZaurus +#@DESCRIPTION: Distribution configuration for OpenZaurus (http://www.openzaurus.org) + +DISTRO = "openzaurus" +DISTRO_NAME = "OpenZaurus" + +INHERIT += " package_ipk debian multimachine" +# For some reason, this doesn't work +# TARGET_OS ?= "linux" +TARGET_OS = "linux" +TARGET_FPU = "soft" + +BOOTSTRAP_EXTRA_RDEPENDS += "openzaurus-version" + +PARALLEL_INSTALL_MODULES = "1" + +DISTRO_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 000000000..d35ec8e44 --- /dev/null +++ b/meta/conf/distro/poky-eabi.conf @@ -0,0 +1,23 @@ +# +# Poky configuration to use EABI +# + +PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-libc-for-gcc = "glibc-intermediate" +PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate" + +PREFERRED_VERSION_gcc ?= "3.4.4+csl-arm-2005q3" +PREFERRED_VERSION_gcc-cross ?= "3.4.4+csl-arm-2005q3" +PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4+csl-arm-2005q3" +#PREFERRED_VERSION_gcc ?= "4.1.0" +#PREFERRED_VERSION_gcc-cross ?= "4.1.0" +#PREFERRED_VERSION_gcc-cross-initial ?= "4.1.0" +PREFERRED_VERSION_binutils ?= "2.16.91.0.7" +PREFERRED_VERSION_binutils-cross ?= "2.16.91.0.7" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.15.99" +PREFERRED_VERSION_glibc ?= "2.4" +PREFERRED_VERSION_glibc-intermediate ?= "2.4" + +#Use the ARM EABI when building for an ARM cpu. We can't use overrides +#here because this breaks all places where ":=" is used. +TARGET_VENDOR = "${@['','-poky'][bb.data.getVar('TARGET_ARCH',d,1)=='arm']}" +TARGET_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 000000000..71d609201 --- /dev/null +++ b/meta/conf/distro/poky-oabi.conf @@ -0,0 +1,11 @@ +# +# Poky configuration to use its Original ABI +# +PREFERRED_VERSION_binutils ?= "2.16" +PREFERRED_VERSION_binutils-cross ?= "2.15.94.0.1" +PREFERRED_VERSION_gcc ?= "3.4.4" +PREFERRED_VERSION_gcc-cross ?= "3.4.4" +PREFERRED_VERSION_gcc-cross-initial ?= "3.4.4" +PREFERRED_VERSION_linux-libc-headers ?= "2.6.11.1" +PREFERRED_VERSION_glibc ?= "2.3.5+cvs20050627" +PREFERRED_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 000000000..b30bfda0a --- /dev/null +++ b/meta/conf/distro/poky.conf @@ -0,0 +1,176 @@ +#@TYPE: Distribution#@NAME: Poky +#@DESCRIPTION: Distribution configuration for OpenedHand (Poky) + +DISTRO = "poky" +DISTRO_NAME = "OpenedHand Linux (Poky)" +DISTRO_VERSION = "0.0-snapshot-${DATE}" + +# DISTRO_VERSION = "3.5.4" +DISTRO_TYPE = "debug" +# DISTRO_TYPE = "release" + + +INHERIT += " package_ipk debian multimachine poky " +# For some reason, this doesn't work +# TARGET_OS ?= "linux" +TARGET_OS = "linux" +TARGET_FPU ?= "soft" +IMAGE_ROOTFS_SIZE_ext2 = 131072 + +PARALLEL_INSTALL_MODULES = "1" + +#FEED_URIS += " \ +# upgrades##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/ \ +#upgrades-${MACHINE}##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/upgrades/${MACHINE} \ +# machine##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/machine/${MACHINE} \ +# base##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/base/ \ +# libs##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/libs/ \ +# console##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/console \ +# devel##http://openzaurus.org/official/unstable/${DISTRO_VERSION}/feed/devel" + +ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95" +OEINCLUDELOGS = "yes" +KERNEL_CONSOLE = "ttyS0" +#DEBUG_OPTIMIZATION = "-O -g3" +#DEBUG_BUILD = "1" +#INHIBIT_PACKAGE_STRIP = "1" + +POKYMODE ?= "oabi" + +include conf/distro/poky-${POKYMODE}.conf + +# +# Preferred providers: +# +# Toolchain: +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross" +PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross" + +# Libc/uclibc: +#fix some iconv issues, needs to be adjusted when doing uclibc builds +PREFERRED_PROVIDER_virtual/libiconv ?= glibc +PREFERRED_PROVIDER_virtual/libintl ?= glibc + +# Virtuals: +PREFERRED_PROVIDER_virtual/db ?= "db" +PREFERRED_PROVIDER_virtual/db-native ?= "db-native" +PREFERRED_PROVIDER_virtual/xserver ?= xserver-kdrive + +# Others: +PREFERRED_PROVIDER_libx11 ?= "diet-x11" +PREFERRED_PROVIDER_gconf ?= gconf-dbus +PREFERRED_PROVIDER_gnome-vfs ?= gnome-vfs-dbus +PREFERRED_PROVIDER_tslib ?= tslib + + +# +# CVS Dates to use: +# +#SRCDATE_gnome-vfs-dbus ?= "20051215" +SRCDATE_gconf-dbus ?= "20060119" +SRCDATE_gnome-vfs-dbus ?= "20060119" +SRCDATE_contacts ?= "20060707" +SRCDATE_dates ?= "20060721" +SRCDATE_gtkhtml2 ?= "20060323" +SRCDATE_web ?= "20060613" +SRCDATE_eds-dbus ?= "20060707" +SRCDATE_minimo ?= "20050401" +SRCDATE_ipkg-utils-native ?= "20050930" +SRCDATE_ipkg-link-1 ?= "20050930" +SRCDATE_ipkg-utils ?= "20050930" +SRCDATE_ipkg-link ?= "20050930" +SRCDATE_matchbox-common ?= "20060612" +SRCDATE_matchbox-config-gtk ?= "20060612" +SRCDATE_matchbox-desktop ?= "20060612" +SRCDATE_matchbox-keyboard ?= "20060612" +SRCDATE_matchbox-panel ?= "20060612" +SRCDATE_matchbox-panel-manager ?= "20060612" +SRCDATE_matchbox-stroke ?= "20060612" +SRCDATE_matchbox-themes-extra ?= "20060612" +SRCDATE_matchbox-wm ?= "20060612" +SRCDATE_libmatchbox ?= "20060612" +SRCDATE_tslib ?= "20051101" +SRCDATE_libxext ?= "20051101" +SRCDATE_renderext ?= "20051101" +SRCDATE_libxrender ?= "20051101" +SRCDATE_fixesext ?= "20051101" +SRCDATE_damageext ?= "20051101" +SRCDATE_compositeext ?= "20051101" +SRCDATE_xcalibrateext ?= "20051101" +SRCDATE_recordext ?= "20051101" +SRCDATE_libfakekey ?= "20051101" +SRCDATE_xmodmap ?= "20051101" +SRCDATE_libxrandr ?= "20051101" +SRCDATE_libxtst ?= "20051101" +SRCDATE_xcalibrate ?= "20051101" +SRCDATE_libxmu ?= "20051115" +SRCDATE_xdpyinfo ?= "20051115" +SRCDATE_xauth ?= "20060120" +SRCDATE_xserver-kdrive = "20050207" +SRCDATE_qemu-native ?= "20060526" +SRCDATE_oprofile ?= "20060214" +SRCDATE_zaurusd ?= "20060628" + +# +# Preferred Versions: +# +PREFERRED_VERSION_matchbox ?= "0.9.1" +PREFERRED_VERSION_matchbox-applet-inputmanager ?= "0.6" +PREFERRED_VERSION_matchbox-applet-startup-monitor ?= "0.1" +PREFERRED_VERSION_matchbox-common ?= "0.9.1+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-config-gtk ?= "0.0+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-desktop ?= "0.9.1+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-keyboard ?= "0.0+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-panel ?= "0.9.2+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-stroke ?= "0.0+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-themes-extra ?= "0.3+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-wm ?= "0.9.5+svn${SRCDATE}" +PREFERRED_VERSION_libmatchbox ?= "1.7+svn${SRCDATE}" +PREFERRED_VERSION_xserver-kdrive = "0.0+cvs${SRCDATE}" + +PREFERRED_VERSION_glib-2.0 ?= "2.10.3" +PREFERRED_VERSION_glib-2.0-native ?= "2.10.3" +PREFERRED_VERSION_atk ?= "1.10.1" +PREFERRED_VERSION_cairo = "1.0.4" +PREFERRED_VERSION_gtk+ ?= "2.6.8" +#PREFERRED_VERSION_gtk+ ?= "2.8.16" +PREFERRED_VERSION_pango ?= "1.10.0" + +PREFERRED_VERSION_dbus ?= "0.60" +PREFERRED_VERSION_gnome-vfs-dbus ?= "2.12.0+cvs${SRCDATE}" + +PREFERRED_VERSION_diet-x11 ?= "6.2.1" +PREFERRED_VERSION_dillo2 ?= "0.6.6" +PREFERRED_VERSION_evince ?= "0.3.2" +PREFERRED_VERSION_firefox ?= "1.0" +PREFERRED_VERSION_gaim ?= "2.0.0-cvs-mco1-20050904" +PREFERRED_VERSION_gtk2-theme-angelistic ?= "0.3" +PREFERRED_VERSION_gsoko ?= "0.4.2-gpe6" +PREFERRED_VERSION_keylaunch ?= "2.0.7" +PREFERRED_VERSION_librsvg ?= "2.6.5" +PREFERRED_VERSION_libgsm ?= "1.0.10" +PREFERRED_VERSION_libschedule ?= "0.15" +PREFERRED_VERSION_linphone-hh ?= "0.12.2.hh1" +PREFERRED_VERSION_linphone ?= "0.12.2" +PREFERRED_VERSION_minilite ?= "0.49" +PREFERRED_VERSION_minimo ?= "0.0+cvs${SRCDATE_minimo}" +PREFERRED_VERSION_poppler ?= "0.3.3" +PREFERRED_VERSION_rosetta ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_rxvt-unicode ?= "5.6" +PREFERRED_VERSION_xcursor-transparent-theme ?= "0.1.1" +PREFERRED_VERSION_xdemineur ?= "2.1.1" +PREFERRED_VERSION_xextensions ?= "1.0.1" +PREFERRED_VERSION_xhost ?= "0.0+cvs20040413" +PREFERRED_VERSION_xmonobut ?= "0.4" +PREFERRED_VERSION_xprop ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_xproto ?= "6.6.2" +PREFERRED_VERSION_xrdb ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_xst ?= "0.15" +PREFERRED_VERSION_oprofile ?= "0.9.1+cvs${SRCDATE}" + +PCMCIA_MANAGER ?= "pcmciautils" + +CVS_TARBALL_STASH += "http://www.o-hand.com/~richard/poky/sources/" + +IMAGE_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 000000000..607acad85 --- /dev/null +++ b/meta/conf/distro/preferred-e-versions.inc @@ -0,0 +1,33 @@ +# +# Specify which versions of E-related libraries and applications to build +# + +#PREFERRED_VERSION_e = "0.16.999.025" +#PREFERRED_VERSION_ecore-x11 = "0.9.9.025" +#PREFERRED_VERSION_ecore-native = "0.9.9.025" +#PREFERRED_VERSION_edb = "1.0.5.006" +#PREFERRED_VERSION_edb-native = "1.0.5.006" +#PREFERRED_VERSION_edje = "0.5.0.025" +#PREFERRED_VERSION_edje-native = "0.5.0.025" +#PREFERRED_VERSION_eet = "0.9.10.025" +#PREFERRED_VERSION_eet-native = "0.9.10.025" +#PREFERRED_VERSION_embryo = "0.9.1.025" +#PREFERRED_VERSION_embryo-native = "0.9.1.025" +#PREFERRED_VERSION_emotion = "0.0.1.004" +#PREFERRED_VERSION_emotion-native = "0.0.1.004" +#PREFERRED_VERSION_epeg = "0.9.0.006" +#PREFERRED_VERSION_epsilon = "0.3.0.006" +#PREFERRED_VERSION_esmart-x11 = "0.9.0.006" +#PREFERRED_VERSION_evas-x11 = "0.9.9.025" +#PREFERRED_VERSION_evas-native = "0.9.9.025" +#PREFERRED_VERSION_ewl = "0.0.4.006" +#PREFERRED_VERSION_imlib2-x11 = "1.2.1.011" +#PREFERRED_VERSION_imlib2-native = "1.2.1.011" +#PREFERRED_VERSION_e-wm = "0.16.999.025" +#PREFERRED_VERSION_entrance = "0.9.0.006" + +PREFERRED_PROVIDER_virtual/evas ?= "evas-x11" +PREFERRED_PROVIDER_virtual/ecore ?= "ecore-x11" +PREFERRED_PROVIDER_virtual/imlib2 ?= "imlib2-x11" +PREFERRED_PROVIDER_virtual/esmart ?= "esmart-x11" + 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 000000000..933195977 --- /dev/null +++ b/meta/conf/distro/preferred-gpe-versions-2.7.inc @@ -0,0 +1,96 @@ +# +# Specify which versions of GPE (and related) applications to build +# + +#work around some breakages +#SRCDATE_minimo=20050401 + +#set some preferred providers: +PREFERRED_PROVIDER_gconf=gconf-dbus +PREFERRED_PROVIDER_gnome-vfs=gnome-vfs-dbus + +#specify versions, as the header says :) +PREFERRED_VERSION_libmatchbox ?= "1.7" +PREFERRED_VERSION_matchbox ?= "0.9.1" +PREFERRED_VERSION_matchbox-common ?= "0.9.1" +PREFERRED_VERSION_matchbox-desktop ?= "0.9.1" +PREFERRED_VERSION_matchbox-wm ?= "0.9.5+svn${SRCDATE}" +PREFERRED_VERSION_matchbox-panel ?= "0.9.2" +PREFERRED_VERSION_matchbox-applet-inputmanager ?= "0.6" +PREFERRED_VERSION_atk ?= "1.9.0" +PREFERRED_VERSION_cairo ?= "0.5.2" +PREFERRED_VERSION_glib-2.0 ?= "2.6.4" +PREFERRED_VERSION_gtk+ ?= "2.6.10" +PREFERRED_VERSION_pango ?= "1.8.1" +PREFERRED_VERSION_librsvg ?= "2.6.5" +PREFERRED_VERSION_libgpewidget ?= "0.109" +PREFERRED_VERSION_libgpepimc ?= "0.5" +PREFERRED_VERSION_libgpevtype ?= "0.14" +PREFERRED_VERSION_libschedule ?= "0.15" +PREFERRED_VERSION_libcontactsdb ?= "0.3" +PREFERRED_VERSION_libtododb ?= "0.09" +PREFERRED_VERSION_gpe-icons ?= "0.25" +PREFERRED_VERSION_libgsm ?= "1.0.10" +PREFERRED_VERSION_diet-x11 ?= "6.2.1" +PREFERRED_VERSION_xproto ?= "6.6.2" +PREFERRED_VERSION_xcursor-transparent-theme ?= "0.1.1" +PREFERRED_VERSION_rxvt-unicode ?= "5.6" +PREFERRED_VERSION_gtk2-theme-angelistic ?= "0.3" +PREFERRED_VERSION_xst ?= "0.15" +PREFERRED_VERSION_xextensions ?= "1.0.1" +PREFERRED_VERSION_xserver-kdrive = "0.0+cvs20050207" +PREFERRED_VERSION_xprop ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_xhost ?= "0.0+cvs20040413" +PREFERRED_VERSION_xrdb ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_gpe-login ?= "0.83" +PREFERRED_VERSION_gpe-session-scripts ?= "0.66" +PREFERRED_VERSION_gpe-soundserver ?= "0.4-1" +PREFERRED_VERSION_gpe-todo ?= "0.55" +PREFERRED_VERSION_gpe-calendar ?= "0.70" +PREFERRED_VERSION_gpe-sketchbook ?= "0.2.9" +PREFERRED_VERSION_gpe-contacts ?= "0.43" +PREFERRED_VERSION_gpe-today ?= "0.10" +PREFERRED_VERSION_matchbox-panel-manager ?= "0.1" +PREFERRED_VERSION_dbus ?= "0.23.4" +PREFERRED_VERSION_gpe-beam ?= "0.2.8" +PREFERRED_VERSION_gpe-bluetooth ?= "0.51" +PREFERRED_VERSION_gpe-su ?= "0.19" +PREFERRED_VERSION_gpe-conf ?= "0.1.29" +PREFERRED_VERSION_gpe-clock ?= "0.23" +PREFERRED_VERSION_gpe-mininet ?= "0.7" +PREFERRED_VERSION_gpe-mixer ?= "0.42" +PREFERRED_VERSION_gpe-shield ?= "0.8" +PREFERRED_VERSION_gpe-wlancfg ?= "0.2.6" +PREFERRED_VERSION_gpe-taskmanager ?= "0.19" +PREFERRED_VERSION_keylaunch ?= "2.0.7" +PREFERRED_VERSION_minilite ?= "0.49" +PREFERRED_VERSION_xmonobut ?= "0.4" +PREFERRED_VERSION_gpe-edit ?= "0.29" +PREFERRED_VERSION_gpe-gallery ?= "0.96" +PREFERRED_VERSION_gpe-calculator ?= "0.2" +PREFERRED_VERSION_gpe-package ?= "0.3" +PREFERRED_VERSION_gpe-soundbite ?= "1.0.6" +PREFERRED_VERSION_gpe-terminal ?= "1.1" +PREFERRED_VERSION_gpe-watch ?= "0.10" +PREFERRED_VERSION_gpe-what ?= "0.42" +PREFERRED_VERSION_gpe-filemanager ?= "0.23" +PREFERRED_VERSION_gpe-go ?= "0.05" +PREFERRED_VERSION_gpe-irc ?= "0.07" +PREFERRED_VERSION_gpe-lights ?= "0.13" +#PREFERRED_VERSION_gpe-nmf ?= "0.21" +PREFERRED_VERSION_gpe-othello ?= "0.2-1" +PREFERRED_VERSION_gpe-plucker ?= "0.2" +PREFERRED_VERSION_gpe-tetris ?= "0.6-4" +PREFERRED_VERSION_gsoko ?= "0.4.2-gpe6" +PREFERRED_VERSION_xdemineur ?= "2.1.1" +PREFERRED_VERSION_matchbox-panel-hacks ?= "0.3-1" +PREFERRED_VERSION_rosetta ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_dillo2 ?= "0.6.6" +PREFERRED_VERSION_minimo ?= "0.0+cvs${SRCDATE}" +PREFERRED_VERSION_linphone-hh ?= "0.12.2.hh1" +PREFERRED_VERSION_linphone ?= "0.12.2" +PREFERRED_VERSION_firefox ?= "1.0" +PREFERRED_VERSION_gaim ?= "2.0.0+cvs20050904-mco1" +PREFERRED_VERSION_poppler ?= "0.3.3" +PREFERRED_VERSION_evince ?= "0.3.2" +PREFERRED_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 000000000..51c993762 --- /dev/null +++ b/meta/conf/distro/preferred-opie-versions.inc @@ -0,0 +1,206 @@ +# +# Default versions +QTE_VERSION ?= "2.3.10" +OPIE_VERSION ?= "1.2.2" +PALMTOP_USE_MULTITHREADED_QT ?= "yes" + +# +# +# Opie libraries +# +PREFERRED_PROVIDER_virtual/libqte2 = '${@base_conditional("PALMTOP_USE_MULTITHREADED_QT", "yes", "qte-mt", "qte", d)}' +PREFERRED_PROVIDER_virtual/libqpe1 = "libqpe-opie" +PREFERRED_VERSION_qte-mt = "${QTE_VERSION}" +PREFERRED_VERSION_qte = "${QTE_VERSION}" +PREFERRED_VERSION_libopie2 = "${OPIE_VERSION}" +PREFERRED_VERSION_libopieobex0 = "${OPIE_VERSION}" +PREFERRED_VERSION_libopietooth1 = "${OPIE_VERSION}" +PREFERRED_VERSION_libqpe-opie = "${OPIE_VERSION}" +PREFERRED_VERSION_libqtaux2 = "${OPIE_VERSION}" +PREFERRED_VERSION_libmailwrapper = "${OPIE_VERSION}" +# +# Opie applications +# +PREFERRED_VERSION_opie-aboutapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-addressbook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-advancedfm = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-alarm = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-appearance = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-aqpkg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-autorotateapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-backgammon = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-backup = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bartender = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-batteryapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluepin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluetoothapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bluetoothmanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-bounce = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-brightnessapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-button-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-buzzword = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-calculator = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-calibrate = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-camera = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-cardmon = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-checkbook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-citytime = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clipboardapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clockapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-clock = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-confeditor = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-console = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dagger = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dasher = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-chrisholidayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-nationalholidayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-datebook-birthdayplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-flat = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-liquid = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-deco-polished = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-doctab = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-drawpad = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-dvorak = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-embeddedkonsole = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-euroconv = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-examples-python = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-eye = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-fifteen = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-formatter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-freetype = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-ftplib = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-ftp = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-go = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-gutenbrowser = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-handwriting = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-helpbrowser = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-help-en = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-homeapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-i18n = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lrelease-native = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lupdate-native = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-icon-reload = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-irc = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-irdaapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-jumpx = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kbill = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kcheckers = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keyboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keypebble = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keytabs = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-keyview = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kjumpx = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-kpacman = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-language = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-launcher-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-libqrsync = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-light-and-power = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-lockapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-login = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-logoutapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mailapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mail = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libmadplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libmodplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libtremorplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1-libwavplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer1 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-default = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-default-landscape = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-pod = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediaplayer2-skin-techno = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mediummount = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-memoryapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mindbreaker = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-minesweep = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-mobilemsg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-multikeyapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-multikey = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-networkapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-networksettings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-notesapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-odict = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-osearch = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-oxygen = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-oyatzee = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-packagemanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-parashoot = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pcmciaapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-performance = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pickboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pics = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pimconverter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-powerchord = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-pyquicklaunchapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qasteroids = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qcop = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-quicklauncher = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-qss = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-rdesktop = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-reader = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-recorder = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-remote = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet2 = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-restartapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-rotateapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-screenshotapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-search = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-security = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-blueping = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-dummy = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-notice = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-securityplugin-pin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sfcave = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sheet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sh = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-showimg = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-snake = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-solitaire = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sshkeys = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-flat = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-fresh = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-liquid = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-metal = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-phase = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-style-web = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sounds = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-suspendapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-symlinker = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-sysinfo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-systemtime = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tableviewer = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tabmanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-taskbar = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tetrix = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-textedit = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-theme = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tictac = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tinykate = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-addressbookplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-datebookplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-fortuneplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-mailplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-stocktickerplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-todolistplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-today-weatherplugin = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-todo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-tonleiter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-unikeyboard = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-usermanager = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vmemo = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vmemo-settings = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-volumeapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-vtapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wellenreiter = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wirelessapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-wordgame = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-write = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zkbapplet = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zlines = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zsafe = "${OPIE_VERSION}" +PREFERRED_VERSION_opie-zsame = "${OPIE_VERSION}" +PREFERRED_VERSION_konqueror-embedded = "20060404" diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf new file mode 100644 index 000000000..c07c8fa68 --- /dev/null +++ b/meta/conf/documentation.conf @@ -0,0 +1,104 @@ +# this file holds documentation for known keys, possible values and +# their meaning. Please update, correct and extend this documentation. +# Mail your changes to oe@handhelds.org + +# conf/bitbake.conf +PREFERRED_VERSION[doc] = 'Normally use it as PREFERRED_VERSION_package-name = "" to set the preferred \ +version of more than one version for the package-name is available.' + +BUILD_ARCH[doc] = "The name of the building architecture. E.g. i686." +BUILD_OS[doc] = "The operating system (in lower case) of the building architecture. E.g \ +linux." +BUILD_VENDOR[doc] = "FIXME" +BUILD_SYS[doc] = "FIXME" +BUILD_PREFIX[doc] = "FIXME" +BUILD_CC_ARCH[doc] = "FIXME" + +HOST_ARCH[doc] = "The name of the target architecture. Normally same as the TARGET_ARCH. @see TARGET_ARCH @group base" +HOST_OS[doc] = "The name of the target operating system. Normally the same as the TARGET_OS. \ +@see TARGET_OS @group base" +HOST_VENDOR[doc] = "The name of the vendor. Normally same as the TARGET_VENDOR. @see TARGET_VENDOR" +HOST_SYS[doc] = "FIXME" +HOST_PREFIX[doc] = "Normally same as the TARGET_PREFIX. @see TARGET_PREFIX @group base" +HOST_CC_ARCH[doc] = "Normally same as the TARGET_CC_ARCH. @see TARGET_CC_ARCH @group base" +HOST_NONSYSV[doc] = 'This flag can be set to "1" if the host system is not SysV compatible. E.g.\ +fakeroot-native will be build with tcp as IPC implementation.' + +TARGET_ARCH[doc] = "Build for which architecture. Examples are arm, i686, sh3, mips, powerpc." +TARGET_OS[doc] = 'Build for which Operating System. Currently possible values are \ +linux and linux-uclibc. When using linux-uclibc you might want to set USE_NLS_gcc-cross to "no".' +TARGET_VENDOR[doc] = "FIXME" +TARGET_SYS[doc] = "The target system is composed out of TARGET_ARCH,TARGET_VENDOR and TARGET_OS." +TARGET_PREFIX[doc] = "The prefix for the cross compile toolchain. E.g arm-linux- ." +TARGET_CC_ARCH[doc] = "FIXME" +TARGET_FPU[doc] = "Floating point option (mostly for FPU-less systems), can be 'soft' or empty \ +for hardware floating point instructions." + +PACKAGE_ARCH[doc] = 'The architecture needed for using a resulting package. If you have \ +machine dependant configuration options in your bitbake file add a \ +PACKAGE_ARCH = "${MACHINE_ARCH}" to the file.' + +IPKG_ARCHS[doc] = 'A list of architectures compatible with the given target in order of priority' +IPKG_EXTRA_ARCHS[doc] = 'Set this variable to add extra architectures to the list of supported architectures' + +DATE[doc] = "The date the build was started Ymd" +TIME[doc] = "The time the build was started HMS" +DATETIME[doc] = "The date and time the build was started at" + +PN[doc] = "PN holds the name of the package (Package Name). It is gathered from the bitbake-file filename" +PV[doc] = "PV holds the version of the package (Package Version). The default value is 1.0, it is \ +retrieved from the bitbake-file filename but can be changed." +PR[doc] = "PR is the revision of the package (Package Revision). By default it is set to r0." +PF[doc] = "Package name - Package version - Package revision (PN-PV-PR)" +P[doc] = "Package name - Package version (PN-PF)" +S[doc] = "Directory that holds the sources to build, WORKDIR/PN-PV by default. The 'make' or equivalent command is run from this directory." +SECTION[doc] = "Section of the packages e.g. console/networking" +PRIORITY[doc] = "Importance of package, default values are 'optional' or 'needed'." +DESCRIPTION[doc] = "A small description of the package." +LICENSE[doc] = "The license of the resulting package e.g. GPL" +AUTHOR[doc] = "The author of the files installed." +MAINTAINER[doc] = "Maintainer of the .bb file and the resulting package." +HOMEPAGE[doc] = "Homepage of the package e.g. http://www.project.net." + + +# dependencies +GROUP_dependencies[doc] = "The keys in this group influence the dependency handling of BitBake \ +and the resulting packages." +DEPENDS[doc] = "Build time dependencies, things needed to build the package. @group dependencies" +RDEPENDS[doc] = "Run time dependencies, things needed for a given package to run. This is used to populate the ipkg:Depends field. @group dependencies" +PROVIDES[doc] = "Names for additional build time dependencies that this package will provide. @group dependencies" +RPROVIDES[doc] = "Names for additional run time dependencies that this package will provide. This is used to populate the ipkg:Provides field. @group dependencies" + + +# packaging +GROUP_packaging[doc] = "The keys in this group influence the package building process. They influence \ +which packages will be generated and which files will be present in the generated packages." +PACKAGES[doc] = "Names of packages to be generated. @group packaging" +FILES[doc] = "Files/Directories belonging to the package. @group packaging" + + + +TMPDIR[doc] = "The temporary directory of openembedded holding work-, deploy, staging- and other directories." +CACHE[doc] = "The directory holding the cache of the metadata." + +GROUP_fetcher[doc] = "The key highly influence the fetcher implementations." +DL_DIR[doc] = "The directory where tarballs will be stored. @group fetcher" +CVSDIR[doc] = "The directory where cvs checkouts will be stored in. @group fetcher" +GITDIR[doc] = "The directory where git clones will be stored. @group fetcher" + +STAMP[doc] = "The directory that holds files to keep track of what was built." +WORKDIR[doc] = "The directory where a concrete package will be unpacked and built." +T[doc] = "Temporary directory within the WORKDIR." + +GROUP_locale[doc] = "Locale generation of the GNU libc implementation" +ENABLE_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" + +PCMCIA_MANAGER[doc] = "Specify which package(s) to install to handle PCMCIA slots (usually pcmcia-cs or pcmciautils)." + +SYSVINIT_ENABLED_GETTYS[doc] = "Specify which VTs should be running a getty, the default is 1" + +# palmtop build class +PALMTOP_USE_MULTITHREADED_QT[doc] = "Set to yes, if you want to build qt apps with CONFIG+=thread" + +COMPATIBLE_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." +COMPATIBLE_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 000000000..e81434da8 --- /dev/null +++ b/meta/conf/licenses.conf @@ -0,0 +1,5 @@ +SRC_DISTRIBUTE_LICENSES += "GPL GPLv2 BSD LGPL Apache-2.0 QPL AFL" +SRC_DISTRIBUTE_LICENSES += "MIT Sleepycat Classpath Perl PSF PD Artistic" +SRC_DISTRIBUTE_LICENSES += "bzip2 zlib ntp cron libpng netperf openssl" +SRC_DISTRIBUTE_LICENSES += "Info-ZIP tcp-wrappers" + diff --git a/meta/conf/machine/akita.conf b/meta/conf/machine/akita.conf new file mode 100644 index 000000000..89c0d031e --- /dev/null +++ b/meta/conf/machine/akita.conf @@ -0,0 +1,8 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C1000 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C1000 device + +include conf/machine/include/zaurus-clamshell.conf +include conf/machine/include/zaurus-clamshell-2.6.conf + +ROOT_FLASH_SIZE = "58" diff --git a/meta/conf/machine/c7x0.conf b/meta/conf/machine/c7x0.conf new file mode 100644 index 000000000..0bd962352 --- /dev/null +++ b/meta/conf/machine/c7x0.conf @@ -0,0 +1,9 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C7x0 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C700, Sharp Zaurus SL-C750, Sharp Zaurus SL-C760, Sharp Zaurus SL-C860 devices + +include conf/machine/include/zaurus-clamshell.conf +include conf/machine/include/zaurus-clamshell-2.6.conf + +ROOT_FLASH_SIZE = "25" +# 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 000000000..fc281f374 --- /dev/null +++ b/meta/conf/machine/cmx270.conf @@ -0,0 +1,31 @@ +#@TYPE: Machine +#@NAME: Nokia 770 internet tablet +#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet +TARGET_ARCH = "arm" +IPKG_EXTRA_ARCHS = "armv4 armv5te" + +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n" + +IMAGE_CMD_jffs2 = "mkdir -p ${DEPLOY_DIR_IMAGE}; \ + mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ + --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img ${EXTRA_IMAGECMD}; " + +PREFERRED_PROVIDER_virtual/bootloader = "" + +# 800x480 is big enough for me +GUI_MACHINE_CLASS = "bigscreen" + +# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm. +include conf/machine/include/tune-xscale.conf + +#size of the root partition (yes, it is 123 MB) +ROOT_FLASH_SIZE = "128" + +# serial console port on devboard rev. B3 +SERIAL_CONSOLE = "115200 ttyS0" + +PREFERRED_PROVIDER_virtual/kernel = "linux-cmx270" + + +include conf/machine/include/handheld-common.conf + diff --git a/meta/conf/machine/include/handheld-common.conf b/meta/conf/machine/include/handheld-common.conf new file mode 100644 index 000000000..f8767d2dd --- /dev/null +++ b/meta/conf/machine/include/handheld-common.conf @@ -0,0 +1,23 @@ +HANDHELD_MODULES = "ipv6 \ +ipsec \ +nvrd \ +mip6-mn \ +tun \ +ide-cs ide-disk ide-probe-mod \ +loop \ +vfat ext2 \ +sunrpc nfs \ +btuart-cs dtl1-cs bt3c-cs rfcomm bnep l2cap sco hci_uart hidp \ +pcnet-cs serial-cs airo-cs \ +af_packet \ +ppp-async ppp-deflate ppp-mppe \ +ip-gre ip-tables ipip \ +irda irlan irnet irport irtty ircomm-tty \ +input uinput \ +" + +# Configuration bits for "generic handheld" +BOOTSTRAP_EXTRA_RDEPENDS += "${PCMCIA_MANAGER} apm apmd network-suspend-scripts" +BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp wireless-tools irda-utils openswan wpa-supplicant-nossl lrzsz ppp-dialin ${@linux_module_packages('${HANDHELD_MODULES}', d)}" + +INHERIT += "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 000000000..eb696cf9f --- /dev/null +++ b/meta/conf/machine/include/ipaq-common.conf @@ -0,0 +1,7 @@ +IPAQ_MODULES = "apm h3600_generic_sleeve ipaq-sleeve ipaq-mtd-asset nvrd atmelwlandriver sa1100-rtc ipaq-hal h3600_ts usb-eth wavelan_cs keybdev" + +BOOTSTRAP_EXTRA_RRECOMMENDS += "kbdd bl hostap-modules-cs orinoco-modules-cs atmelwlandriver ${@linux_module_packages('${IPAQ_MODULES}', d)}" +BOOTSTRAP_EXTRA_RRECOMMENDS_append_kernel24 += "mipv6" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" + diff --git a/meta/conf/machine/include/ixp4xx.conf b/meta/conf/machine/include/ixp4xx.conf new file mode 100644 index 000000000..93befb92c --- /dev/null +++ b/meta/conf/machine/include/ixp4xx.conf @@ -0,0 +1,174 @@ +#@TYPE: Machine configuration +#@NAME: ixp4xx +#@DESCRIPTION: genric machine configuration for ixp4xx platforms + +#------------------------------------------------------------------------------- +# INPUTS +#------------------------------------------------------------------------------- +# conf/${DISTRO}.conf is included after this file and should be used to modify +# variables identified as 'INPUTS' to the required values for the DISTRO, this +# will cause the board specific settings (which depend for the most part on the +# exact CPU used) to be set correctly within this file. The results are the +# variables identifies here as 'OUTPUTS' +# +#variable = "default" +# +# description + +ARCH_BYTE_SEX = "be" +# "be" "le" +# The memory byte sex and (on correctly implemented hardware - the IXP4XX is +# correct) the byte sex of the buses within the system. 'be' (big-endian) +# means that the first byte is the most significant byte on a bus, 'le' +# (little-endian) means that the first byte is the least significant byte. + +ARM_INSTRUCTION_SET = "arm" +# "arm" "thumb" +# The instruction set the compiler should use when generating application +# code. The kernel is always compiled with arm code at present. arm code +# is the original 32 bit ARM instruction set, thumb code is the 16 bit +# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size) +# but requires more instructions (140% for 70% smaller code) so may be +# slower. + +THUMB_INTERWORK = "yes" +# "yes" "no" +# Whether to compile with code to allow interworking between the two +# instruction sets. This allows thumb code to be executed on a primarily +# arm system and vice versa. It is strongly recommended that DISTROs not +# turn this off - the actual cost is very small. + +DISTRO_BASE = "" +# "" ":" +# If given this must be the name of a 'distro' to add to the bitbake OVERRIDES +# after ${DISTRO}, this allows different distros to share a common base of +# overrides. The value given must include a leading ':' or chaos will result. + +IXP4XX_SUFFIX = "${MACHINE_ARCH}" +# +# Kernel suffix - 'ixp4xxbe' or 'ixp4xxle' for a truely generic image, controls +# the suffix on the name of the generated zImage, override in the DISTRO +# configuration if patches or defconfig are changed for the DISTRO. + +#------------------------------------------------------------------------------- +# OUTPUTS +#------------------------------------------------------------------------------- + +#OVERRIDES +# The standard ':' separated list of overrides used by bitbake - see the +# basic setting in bitbake.conf. This list is based on that used for the +# standard setting however :, :thumb and :thumb-interwork will be +# inserted at appropriate points if a base distro, default use of thumb or +# arm/thumb interworking are enabled in the inputs. +OVERRIDE_THUMB = "${@['', ':thumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" +OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}" +OVERRIDES = "local:${MACHINE}:ixp4xx:${DISTRO}${DISTRO_BASE}:${TARGET_OS}:${TARGET_ARCH}${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}:build-${BUILD_OS}:fail-fast" + +# TARGET_CC_ARCH +# TARGET_CC_KERNEL_ARCH +# TARGET_LD_ARCH +# TARGET_LD_KERNEL_ARCH +# Compiler and linker options for application code and kernel code. These +# options ensure that the compiler has the correct settings for the selected +# instruction set and interworking. +ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes']}" +ARM_THUMB_M_OPT = "${@['-mno-thumb', '-mthumb'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" +# +TARGET_CC_ARCH = "-march=armv5te -mtune=xscale ${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}" +TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale -mno-thumb-interwork -mno-thumb" +TARGET_LD_ARCH = "" +TARGET_LD_KERNEL_ARCH = "" + +# FULL_OPTIMIZATION +# Optimization settings. Os works fine and is significantly better than O2. +# The other settings are somewhat arbitrary. The optimisations chosen here +# include the ones which 'break' symbolic debugging (because the compiler does +# not include enough information to allow the debugger to know where given +# values are.) The -fno options are an attempt to cancel explicit use of space +# consuming options found in some packages (this isn't a complete list, this is +# just the ones which package writers seem to know about and abuse). +FULL_OPTIMIZATION = "-Os -fomit-frame-pointer -frename-registers \ + -fno-unroll-loops -fno-inline-functions \ + -fweb -funit-at-a-time" + +# TARGET_ARCH +# The correct setting for the system endianness (ARCH_BYTE_SEX). This will +# be arm (le) or armeb (be) - it is difficult to be more precise in the +# setting because of the large number of ways it is used within OpenEmbedded. +TARGET_ARCH = "${@['armeb', 'arm'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}" + +# TARGET_PACKAGE_ARCH [not used] +# The correct setting for the generated packages. This corresponds to the +# -march flag passed to the compiler because that limits the architectures +# on which the generated code will run. +BYTE_SEX_CHAR = "${@['b', 'l'][bb.data.getVar('ARCH_BYTE_SEX', d, 1) == 'le']}" +TARGET_PACKAGE_ARCH_BASE = "${@['armv5te', 'thumbv5t'][bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) == 'thumb']}" +TARGET_PACKAGE_ARCH = "${TARGET_PACKAGE_ARCH_BASE}${BYTE_SEX_CHAR}" + +# MACHINE_ARCH +# The correct setting for packages which are specific to the machine, this +# defaults to ${MACHINE} in bitbake.conf, however it is set to ixp4xx here +# because everything built here is no more specific than that. +MACHINE_ARCH = "ixp4xx${ARCH_BYTE_SEX}" + +# IPKG_EXTRA_ARCHS +# The full list of package architectures which should run on the system. +# This takes into account both the board level issues and the INPUTS set +# by the distro. The arm list is derived from the architecture settings +# known to gcc, the thumb list is then derived from that (only the 't' +# architectures of course). +#[not used]: TARGET_ARCH is handled below because it is also currently +# used for thumb packages. +#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}" +ARM_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}" +THUMB_ARCHITECTURES = "thumbe${BYTE_SEX_CHAR} thumbv4t${BYTE_SEX_CHAR} thumbv5t${BYTE_SEX_CHAR}" + +# NOTE: this list contains just the things which rootfs_ipk.bbclass does +# not add, rootfs_ipk.bbclass evaluates: +# +# ipkgarchs="all any noarch ${TARGET_ARCH} ${IPKG_EXTRA_ARCHS} ${MACHINE}" +# +# This is a priority ordered list - most desireable architecture at the end, +# so put _ARCHITECTURES at the end and, if +# THUMB_INTERWORK precede this with the other architectures. +IPKG_EXTRA_ARCHS = "ixp4xx ${MACHINE} \ + ${@(lambda arch_thumb, arch_arm, is_arm, interwork: \ + (interwork and (is_arm and arch_thumb or arch_arm) + ' ' or '') \ + + '${TARGET_ARCH} ' + (is_arm and arch_arm or arch_thumb)) \ + (bb.data.getVar('THUMB_ARCHITECTURES', d, 1), \ + bb.data.getVar('ARM_ARCHITECTURES', d, 1), \ + bb.data.getVar('ARM_INSTRUCTION_SET', d, 1) != 'thumb', \ + bb.data.getVar('THUMB_INTERWORK', d, 1) == 'yes')} \ + ${MACHINE_ARCH} ${MACHINE}${ARCH_BYTE_SEX}" + +# IPKG_ARCH_LIST [not used] +# This is used to override the ipkgarchs settings in rootfs_ipk.bbclass, allowing +# the removal of the raw "${MACHINE}" from the end of the list. ${MACHINE} and +# ixp4xx are included at the start (lower priority) as the non-byte-sex specific +# versions. +IPKG_ARCH_LIST = "all any noarch ixp4xx ${MACHINE} ${IPKG_EXTRA_ARCHS}" + +#------------------------------------------------------------------------------- +# Package versions +#------------------------------------------------------------------------------- +# Warning: these are shared across the different machine and distro +# configurations but can be overridden therein if required. +SRCDATE_ipkg-utils ?= "20060106" +SRCDATE_ipkg-utils-native ?= "20060106" +SRCDATE_ipkg-link ?= "20060106" +SRCDATE_irssi ?= "20050930" + +CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/" +INHERIT += "nslu2-mirrors" + +PREFERRED_VERSION_ipkg ?= "0.99.154" +PREFERRED_VERSION_ipkg-native ?= "0.99.154" + +#------------------------------------------------------------------------------- +# Board defaults +#------------------------------------------------------------------------------- +# These values are board specific but they seem to be common to a large number +# of boards so are reasonable defaults. +SERIAL_CONSOLE = "115200 ttyS0" +KERNEL_CONSOLE = "ttyS0,115200n8" +USE_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 000000000..907635552 --- /dev/null +++ b/meta/conf/machine/include/poodle-2.6.conf @@ -0,0 +1,43 @@ +PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" + +PCMCIA_MANAGER ?= "pcmciautils" + +BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ +${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \ +ppp ppp-dialin alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd" + +# Ethernet modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs" +# NFS Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" +# Crypto Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" +# SMB and CRAMFS +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" +# Serial Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs" +# Bluetooth Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ + kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \ + kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs" +# Infrared Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \ + kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb" + +# USB Gadget Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \ + kernel-module-g-serial kernel-module-g-ether" + +# Wireless Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \ + kernel-module-hermes kernel-module-orinoco \ + kernel-module-orinoco-cs kernel-module-spectrum-cs \ + hostap-conf orinoco-conf" + +# Sound Modules +###BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-snd-mixer-oss kernel-module-snd-pcm-oss" +BOOTSTRAP_EXTRA_SOUND = "kernel-module-soundcore kernel-module-snd kernel-module-snd-page-alloc kernel-module-snd-timer \ + kernel-module-snd-pcm \ + kernel-module-snd-soc-core kernel-module-snd-soc-pxa2xx kernel-module-snd-soc-pxa2xx-i2s" + +###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 000000000..4a96b4252 --- /dev/null +++ b/meta/conf/machine/include/thinclient-common.conf @@ -0,0 +1,19 @@ +THINCLIENT_MODULES = "ipv6 \ +mip6-mn \ +tun \ +loop \ +vfat \ +sunrpc nfs \ +rfcomm bnep l2cap sco \ +af_packet \ +ppp-async ppp-deflate ppp-mppe \ +ip-gre ip-tables ipip \ +irda irlan irnet irport irtty \ +input uinput \ +" + +# Configuration bits for "generic thinclient" +BOOTSTRAP_EXTRA_RDEPENDS += "apm" +BOOTSTRAP_EXTRA_RRECOMMENDS += "ppp bluez-utils wireless-tools ${@linux_module_packages('${THINCLIENT_MODULES}', d)}" + +INHERIT += "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 000000000..c7805c36f --- /dev/null +++ b/meta/conf/machine/include/tosa-2.6.conf @@ -0,0 +1,6 @@ +include conf/machine/include/zaurus-clamshell-2.6.conf +# wlan-ng Modules +BOOTSTRAP_EXTRA_RDEPENDS += "wlan-ng-modules-usb" + +# WM97xx Modules +#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 000000000..936b13751 --- /dev/null +++ b/meta/conf/machine/include/tune-arm920t.conf @@ -0,0 +1,2 @@ +TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t" + diff --git a/meta/conf/machine/include/tune-arm926ejs.conf b/meta/conf/machine/include/tune-arm926ejs.conf new file mode 100644 index 000000000..c1462ee14 --- /dev/null +++ b/meta/conf/machine/include/tune-arm926ejs.conf @@ -0,0 +1,6 @@ +#if gcc breaks change arm926ejs to arm926ej-s +# For gcc 3.x you need: +TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs" +# For gcc 4.x you need: +#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s" +PACKAGE_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 000000000..cfc3bad1c --- /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 000000000..e6a522af1 --- /dev/null +++ b/meta/conf/machine/include/tune-c3.conf @@ -0,0 +1,3 @@ +TARGET_CC_ARCH = "-march=c3 -mtune=c3" +PACKAGE_ARCH = "i586" + diff --git a/meta/conf/machine/include/tune-ep9312.conf b/meta/conf/machine/include/tune-ep9312.conf new file mode 100644 index 000000000..f7a6fb845 --- /dev/null +++ b/meta/conf/machine/include/tune-ep9312.conf @@ -0,0 +1,6 @@ +TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312" +# add "-mfp=maverick" for newer gcc versions > 4.0 + +#set arch to ep9312 for all generated packages +PACKAGE_ARCH = "ep9312" + diff --git a/meta/conf/machine/include/tune-ppc603e.conf b/meta/conf/machine/include/tune-ppc603e.conf new file mode 100644 index 000000000..7c8714cfc --- /dev/null +++ b/meta/conf/machine/include/tune-ppc603e.conf @@ -0,0 +1,2 @@ +TARGET_CC_ARCH = "-mcpu=603e" +PACKAGE_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 000000000..11717eba7 --- /dev/null +++ b/meta/conf/machine/include/tune-ppce500.conf @@ -0,0 +1,2 @@ +TARGET_CC_ARCH = "-mcpu=8540" +PACKAGE_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 000000000..192dd8fd2 --- /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 000000000..866f7f89d --- /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 000000000..8654c996e --- /dev/null +++ b/meta/conf/machine/include/tune-strongarm.conf @@ -0,0 +1,2 @@ +TARGET_CC_ARCH = "-march=armv4 -mtune=xscale" + diff --git a/meta/conf/machine/include/tune-supersparc.conf b/meta/conf/machine/include/tune-supersparc.conf new file mode 100644 index 000000000..1b1ec1207 --- /dev/null +++ b/meta/conf/machine/include/tune-supersparc.conf @@ -0,0 +1,2 @@ +TARGET_CC_ARCH = "-mcpu=supersparc" +PACKAGE_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 000000000..0b98f09fc --- /dev/null +++ b/meta/conf/machine/include/tune-xscale.conf @@ -0,0 +1,3 @@ +TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" +PACKAGE_ARCH = "armv5te" + 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 000000000..3c19ef3da --- /dev/null +++ b/meta/conf/machine/include/zaurus-clamshell-2.6.conf @@ -0,0 +1,46 @@ +# Zaurus Clamshell specific configuration for kernel 2.6 +# Don't forget to include zaurus-clamshell.conf as well + +PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" +PREFERRED_VERSION_wpa_supplicant = "0.4.7" + +PCMCIA_MANAGER ?= "pcmciautils" + +BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ +${PCMCIA_MANAGER} apm wireless-tools irda-utils udev-utils keymaps hostap-utils prism3-firmware prism3-support \ +ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf zaurusd" + +# Ethernet modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs" +# NFS Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" +# Crypto Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" +# SMB and CRAMFS +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" +# Serial Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs" +# Bluetooth Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ + kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \ + kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs" +# Infrared Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pxaficp-ir kernel-module-irda kernel-module-ircomm \ + kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb" + +# USB Gadget Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage \ + kernel-module-g-serial kernel-module-g-ether" + +# Wireless Modules +BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-hostap kernel-module-hostap-cs \ + kernel-module-hermes kernel-module-orinoco \ + kernel-module-orinoco-cs kernel-module-spectrum-cs \ + hostap-conf orinoco-conf" + +# Sound Modules +BOOTSTRAP_EXTRA_RDEPENDS_append_c7x0 = " kernel-module-snd-soc-corgi " +BOOTSTRAP_EXTRA_RDEPENDS_append_akita = " kernel-module-snd-soc-spitz " +BOOTSTRAP_EXTRA_RDEPENDS_append_spitz = " kernel-module-snd-soc-spitz " +# For OSS +BOOTSTRAP_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 000000000..dfbbe5024 --- /dev/null +++ b/meta/conf/machine/include/zaurus-clamshell.conf @@ -0,0 +1,29 @@ +TARGET_ARCH = "arm" +IPKG_EXTRA_ARCHS = "armv4 armv5te" + +PREFERRED_PROVIDER_xserver = "xserver-kdrive" + +EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x4000 -n" +EXTRA_IMAGEDEPENDS += "sharp-flash-header-c700 zaurus-updater" + +IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ + --output=${T}/${IMAGE_NAME}.rootfs.jffs2 ${EXTRA_IMAGECMD}; \ + cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ + ${T}/${IMAGE_NAME}.rootfs.jffs2 > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.img" + +# add a summary to the jffs2 file to make it mount a lot faster +#EXTRA_IMAGECMD_jffs2 += "&& sumtool -i ${T}/${IMAGE_NAME}.rootfs.jffs2 \ +# -o ${T}/${IMAGE_NAME}.rootfs.jffs2.summary \ +# --eraseblock=0x4000" +#IMAGE_CMD_jffs2 += "; cat ${STAGING_LIBDIR}/sharp-flash-header/header-c700.bin \ +# ${T}/${IMAGE_NAME}.rootfs.jffs2.summary > ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.summary.img" + +GUI_MACHINE_CLASS = "bigscreen" +GPE_EXTRA_INSTALL += "gaim sylpheed" + +include conf/machine/include/handheld-common.conf + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +include conf/machine/include/tune-xscale.conf + +SERIAL_CONSOLE = "115200 ttyS0" diff --git a/meta/conf/machine/ipaq-pxa270.conf b/meta/conf/machine/ipaq-pxa270.conf new file mode 100644 index 000000000..f5cc893c9 --- /dev/null +++ b/meta/conf/machine/ipaq-pxa270.conf @@ -0,0 +1,63 @@ +#@TYPE: Machine +#@NAME: iPAQ hx47xx hx2xxx +#@DESCRIPTION: Machine configuration for the iPAQ with a pxa27x CPU devices + +TARGET_ARCH = "arm" +IPKG_EXTRA_ARCHS = "armv4 armv5te ipaqpxa hx4700" +#use this for a hx47xx ipaq +PREFERRED_PROVIDER_virtual/kernel = "handhelds-pxa-2.6" + +#use this for a hx2xxx ipaq +#PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" + +PREFERRED_VERSION_orinoco-modules = "0.15rc1" + +ROOT_FLASH_SIZE = "80" + +EXTRA_IMAGECMD_jffs2 = "; sumtool -i ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ + -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs-summary.jffs2 \ + -e 256KiB -p" + +MODUTILS = "26" +PCMCIA_MANAGER = "pcmciautils" +BOOTSTRAP_EXTRA_RDEPENDS = "kernel ipaq-boot-params " +BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${PXA270_MODULES}', d)}" +BOOTSTRAP_EXTRA_RDEPENDS_append = " udev module-init-tools" + +PXA270_MODULES = "g_ether g_file_storage g_serial gadgetfs pxa27x_udc \ + snd_pcm_oss snd_mixer_oss evdev mmc_block pcmcia hidp \ + nls_cp437 nls_iso8859-1 nls_utf8 af_key" + +SERIAL_CONSOLE = "115200 ttyS0" + +include conf/machine/include/handheld-common.conf + +GUI_MACHINE_CLASS = "bigscreen" + +# Use tune-xscale per default. Machine independent feeds should be built with tune-strongarm. +include conf/machine/include/tune-xscale.conf + +# Uncomment this to use iwmmxt optimizations. Remove the above xscale stuff first +#include conf/machine/include/tune-iwmmxt.conf + +BOOTSTRAP_EXTRA_RRECOMMENDS += "${@linux_module_packages('${HX4700_MODULES}', d)}" +HX4700_MODULES = "i2c-pxa asic3_mmc hx4700_bt hx4700_leds hx4700_navpt hx4700_pcmcia \ + hx4700_ts hx4700_wlan snd_hx4700_audio hx4700_power" + + +module_autoload_evdev = "evdev" +module_autoload_hx4700_power = "hx4700_power" +module_autoload_pcmcia = "pcmcia" +module_autoload_hx4700_pcmcia = "hx4700_pcmcia" +module_autoload_asic3_mmc = "asic3_mmc" +module_autoload_mmc_block = "mmc_block" +module_autoload_hx4700_ts = "hx4700_ts" +module_autoload_hx4700_navpt = "hx4700_navpt" +module_autoload_hx4700_bt = "hx4700_bt" +module_autoload_snd-hx4700_audio = "snd-hx4700_audio" +module_autoload_snd-pcm-oss = "snd-pcm-oss" +module_autoload_snd-mixer-oss = "snd-mixer-oss" +module_autoload_pxa27x_udc = "pxa27x_udc" + +#FIXME: this should be controlled by a userspace utility later. +module_autoload_g_ether = "g_ether" diff --git a/meta/conf/machine/jornada7xx.conf b/meta/conf/machine/jornada7xx.conf new file mode 100644 index 000000000..e8218138d --- /dev/null +++ b/meta/conf/machine/jornada7xx.conf @@ -0,0 +1,7 @@ +#@TYPE: Machine +#@NAME: HP Jornada 7xx +#@DESCRIPTION: Machine configuration for the SA1100 based HP Jornada 7xx palmtop computer + +TARGET_ARCH = "arm" + +include 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 000000000..bf893660d --- /dev/null +++ b/meta/conf/machine/nokia770.conf @@ -0,0 +1,54 @@ +#@TYPE: Machine +#@NAME: Nokia 770 internet tablet +#@DESCRIPTION: Machine configuration for the Nokia 770, an omap 1710 based tablet +TARGET_ARCH = "arm" +IPKG_EXTRA_ARCHS = "armv4 armv5te" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive-omap" +PREFERRED_PROVIDER_virtual/bootloader = "" +PREFERRED_PROVIDER_tslib = "tslib-maemo" + +XSERVER = "xserver-kdrive-omap" + +# 800x480 is big enough for me +GUI_MACHINE_CLASS = "bigscreen" +GPE_EXTRA_INSTALL += "gaim sylpheed gpe-mini-browser tscalib" + +# Use tune-arm926 per default. Machine independent feeds should be built with tune-strongarm. +include conf/machine/include/tune-arm926ejs.conf + + +#size of the root partition (yes, it is 123 MB) +ROOT_FLASH_SIZE = "123" +EXTRA_IMAGECMD_jffs2_nokia770 = "--pad --little-endian --eraseblock=0x20000" + +# serial console port on devboard rev. B3 +SERIAL_CONSOLE = "115200 ttyS0" + +PREFERRED_PROVIDER_virtual/kernel = "linux-nokia770" + +BOOTSTRAP_EXTRA_RDEPENDS += "sysfsutils nokia770-init \ +${PCMCIA_MANAGER} apm ppp wireless-tools console-tools" + +# NFS Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" +# Crypto Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" +# SMB and CRAMFS +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" +# Serial Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 " +# Bluetooth Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ +# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco" +# PPP Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-ppp-generic kernel-module-ppp-async" + +#USB Gadget Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-gadgetfs kernel-module-g-file-storage kernel-module-g-serial \ +# kernel-module-g-ether" + +ROOTFS_POSTPROCESS_COMMAND += " remove_init_link; " + +include conf/machine/include/handheld-common.conf + diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf new file mode 100644 index 000000000..3341efd1a --- /dev/null +++ b/meta/conf/machine/qemuarm.conf @@ -0,0 +1,46 @@ +#@TYPE: Machine +#@NAME: qemu ARM Emulator setup +#@DESCRIPTION: Machine configuration for running an ARM system under qemu emulation + +TARGET_ARCH = "arm" +IPKG_EXTRA_ARCHS = "armv4 armv5te" + +PCMCIA_MANAGER = "pcmciautils" +PREFERRED_PROVIDER_xserver = "xserver-kdrive" +GUI_MACHINE_CLASS = "bigscreen" +GPE_EXTRA_INSTALL += "gaim sylpheed" + +include conf/machine/include/handheld-common.conf +include conf/machine/include/tune-arm926ejs.conf + +SERIAL_CONSOLE = "115200 ttyAMA0" + +PREFERRED_PROVIDER_virtual/kernel = "linux-openzaurus" + +BOOTSTRAP_EXTRA_RDEPENDS += "kernel udev sysfsutils spectrum-fw \ +pcmciautils apm wireless-tools irda-utils udev-utils console-tools hostap-utils prism3-firmware prism3-support \ +ppp ppp-dialin openswan wpa-supplicant-nossl alsa-utils-alsactl alsa-utils-alsamixer module-init-tools alsa-conf" + +# Ethernet modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-pcnet-cs" +# NFS Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-nfs kernel-module-lockd kernel-module-sunrpc" +# Crypto Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-des kernel-module-md5" +# SMB and CRAMFS +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-smbfs kernel-module-cramfs" +# Serial Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-8250 kernel-module-serial-cs" +# Bluetooth Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-bluetooth kernel-module-l2cap kernel-module-rfcomm kernel-module-hci-vhci \ +# kernel-module-bnep kernel-module-hidp kernel-module-hci-uart kernel-module-sco \ +# kernel-module-bt3c-cs kernel-module-bluecard-cs kernel-module-btuart-cs kernel-module-dtl1-cs" +# Infrared Modules +#BOOTSTRAP_EXTRA_RDEPENDS += "kernel-module-irda kernel-module-ircomm \ +# kernel-module-ircomm-tty kernel-module-irlan kernel-module-irnet kernel-module-ir-usb" + +IMAGE_FSTYPES = "tar.bz2" + +ROOT_FLASH_SIZE = "100" +# actually that should really read ROOTFS_SIZE = "100", because with modern kernels, +# 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 000000000..f78dd7a3b --- /dev/null +++ b/meta/conf/machine/spitz.conf @@ -0,0 +1,18 @@ +#@TYPE: Machine +#@NAME: Sharp Zaurus SL-C3000 +#@DESCRIPTION: Machine configuration for the Sharp Zaurus SL-C3000 device + +include conf/machine/include/zaurus-clamshell.conf +include conf/machine/include/zaurus-clamshell-2.6.conf + +PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}" +PIVOTBOOT_EXTRA_RRECOMMENDS += "" + +# Useful things for the built-in Harddisk +BOOTSTRAP_EXTRA_RDEPENDS += "hdparm e2fsprogs e2fsprogs-e2fsck e2fsprogs-mke2fs" + +IMAGE_FSTYPES = "jffs2 tar.gz" + +ROOT_FLASH_SIZE = "100" +# actually that should really read ROOTFS_SIZE = "100", because with modern kernels, +# 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 000000000..93700ef14 --- /dev/null +++ b/meta/conf/sanity.conf @@ -0,0 +1,8 @@ +# Sanity checks for common user misconfigurations +# +# See sanity.bbclass +# +# Expert users can confirm their sanity with "touch conf/sanity.conf" +BB_MIN_VERSION = "1.3.3" +INHERIT += "sanity" + -- cgit v1.2.3