2006-05-09 16:08:11 +00:00
|
|
|
#@TYPE: Distribution#@NAME: Poky
|
2010-10-27 06:54:03 +00:00
|
|
|
#@DESCRIPTION: Distribution configuration for the Yocto Project build by Poky
|
2005-11-16 17:42:39 +00:00
|
|
|
|
|
|
|
DISTRO = "poky"
|
2011-03-25 16:43:32 +00:00
|
|
|
DISTRO_NAME = "Yocto (Built by Poky 5.0)"
|
|
|
|
DISTRO_VERSION = "1.0+snapshot-${DATE}"
|
2010-12-14 21:55:26 +00:00
|
|
|
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
|
2005-11-16 17:42:39 +00:00
|
|
|
|
2010-10-27 06:54:03 +00:00
|
|
|
MAINTAINER = "Poky <poky@yoctoproject.org>"
|
2006-07-28 16:17:30 +00:00
|
|
|
|
2010-08-06 18:40:55 +00:00
|
|
|
USER_CLASSES ?= ""
|
|
|
|
|
2006-10-12 13:04:23 +00:00
|
|
|
PACKAGE_CLASSES ?= "package_ipk"
|
2007-11-30 12:18:43 +00:00
|
|
|
INHERIT_INSANE ?= "insane"
|
2011-01-27 19:25:12 +00:00
|
|
|
INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate license"
|
2005-11-16 17:42:39 +00:00
|
|
|
# For some reason, this doesn't work
|
|
|
|
# TARGET_OS ?= "linux"
|
2007-08-01 11:31:51 +00:00
|
|
|
# TARGET_VENDOR ?= "-poky"
|
|
|
|
# Set by POKYMODE instead
|
2005-11-16 17:42:39 +00:00
|
|
|
TARGET_OS = "linux"
|
2006-08-18 09:31:38 +00:00
|
|
|
TARGET_FPU_arm ?= "soft"
|
|
|
|
TARGET_FPU_armeb ?= "soft"
|
2008-03-06 07:58:34 +00:00
|
|
|
TARGET_FPU_nokia800 = "hard"
|
|
|
|
|
2011-01-07 16:01:56 +00:00
|
|
|
TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
|
|
|
|
|
2008-04-22 21:23:00 +00:00
|
|
|
QA_LOGFILE = "${TMPDIR}/qa.log"
|
2008-03-19 15:57:10 +00:00
|
|
|
|
2006-11-20 17:13:43 +00:00
|
|
|
IMAGE_ROOTFS_SIZE_ext2 ?= "131072"
|
2005-11-16 17:42:39 +00:00
|
|
|
|
2008-10-01 15:42:55 +00:00
|
|
|
#IPK_FEED_URIS += " \
|
2006-03-24 14:33:14 +00:00
|
|
|
# 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"
|
2005-11-16 17:42:39 +00:00
|
|
|
|
2008-10-07 16:21:36 +00:00
|
|
|
#RPM_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"
|
|
|
|
|
2005-11-16 17:42:39 +00:00
|
|
|
OEINCLUDELOGS = "yes"
|
|
|
|
KERNEL_CONSOLE = "ttyS0"
|
|
|
|
#DEBUG_OPTIMIZATION = "-O -g3"
|
|
|
|
#DEBUG_BUILD = "1"
|
|
|
|
#INHIBIT_PACKAGE_STRIP = "1"
|
|
|
|
|
2010-01-28 22:12:58 +00:00
|
|
|
# Default to TARGETOS values for EABI on arm
|
2007-09-11 08:52:20 +00:00
|
|
|
GLIBCTARGETOS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
|
2011-04-01 03:11:35 +00:00
|
|
|
UCLIBCTARGETOS = "linux${@['-uclibc','-uclibceabi'][bb.data.getVar('TARGET_ARCH',d,1) in ['arm', 'armeb']]}"
|
2007-09-11 08:52:20 +00:00
|
|
|
|
2010-01-28 22:12:58 +00:00
|
|
|
POKYMODE ?= "default"
|
2006-08-27 16:13:31 +00:00
|
|
|
require conf/distro/include/poky-${POKYMODE}.inc
|
2005-11-16 17:42:39 +00:00
|
|
|
|
2010-09-21 08:40:59 +00:00
|
|
|
POKYLIBC ?= "eglibc"
|
2007-05-28 22:50:06 +00:00
|
|
|
require conf/distro/include/poky-${POKYLIBC}.inc
|
|
|
|
|
2010-07-02 13:35:08 +00:00
|
|
|
SDK_NAME = "${DISTRO}-${POKYLIBC}-${SDK_ARCH}-${TARGET_ARCH}"
|
2010-12-14 21:55:26 +00:00
|
|
|
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
|
2007-11-06 22:48:08 +00:00
|
|
|
|
2009-09-18 09:01:33 +00:00
|
|
|
CACHE = "${TMPDIR}/cache/${POKYMODE}-${POKYLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"
|
2008-02-14 11:54:36 +00:00
|
|
|
|
2005-11-16 17:42:39 +00:00
|
|
|
#
|
|
|
|
# Preferred providers:
|
|
|
|
#
|
2006-05-26 11:30:16 +00:00
|
|
|
|
|
|
|
# Virtuals:
|
|
|
|
PREFERRED_PROVIDER_virtual/db ?= "db"
|
|
|
|
PREFERRED_PROVIDER_virtual/db-native ?= "db-native"
|
2010-02-10 14:29:36 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86"
|
2008-09-22 13:33:19 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite"
|
2008-09-22 23:40:14 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/libgl ?= "mesa-xlib"
|
2007-10-15 15:47:21 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/update-alternatives ?= "update-alternatives-cworth"
|
2008-03-19 16:35:57 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native"
|
2009-05-17 12:40:07 +00:00
|
|
|
PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
|
2008-10-29 14:24:48 +00:00
|
|
|
PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel"
|
2006-05-26 11:30:16 +00:00
|
|
|
|
2007-10-15 15:47:21 +00:00
|
|
|
VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
|
|
|
|
|
2006-05-26 11:30:16 +00:00
|
|
|
# Others:
|
2007-06-14 15:33:40 +00:00
|
|
|
PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
|
2010-06-26 05:25:11 +00:00
|
|
|
PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk"
|
2011-01-15 10:47:50 +00:00
|
|
|
PREFERRED_PROVIDER_libgcc ?= "libgcc"
|
|
|
|
PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
|
2007-01-10 11:30:47 +00:00
|
|
|
PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
|
2007-02-27 22:05:11 +00:00
|
|
|
PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
|
2006-11-20 17:13:43 +00:00
|
|
|
PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
|
2007-02-01 10:27:58 +00:00
|
|
|
PREFERRED_PROVIDER_matchbox-panel ?= "matchbox-panel-2"
|
2008-04-22 00:43:42 +00:00
|
|
|
PREFERRED_PROVIDER_opkg ?= "opkg"
|
2010-01-15 13:44:03 +00:00
|
|
|
PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
|
2010-07-01 14:22:41 +00:00
|
|
|
PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk"
|
2006-02-13 00:21:13 +00:00
|
|
|
|
2011-01-28 17:49:46 +00:00
|
|
|
PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
|
2011-01-20 21:42:32 +00:00
|
|
|
|
2008-06-05 22:05:21 +00:00
|
|
|
require conf/distro/include/poky-fixed-revisions.inc
|
2006-08-15 11:58:37 +00:00
|
|
|
require conf/distro/include/preferred-xorg-versions.inc
|
|
|
|
|
2006-05-30 18:04:51 +00:00
|
|
|
PCMCIA_MANAGER ?= "pcmciautils"
|
2006-06-12 20:05:28 +00:00
|
|
|
|
2010-11-04 18:01:42 +00:00
|
|
|
#IMAGE_LINGUAS ?= "en-gb en-us"
|
|
|
|
#LIMIT_BUILT_LOCALES ?= "en_GB en_US"
|
2010-11-08 23:54:21 +00:00
|
|
|
IMAGE_LINGUAS ?= "en-us en-gb"
|
|
|
|
LIMIT_BUILT_LOCALES ?= "POSIX en_US en_GB"
|
2006-12-22 11:34:45 +00:00
|
|
|
ENABLE_BINARY_LOCALE_GENERATION ?= "1"
|
2010-11-08 23:54:21 +00:00
|
|
|
LOCALE_UTF8_ONLY = "0"
|
2006-12-22 11:34:45 +00:00
|
|
|
|
2008-10-01 16:02:20 +00:00
|
|
|
DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci"
|
2006-12-20 00:00:03 +00:00
|
|
|
|
2008-11-05 16:56:08 +00:00
|
|
|
POKY_EXTRA_RDEPENDS = "task-poky-boot"
|
2008-01-30 13:39:07 +00:00
|
|
|
POKY_EXTRA_RDEPENDS_qemuarm = "qemu-config"
|
2008-07-22 11:26:47 +00:00
|
|
|
POKY_EXTRA_RDEPENDS_qemuarmv6 = "qemu-config"
|
|
|
|
POKY_EXTRA_RDEPENDS_qemuarmv7 = "qemu-config"
|
2011-03-28 14:45:17 +00:00
|
|
|
POKY_EXTRA_RDEPENDS_qemumips = "qemu-config"
|
|
|
|
POKY_EXTRA_RDEPENDS_qemuppc = "qemu-config"
|
2008-01-30 13:39:07 +00:00
|
|
|
POKY_EXTRA_RDEPENDS_qemux86 = "qemu-config"
|
2010-10-15 15:34:40 +00:00
|
|
|
POKY_EXTRA_RDEPENDS_qemux86-64 = "qemu-config"
|
2007-02-28 12:20:30 +00:00
|
|
|
|
|
|
|
DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}"
|
2008-02-11 17:23:34 +00:00
|
|
|
DISTRO_EXTRA_RRECOMMENDS += "kernel-module-af-packet"
|
2007-01-19 13:08:14 +00:00
|
|
|
|
2006-12-20 00:00:03 +00:00
|
|
|
IMAGE_FEATURES ?= ""
|
|
|
|
|
2009-11-26 11:19:37 +00:00
|
|
|
EXTRAOPKGCONFIG = "poky-feed-config-opkg"
|
|
|
|
|
2010-08-16 21:48:04 +00:00
|
|
|
# This is a list of packages that are used by poky to build the distribution, they are not
|
|
|
|
# directly part of the distribution.
|
2011-02-16 05:10:09 +00:00
|
|
|
HOSTTOOLS_WHITELIST_GPLv3 ?= ""
|
2011-03-17 08:12:19 +00:00
|
|
|
WHITELIST_GPLv3 ?= "less"
|
2011-03-16 20:53:36 +00:00
|
|
|
LGPLv2_WHITELIST_GPLv3 ?= "libassuan gnutls libtasn1 libidn libgcc gcc-runtime"
|
2010-08-16 21:48:04 +00:00
|
|
|
|
2010-10-08 06:35:26 +00:00
|
|
|
# This is a list of packages that require a commercial license to ship
|
|
|
|
# product. If shipped as part of an image these packages may have
|
|
|
|
# implications so they are disabled by default
|
2010-10-08 06:39:04 +00:00
|
|
|
COMMERCIAL_LICENSE ?= "lame gst-fluendo-mp3 libmad mpeg2dec ffmpeg qmmp"
|
|
|
|
COMMERCIAL_AUDIO_PLUGINS ?= ""
|
|
|
|
# COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
|
|
|
|
COMMERCIAL_VIDEO_PLUGINS ?= ""
|
|
|
|
# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
|
|
|
|
COMMERCIAL_QT ?= ""
|
|
|
|
# COMMERCIAL_QT ?= "qmmp"
|
2011-01-27 19:25:12 +00:00
|
|
|
# Set of common licenses used for license.bbclass
|
|
|
|
COMMON_LICENSE_DIR ??= "${POKYBASE}/meta/files/common-licenses"
|
2010-10-08 06:39:04 +00:00
|
|
|
|
2011-02-06 11:42:35 +00:00
|
|
|
BB_GENERATE_MIRROR_TARBALLS ??= "0"
|
2010-10-08 06:35:26 +00:00
|
|
|
|
2008-10-28 16:31:39 +00:00
|
|
|
require conf/distro/include/world-broken.inc
|
2010-09-03 15:25:24 +00:00
|
|
|
|
2011-03-31 14:41:53 +00:00
|
|
|
QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
|
|
|
|
# Other QEMU_TARGETS "mips64 mips64el sh4"
|
|
|
|
|
2011-02-23 23:36:40 +00:00
|
|
|
PREMIRRORS ?= "\
|
2011-02-11 12:04:12 +00:00
|
|
|
bzr://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
cvs://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
git://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
hg://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
osc://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
p4://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
svk://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
svn://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
|
|
|
|
|
|
|
|
MIRRORS =+ "\
|
|
|
|
ftp://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
http://.*/.* http://autobuilder.yoctoproject.org/sources/ \n \
|
|
|
|
https://.*/.* http://autobuilder.yoctoproject.org/sources/ \n"
|
2010-12-21 17:18:48 +00:00
|
|
|
|