aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
AgeCommit message (Collapse)Author
2010-10-26bitbake.conf: add SAVANNAH_MIRRORChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-22bitbake.conf: don't append MACHINE_OVERRIDES to OVERRIDES when it's emptyMartin Jansa
* empty MACHINE_OVERRIDES adds :: to OVERRIDES (then in FILESPATH skips every directory after this) * strip() is needed to remove space in case some distribution has ie MACHINE_OVERRIDES ?= "" and then MACHINE_OVERRIDES += "" or MACHINE_OVERRIDES ?= "${MACHINE_CLASS}", where MACHINE_CLASS is empty again While FILESPATH was fixed separately, having :: in OVERRIDES still makes bitbake 1.8.18 to throw a "RuntimeError: Set changed size during iteration" exception when used together with collections.inc, since bitbake is being re-spawned in there. More details here: http://thread.gmane.org/gmane.comp.handhelds.openembedded/38254/focus=38595 Acked-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org>
2010-10-19Build development versions of Opie from git instead of CVS.Paul Eggleton
Note that this change requires a version of BitBake with the "git subpath" patch applied. Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
2010-10-16bitbake.conf: sanitize FILESPATHChris Larson
- reverse OVERRIDES - drop empty overrides - uniq the list - use nested variable references rather than getVar Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-15Reverse the order of OVERRIDESChris Larson
Given the current implementation of OVERRIDES in bitbake, the variable is expected to contain elements in the order least specific to most specific, however, our current usage of it does not match that. As one example, "local" is supposed to always be the most specific override, yet currently it's the least specific. As another example, currently the target architecture is seen as more specific than the machine, which is also clearly wrong. Big thanks to Chase Maupin for investigating and identifying this long standing issue. It becomes clear that a reversal of the current value will bring us to a more sane behavior, and avoids the need for the dual overrides hack mentioned in the comments, so this implements this reversal, and drops the unnecessary and confusing comments. This also introduces a MACHINE_OVERRIDES variable as a generic mechanism to inject overrides elements which are more specific than the distro but less specific than the machine, which is where things like MACHINE_CLASS or SOC_FAMILY or the like would go. This variable is *space* separated, to make it easier and more convenient to assemble the variable incrementally. Reported-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Chase Maupin <chase.maupin@ti.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-10-14bitbake.conf: resurrect unexported PKG_CONFIG_DIR for installsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13bitbake.conf: add HOSTNAME variableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13bitbake.conf: fix pkg-config relocation issueChris Larson
By default, pkg-config falls back to checking the default search path for .pc files, which is the native location. If you relocate it, it will be unable to hit that location, which can cause problems in certain cases. In particular, gnome-bluetooth requires gtk-doc-native to run its tools, and uses pkg-config to determine its availability. Fix by adding the native pkg-config locations to the PKG_CONFIG_PATH. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-10-10bitbake.conf: Define LIBTOOL_HAS_SYSROOTKhem Raj
* Set default weak to "no" * Use in TARGET_LDFLAGS Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-09-27native.bbclass,package.bbclass,bitbake.conf: Make provisions for system ↵Khem Raj
libdir to be something else than '/lib' * Add base_libdir_native as target libdir could be different e.g. lib32 lib64 * Dont assume lib to be system libdir during packaging. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-09-07bitbake.conf: Redefine STAGING_DIR_JAVA to point to target sysroot by defaultKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-08-12bitbake.conf: Add ext[23].bz2 imagesTom Rini
Boards with small flash and large ram need all the compression they can get. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-08-05bitbake.conf: subversion cmds, remove --trust-server-cert and add --force, ↵Martin Jansa
--accept * --trust-server-cert is supported only in >=svn-1.6 http://subversion.apache.org/docs/release-notes/1.6.html * --force allows to overwrite existing dirs ie matchbox-panel-2-icon-themes_0.0.1.bb matchbox-panel-2_svn.bb are checkouting/updating tiwo different SRCREVs and every few builds you end up removing svn checkout from downloads dir, just because it refuses to upgrade to newer revision (applets dir already exists there). * --accept to overwrite any local modifications (as we want clean checkout) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-08-05bitbake.conf: trust server certificate when doing svn over httpsRoman I Khimov
Fixes fetching from https:// svn repos with self-signed certs. Signed-off-by: Roman I Khimov <khimov@altell.ru>
2010-08-04bitbake.conf: Don't export 'LIBC' to the environmentTom Rini
perl makes use of this variable and it doesn't match how we use it. Since it doesn't need to be exposed like this, don't. No acks, but "sounds good" to Koen and "don't see why not" from Roman Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-08-03bitbake.conf,cmake.bbclass,cross.bbclass,icecc.bbclass: Point the toolchain ↵Khem Raj
paths to new multi-machine friendly toolchain install location. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-07-27bitbake.conf: Correct APACHE mirror location for APR recipes.Sean_Hudson@Dell.com
Hi all, We recently noticed that apr and apr-util recipes were not fetching correctly. It appears as though the APACHE_MIRROR variable in the bitbake.conf file. Below is a trivial patch to update the variable. Regards, Sean Signed-off-by: Sean Hudson <Sean_Hudson@Dell.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-25bitbake.conf: Add thumb-interwork to DISTRO_FEATURES if machine supports it.Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-22classes,bitbake.conf: Remove CROSS_DIR, install cross-packages into native ↵Khem Raj
sysroot * Update references to CROSS_DIR in classes and bitbake.conf. * This patch is based on Joshua Lock's work in poky. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Ackef-by: Chris Larson <clarson@kergoth.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2010-07-20bitbake.conf, local.conf.sample: Disable ccache by defaultTom Rini
This moves the current CCACHE over to local.conf.sample and documents when it's useful to enable. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-06-17Drop old unused crufty MANIFEST variableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10bitbake.conf: Drop some unnecessary getVar usage in python snippetsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10bitbake.conf: make the EXTENDPE bits slightly less disturbingChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10bitbake.conf: don't filter out nonexisting paths from FILESPATHChris Larson
It's unnecessary, and can cause problems with amend.bbclass. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10bitbake.conf: use := for BUILD_OS and BUILD_ARCHChris Larson
These don't change, so their initial values should be just fine. Apparently, in a typical build, those os.uname() snippets are called around 46k times, which seems a tad excessive :) Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-23bitbake.conf: add ${datadir}/gdb/autoload to the default paths included in ↵Chris Larson
${PN}-dbg Some libraries provide gdb autoload script as a debugging aid. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-05packaged-staging: enhancements from Poky for fetching and relocatabilityJoshua Lock
Firstly adds tooling from Poky to scan packages and fix up paths in libtool files, we then build on this to further post-process native packages (native, cross, sdk) and fix up any references to the STAGING_DIR in non-binary files. Secondly adds support for fetching packaged staging packages from a mirror by setting PSTAGE_MIRROR to point to the root of a pstaging directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock
populate_staging task to populate_sysroot This change, pulled from Poky, makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-04-19bitbake.conf: enable BB_LOCALCOUNT_OVERRIDE by default, please disable if ↵Martin Jansa
you're using AUTOREV * For now disable autoincrement of revision counter in SRCPV, whoever wants it, should enable it in local.conf or distro config. (Set it empty BB_LOCALCOUNT_OVERRIDE = "") * Revision counter is incremented only locally (bad for multiple builders filling shared feeds), LOCALCOUNT can be used to maintain counter globally in OE metadata (LOCALCOUNT value set in recipe). * Make sure you disable it, if you want always upgradable paths for git recipes without bumping LOCALCOUNT with every SRCREV change or if you're using AUTOREV feature. * LOCALCOUNT == value for revision counter in GIT recipes (NNNN in PV="1.0+gitrNNNN+a7401084a72285c8d3485bacf4eed593f303b1b7-r4.4") Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-04-14bitbake.conf: drop default inclusion of collections.incChris Larson
It can interfere with the bblayers stuff in bitbake master. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-12bitbake.conf: set default TOOLCHAIN_* vars to internalDenys Dmytriyenko
type, if not set to external Signed-off-by: Koen Kooi <k-kooi@ti.com>
2010-04-02bitbake.conf: add STAGING_SBINDIR_NATIVERoman I Khimov
Makes referencing it easier. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-03-19Initial split of base.bbclassChris Larson
Acked-by: Richard Purdie <rpurdie@linux.intel.com> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-15base.bbclass/bitbake.conf: Fix some string quoting to handle more unusual ↵Richard Purdie
URLs (from Poky)
2010-03-11base: don't write to system /etc dir, use new STAGING_ETCDIR insteadMartin Jansa
* ETCDIR instead SYSCONFDIR, because there already was STAGING_ETCDIR_NATIVE Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-03-11bitbake.conf: introducing new image fstype .cpio.gz.u-bootSteffen Sledz
* initrd images need to be prepared with mkimage to be usable from u-boot Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Martyn Welch <martyn.welch@gefanuc.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2009-12-16java.bbclass: stage all JAR files outside of ARCH related directoriesMarcin Juszkiewicz
When Java things are build for more then one architecture strange things happen: - first architecture builds fine - next architectures fails to build Thats due to lack of JAR files as they were built as PACKAGE_ARCH="all" but staged as PACKAGE_ARCH="TARGET_ARCH" so BitBake do not build them again but Java classes are unable to find them. Solution is to stage JAR files to non-ARCH directory. I used staging/java for it and build tested with stable/2009 and org.openembedded.dev branches. Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
2009-12-08bitbake.conf: create compatibility-providers.conf from micro, minimal, ↵Martin Jansa
angstrom, shr preferred providers Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-19bitbake.conf: Fix OVERRIDES description (After pb's explanation)Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-18squashfs-4.0: update squashfs-tools to include upstream LZMA inclusion.Leon Woestenberg
In OpenEmbedded we used squashfs 4.0 with external patch for LZMA compression support. In the meantime, squashfs has mainlined LZMA support in its CVS version. This patches switches to the upstream squashfs-tools and modifies bitbake.conf to match the slightly different arguments to mksquashfs. Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
2009-11-18squashfs-lzma-tools: Revert, re-applied later in unified commit.Leon Woestenberg
This reverts commit 78ec619c698b227e0d0f310f49c4a932ce9f0db6. Upstream squashfs-tools has now-official support for LZMA but requires different arguments. This commit added the new argument, but I later decided to unify this commit with the actual recipes -- so that in case of problems, it can be traced back to a single commit. Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
2009-11-18squashfs-lzma-tools: Upstream LZMA support requires -comp argument.Leon Woestenberg
2009-11-12Revert "bitbake.conf: Fix TERMCMD variables (from Poky)"Richard Purdie
This reverts commit 2f982a8b546846d705bdb6e75a58692e224b6726.
2009-11-12bitbake.conf: Fix TERMCMD variables (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-12meta-toolchain: Various corrections after the layout_* variable removal ↵Richard Purdie
(from Poky) * Drop the inherit sdk since it only gains us a single path and a world of pain. * Fix up paths to use SDKPATH instead of prefix. * Drop layout_* variable usage * Correct opkg control file locations Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-12bitbake.conf: SRCPV always upgradeable paths for git recipesMartin Jansa
* Holger Hans Peter Freyther <zecke@openmoko.org> did for the OM git tree that was never merged back into OE. * Taken from xora/angstrom-srcpv branch where it rot for long enough Signed-off-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2009-11-11bitbake.conf: Build MACHINE_ARCH from BASE_PACKAGE_ARCH, not HOST_ARCH ↵Richard Purdie
fixing some multimachine corner cases Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10base.bbclass: Replace the base_package_name function with the ↵Richard Purdie
base_prune_suffix() function from Poky and extend the number of special suffixes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-10Start removal of layout_* variables and replace these with new mechanisms to ↵Richard Purdie
allow nextgen SDK generation (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-11-05bitbake.conf: add support for "cpio.lzma" imagesJeremy Lainé
* add support for LZMA-compressed cpio images for use as Linux RamDisk images.