summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-08 21:02:39 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-08 21:02:39 +0000
commitf751a20152c651a33f08ceda0502fa1d4f11c005 (patch)
tree84cb67ee95fdeeaf3111d653b0a5914e2932edce /meta/conf
parentb994a5527daef4273fa8de6fff63d636afa971b0 (diff)
downloadpoky-f751a20152c651a33f08ceda0502fa1d4f11c005.tar.gz
bitbake.conf: Sync with OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2409 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf59
1 files changed, 45 insertions, 14 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9fbb0a77e4..66c6901c7d 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -133,7 +133,6 @@ FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${lib
133 /bin/.debug /sbin/.debug /lib/.debug ${libdir}/${PN}/.debug" 133 /bin/.debug /sbin/.debug /lib/.debug ${libdir}/${PN}/.debug"
134SECTION_${PN}-dbg = "devel" 134SECTION_${PN}-dbg = "devel"
135ALLOW_EMPTY_${PN}-dbg = "1" 135ALLOW_EMPTY_${PN}-dbg = "1"
136# RRECOMMENDS_${PN}-dbg = "${PN} (>= ${PV})"
137RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}" 136RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}"
138 137
139FILES_${PN}-locale = "${datadir}/locale" 138FILES_${PN}-locale = "${datadir}/locale"
@@ -152,6 +151,7 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}"
152 151
153TMPDIR = "${TOPDIR}/tmp" 152TMPDIR = "${TOPDIR}/tmp"
154CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" 153CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}"
154DL_DIR = "${TMPDIR}/downloads"
155CVSDIR = "${DL_DIR}/cvs" 155CVSDIR = "${DL_DIR}/cvs"
156SVNDIR = "${DL_DIR}/svn" 156SVNDIR = "${DL_DIR}/svn"
157GITDIR = "${DL_DIR}/git" 157GITDIR = "${DL_DIR}/git"
@@ -179,6 +179,8 @@ DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar"
179DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" 179DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk"
180DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" 180DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm"
181DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" 181DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb"
182DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
183DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools"
182 184
183SDK_NAME = "${DISTRO}/${TARGET_ARCH}" 185SDK_NAME = "${DISTRO}/${TARGET_ARCH}"
184SDK_PREFIX = "/usr/local/${SDK_NAME}" 186SDK_PREFIX = "/usr/local/${SDK_NAME}"
@@ -194,7 +196,6 @@ STAGING_KERNEL_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel"
194# Specific image creation and rootfs population info. 196# Specific image creation and rootfs population info.
195################################################################## 197##################################################################
196 198
197DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
198IMAGE_ROOTFS = "${TMPDIR}/rootfs" 199IMAGE_ROOTFS = "${TMPDIR}/rootfs"
199IMAGE_BASENAME = "rootfs" 200IMAGE_BASENAME = "rootfs"
200IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" 201IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}"
@@ -217,8 +218,8 @@ IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_
217IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)" 218IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)"
218EXTRA_IMAGECMD = "" 219EXTRA_IMAGECMD = ""
219EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" 220EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000"
220EXTRA_IMAGECMD_squashfs = "-le -b 16384" 221EXTRA_IMAGECMD_squashfs = ""
221EXTRA_IMAGECMD_squashfs-lzma = "-le -b 16384" 222EXTRA_IMAGECMD_squashfs-lzma = ""
222 223
223IMAGE_DEPENDS = "" 224IMAGE_DEPENDS = ""
224IMAGE_DEPENDS_jffs2 = "mtd-utils-native" 225IMAGE_DEPENDS_jffs2 = "mtd-utils-native"
@@ -256,6 +257,7 @@ export AS = "${HOST_PREFIX}as"
256export RANLIB = "${HOST_PREFIX}ranlib" 257export RANLIB = "${HOST_PREFIX}ranlib"
257export STRIP = "${HOST_PREFIX}strip" 258export STRIP = "${HOST_PREFIX}strip"
258export OBJCOPY = "${HOST_PREFIX}objcopy" 259export OBJCOPY = "${HOST_PREFIX}objcopy"
260export OBJDUMP = "${HOST_PREFIX}objdump"
259PYTHON = "${@sys.executable}" 261PYTHON = "${@sys.executable}"
260 262
261export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 263export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
@@ -330,8 +332,8 @@ BOOTSTRAP_EXTRA_RRECOMMENDS = ""
330export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" 332export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2"
331export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" 333export QPEDIR = "${STAGING_DIR}/${HOST_SYS}"
332export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" 334export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}"
333export palmtopdir = "/opt/QtPalmtop" 335export palmtopdir = "${libdir}/opie"
334export palmqtdir = "/opt/QtPalmtop" 336export palmqtdir = "${palmtopdir}"
335 337
336################################################################## 338##################################################################
337# Download locations and utilities. 339# Download locations and utilities.
@@ -339,9 +341,12 @@ export palmqtdir = "/opt/QtPalmtop"
339 341
340GNU_MIRROR = "ftp://ftp.gnu.org/gnu" 342GNU_MIRROR = "ftp://ftp.gnu.org/gnu"
341DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool" 343DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool"
342SOURCEFORGE_MIRROR = "http://heanet.dl.sourceforge.net/sourceforge" 344SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net"
343GPE_MIRROR = "http://gpe.linuxtogo.org/download/source" 345GPE_MIRROR = "http://gpe.linuxtogo.org/download/source"
346GPEPHONE_MIRROR = "http://gpephone.linuxtogo.org/download/gpephone"
344GPE_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" 347GPE_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}"
348GPE_EXTRA_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}"
349GPEPHONE_SVN = "svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=${PN}"
345XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" 350XLIBS_MIRROR = "http://xlibs.freedesktop.org/release"
346XORG_MIRROR = "http://xorg.freedesktop.org/releases" 351XORG_MIRROR = "http://xorg.freedesktop.org/releases"
347GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources" 352GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
@@ -356,7 +361,6 @@ KERNELORG_MIRROR = "http://kernel.org/"
356 361
357# You can use the mirror of your country to get faster downloads by putting 362# You can use the mirror of your country to get faster downloads by putting
358# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" 363# export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool"
359# export SOURCEFORGE_MIRROR = "http://belnet.dl.sourceforge.net/sourceforge"
360# into your local.conf 364# into your local.conf
361 365
362FETCHCMD_svn = "/usr/bin/env svn" 366FETCHCMD_svn = "/usr/bin/env svn"
@@ -373,12 +377,30 @@ UPDATECOMMAND = "ERROR, this must be a BitBake bug"
373UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" 377UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
374UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" 378UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"
375SRCDATE = "${DATE}" 379SRCDATE = "${DATE}"
376#SRCREV = "${@bb.fetch.get_srcrev(d)}" 380SRCREV = "${@bb.fetch.get_srcrev(d)}"
377SRCREV = "${@base_get_srcrev(d)}"
378 381
379SRC_URI = "file://${FILE}" 382SRC_URI = "file://${FILE}"
380 383
381################################################################## 384##################################################################
385# UI/Interaction Configuration
386##################################################################
387
388SHELLRCCMD = "bash --rcfile $TERMRCFILE"
389# Some common terminal programs to choose from
390GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"'
391GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}'
392SCREEN_TERMCMD = 'screen -D -m -t "$TERMWINDOWTITLE"'
393SCREEN_TERMCMDRUN = '${SCREEN_TERMCMD} ${SHELLRCCMD}'
394XTERM_TERMCMD = 'xterm -T "$TERMWINDOWTITLE"'
395XTERM_TERMCMDRUN = '${XTERM_TERMCMD} -e ${SHELLRCCMD}'
396KONSOLE_TERMCMD = 'konsole -T "$TERMWINDOWTITLE"'
397KONSOLE_TERMCMDRUN = '${KCONSOLE_TERMCMD} -e ${SHELLRCCMD}'
398
399# Set a default
400TERMCMD ?= "${GNOME_TERMCMD}"
401TERMCMDRUN ?= "${GNOME_TERMCMDRUN}"
402
403##################################################################
382# Miscellaneous utilities. 404# Miscellaneous utilities.
383################################################################## 405##################################################################
384 406
@@ -447,22 +469,25 @@ require conf/sanity.conf
447# Weak variables (usually to retain backwards compatibility) 469# Weak variables (usually to retain backwards compatibility)
448################################################################## 470##################################################################
449 471
450DL_DIR ?= "${TMPDIR}/downloads"
451IMAGE_FSTYPES ?= "jffs2" 472IMAGE_FSTYPES ?= "jffs2"
452PCMCIA_MANAGER ?= "pcmcia-cs" 473PCMCIA_MANAGER ?= "pcmcia-cs"
453MACHINE_TASK_PROVIDER ?= "task-bootstrap" 474MACHINE_TASK_PROVIDER ?= "task-base"
454IMAGE_ROOTFS_SIZE_ext2 ?= "65536" 475IMAGE_ROOTFS_SIZE_ext2 ?= "65536"
455IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536" 476IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536"
456IMAGE_ROOTFS_SIZE_ext3 ?= "65536" 477IMAGE_ROOTFS_SIZE_ext3 ?= "65536"
457IMAGE_ROOTFS_SIZE_ext3.gz ?= "65536" 478IMAGE_ROOTFS_SIZE_ext3.gz ?= "65536"
458 479
480# Forcefully set CACHE now so future changes to things like
481# MACHINE don't change the path to the cache
482CACHE := "${CACHE}"
483
459################################################################## 484##################################################################
460# Magic Cookie for SANITY CHECK 485# Magic Cookie for SANITY CHECK
461################################################################## 486##################################################################
462OES_BITBAKE_CONF = "1" 487OES_BITBAKE_CONF = "1"
463 488
464################################################################## 489##################################################################
465# Task-base stuff 490# Machine properties and task-base stuff
466################################################################## 491##################################################################
467 492
468MACHINE_FEATURES ?= "kernel26" 493MACHINE_FEATURES ?= "kernel26"
@@ -471,7 +496,13 @@ DISTRO_FEATURES ?= ""
471# This is used to limit what packages goes into images built, so set big by default 496# This is used to limit what packages goes into images built, so set big by default
472ROOT_FLASH_SIZE ?= "256" 497ROOT_FLASH_SIZE ?= "256"
473 498
474GUI_MACHINE_CLASS ?= "smallscreen" 499MACHINE_GUI_CLASS ?= "smallscreen"
500# GUI_MACHINE_CLASS is deprecated, please use MACHINE_GUI_CLASS instead
501GUI_MACHINE_CLASS ?= "${MACHINE_GUI_CLASS}"
502MACHINE_DISPLAY_WIDTH_PIXELS ?= "240"
503MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320"
504MACHINE_DISPLAY_ORIENTATION ?= "0"
505MACHINE_DISPLAY_BPP ?= "16"
475 506
476DISTRO_EXTRA_RDEPENDS ?= "" 507DISTRO_EXTRA_RDEPENDS ?= ""
477DISTRO_EXTRA_RRECOMMENDS ?= "" 508DISTRO_EXTRA_RRECOMMENDS ?= ""