diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-08 21:02:39 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-08 21:02:39 +0000 |
commit | f751a20152c651a33f08ceda0502fa1d4f11c005 (patch) | |
tree | 84cb67ee95fdeeaf3111d653b0a5914e2932edce /meta/conf | |
parent | b994a5527daef4273fa8de6fff63d636afa971b0 (diff) | |
download | poky-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.conf | 59 |
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" |
134 | SECTION_${PN}-dbg = "devel" | 134 | SECTION_${PN}-dbg = "devel" |
135 | ALLOW_EMPTY_${PN}-dbg = "1" | 135 | ALLOW_EMPTY_${PN}-dbg = "1" |
136 | # RRECOMMENDS_${PN}-dbg = "${PN} (>= ${PV})" | ||
137 | RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}" | 136 | RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}" |
138 | 137 | ||
139 | FILES_${PN}-locale = "${datadir}/locale" | 138 | FILES_${PN}-locale = "${datadir}/locale" |
@@ -152,6 +151,7 @@ FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}" | |||
152 | 151 | ||
153 | TMPDIR = "${TOPDIR}/tmp" | 152 | TMPDIR = "${TOPDIR}/tmp" |
154 | CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" | 153 | CACHE = "${TMPDIR}/cache${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}" |
154 | DL_DIR = "${TMPDIR}/downloads" | ||
155 | CVSDIR = "${DL_DIR}/cvs" | 155 | CVSDIR = "${DL_DIR}/cvs" |
156 | SVNDIR = "${DL_DIR}/svn" | 156 | SVNDIR = "${DL_DIR}/svn" |
157 | GITDIR = "${DL_DIR}/git" | 157 | GITDIR = "${DL_DIR}/git" |
@@ -179,6 +179,8 @@ DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar" | |||
179 | DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" | 179 | DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" |
180 | DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" | 180 | DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" |
181 | DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" | 181 | DEPLOY_DIR_DEB = "${DEPLOY_DIR}/deb" |
182 | DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images" | ||
183 | DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools" | ||
182 | 184 | ||
183 | SDK_NAME = "${DISTRO}/${TARGET_ARCH}" | 185 | SDK_NAME = "${DISTRO}/${TARGET_ARCH}" |
184 | SDK_PREFIX = "/usr/local/${SDK_NAME}" | 186 | SDK_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 | ||
197 | DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images" | ||
198 | IMAGE_ROOTFS = "${TMPDIR}/rootfs" | 199 | IMAGE_ROOTFS = "${TMPDIR}/rootfs" |
199 | IMAGE_BASENAME = "rootfs" | 200 | IMAGE_BASENAME = "rootfs" |
200 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | 201 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" |
@@ -217,8 +218,8 @@ IMAGE_CMD_cpio = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc >${DEPLOY_DIR_ | |||
217 | IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)" | 218 | IMAGE_CMD_cpio.gz = "cd ${IMAGE_ROOTFS} && (find . | cpio -o -H newc | gzip -c -9 >${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cpio.gz)" |
218 | EXTRA_IMAGECMD = "" | 219 | EXTRA_IMAGECMD = "" |
219 | EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" | 220 | EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" |
220 | EXTRA_IMAGECMD_squashfs = "-le -b 16384" | 221 | EXTRA_IMAGECMD_squashfs = "" |
221 | EXTRA_IMAGECMD_squashfs-lzma = "-le -b 16384" | 222 | EXTRA_IMAGECMD_squashfs-lzma = "" |
222 | 223 | ||
223 | IMAGE_DEPENDS = "" | 224 | IMAGE_DEPENDS = "" |
224 | IMAGE_DEPENDS_jffs2 = "mtd-utils-native" | 225 | IMAGE_DEPENDS_jffs2 = "mtd-utils-native" |
@@ -256,6 +257,7 @@ export AS = "${HOST_PREFIX}as" | |||
256 | export RANLIB = "${HOST_PREFIX}ranlib" | 257 | export RANLIB = "${HOST_PREFIX}ranlib" |
257 | export STRIP = "${HOST_PREFIX}strip" | 258 | export STRIP = "${HOST_PREFIX}strip" |
258 | export OBJCOPY = "${HOST_PREFIX}objcopy" | 259 | export OBJCOPY = "${HOST_PREFIX}objcopy" |
260 | export OBJDUMP = "${HOST_PREFIX}objdump" | ||
259 | PYTHON = "${@sys.executable}" | 261 | PYTHON = "${@sys.executable}" |
260 | 262 | ||
261 | export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" | 263 | export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" |
@@ -330,8 +332,8 @@ BOOTSTRAP_EXTRA_RRECOMMENDS = "" | |||
330 | export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" | 332 | export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" |
331 | export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" | 333 | export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" |
332 | export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" | 334 | export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" |
333 | export palmtopdir = "/opt/QtPalmtop" | 335 | export palmtopdir = "${libdir}/opie" |
334 | export palmqtdir = "/opt/QtPalmtop" | 336 | export 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 | ||
340 | GNU_MIRROR = "ftp://ftp.gnu.org/gnu" | 342 | GNU_MIRROR = "ftp://ftp.gnu.org/gnu" |
341 | DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool" | 343 | DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool" |
342 | SOURCEFORGE_MIRROR = "http://heanet.dl.sourceforge.net/sourceforge" | 344 | SOURCEFORGE_MIRROR = "http://downloads.sourceforge.net" |
343 | GPE_MIRROR = "http://gpe.linuxtogo.org/download/source" | 345 | GPE_MIRROR = "http://gpe.linuxtogo.org/download/source" |
346 | GPEPHONE_MIRROR = "http://gpephone.linuxtogo.org/download/gpephone" | ||
344 | GPE_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" | 347 | GPE_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}" |
348 | GPE_EXTRA_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}" | ||
349 | GPEPHONE_SVN = "svn://projects.linuxtogo.org/svn/gpephone/trunk/source;module=${PN}" | ||
345 | XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" | 350 | XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" |
346 | XORG_MIRROR = "http://xorg.freedesktop.org/releases" | 351 | XORG_MIRROR = "http://xorg.freedesktop.org/releases" |
347 | GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources" | 352 | GNOME_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 | ||
362 | FETCHCMD_svn = "/usr/bin/env svn" | 366 | FETCHCMD_svn = "/usr/bin/env svn" |
@@ -373,12 +377,30 @@ UPDATECOMMAND = "ERROR, this must be a BitBake bug" | |||
373 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" | 377 | UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}" |
374 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" | 378 | UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" |
375 | SRCDATE = "${DATE}" | 379 | SRCDATE = "${DATE}" |
376 | #SRCREV = "${@bb.fetch.get_srcrev(d)}" | 380 | SRCREV = "${@bb.fetch.get_srcrev(d)}" |
377 | SRCREV = "${@base_get_srcrev(d)}" | ||
378 | 381 | ||
379 | SRC_URI = "file://${FILE}" | 382 | SRC_URI = "file://${FILE}" |
380 | 383 | ||
381 | ################################################################## | 384 | ################################################################## |
385 | # UI/Interaction Configuration | ||
386 | ################################################################## | ||
387 | |||
388 | SHELLRCCMD = "bash --rcfile $TERMRCFILE" | ||
389 | # Some common terminal programs to choose from | ||
390 | GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' | ||
391 | GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}' | ||
392 | SCREEN_TERMCMD = 'screen -D -m -t "$TERMWINDOWTITLE"' | ||
393 | SCREEN_TERMCMDRUN = '${SCREEN_TERMCMD} ${SHELLRCCMD}' | ||
394 | XTERM_TERMCMD = 'xterm -T "$TERMWINDOWTITLE"' | ||
395 | XTERM_TERMCMDRUN = '${XTERM_TERMCMD} -e ${SHELLRCCMD}' | ||
396 | KONSOLE_TERMCMD = 'konsole -T "$TERMWINDOWTITLE"' | ||
397 | KONSOLE_TERMCMDRUN = '${KCONSOLE_TERMCMD} -e ${SHELLRCCMD}' | ||
398 | |||
399 | # Set a default | ||
400 | TERMCMD ?= "${GNOME_TERMCMD}" | ||
401 | TERMCMDRUN ?= "${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 | ||
450 | DL_DIR ?= "${TMPDIR}/downloads" | ||
451 | IMAGE_FSTYPES ?= "jffs2" | 472 | IMAGE_FSTYPES ?= "jffs2" |
452 | PCMCIA_MANAGER ?= "pcmcia-cs" | 473 | PCMCIA_MANAGER ?= "pcmcia-cs" |
453 | MACHINE_TASK_PROVIDER ?= "task-bootstrap" | 474 | MACHINE_TASK_PROVIDER ?= "task-base" |
454 | IMAGE_ROOTFS_SIZE_ext2 ?= "65536" | 475 | IMAGE_ROOTFS_SIZE_ext2 ?= "65536" |
455 | IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536" | 476 | IMAGE_ROOTFS_SIZE_ext2.gz ?= "65536" |
456 | IMAGE_ROOTFS_SIZE_ext3 ?= "65536" | 477 | IMAGE_ROOTFS_SIZE_ext3 ?= "65536" |
457 | IMAGE_ROOTFS_SIZE_ext3.gz ?= "65536" | 478 | IMAGE_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 | ||
482 | CACHE := "${CACHE}" | ||
483 | |||
459 | ################################################################## | 484 | ################################################################## |
460 | # Magic Cookie for SANITY CHECK | 485 | # Magic Cookie for SANITY CHECK |
461 | ################################################################## | 486 | ################################################################## |
462 | OES_BITBAKE_CONF = "1" | 487 | OES_BITBAKE_CONF = "1" |
463 | 488 | ||
464 | ################################################################## | 489 | ################################################################## |
465 | # Task-base stuff | 490 | # Machine properties and task-base stuff |
466 | ################################################################## | 491 | ################################################################## |
467 | 492 | ||
468 | MACHINE_FEATURES ?= "kernel26" | 493 | MACHINE_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 |
472 | ROOT_FLASH_SIZE ?= "256" | 497 | ROOT_FLASH_SIZE ?= "256" |
473 | 498 | ||
474 | GUI_MACHINE_CLASS ?= "smallscreen" | 499 | MACHINE_GUI_CLASS ?= "smallscreen" |
500 | # GUI_MACHINE_CLASS is deprecated, please use MACHINE_GUI_CLASS instead | ||
501 | GUI_MACHINE_CLASS ?= "${MACHINE_GUI_CLASS}" | ||
502 | MACHINE_DISPLAY_WIDTH_PIXELS ?= "240" | ||
503 | MACHINE_DISPLAY_HEIGHT_PIXELS ?= "320" | ||
504 | MACHINE_DISPLAY_ORIENTATION ?= "0" | ||
505 | MACHINE_DISPLAY_BPP ?= "16" | ||
475 | 506 | ||
476 | DISTRO_EXTRA_RDEPENDS ?= "" | 507 | DISTRO_EXTRA_RDEPENDS ?= "" |
477 | DISTRO_EXTRA_RRECOMMENDS ?= "" | 508 | DISTRO_EXTRA_RRECOMMENDS ?= "" |