aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
AgeCommit message (Collapse)Author
2011-03-03sane-toolchain-*: define DEBUG_FLAGS and add it to FULL_OPTIMIZATION to make ↵Martin Jansa
-dbg packages more usefull Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-02-24bitbake.conf, native*.bbclass: pass --sysroot to TOOLCHAIN_OPTIONSDenys Dmytriyenko
Commit 9c5b9db29738a89837917b1a2d8ee5a1cae0b4cc (bitbake.conf: Simplify TARGET_CPPFLAGS/LDFLAGS) potentially breaks external toolchains, when their default sysroot is different from our sysroot/staging location. Pass default --sysroot to compiler/linker through TOOLCHAIN_OPTIONS, avoiding native and nativesdk packages. This matches the corresponding changes in Poky. cross.bbclass was already doing it, since it originated from Poky, AFAIK. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Tom Rini <tom_rini@mentor.com>
2011-02-22bitbake.conf: Define tar.xz image types.Tom Rini
Make it depend on both tar-native and xz-native to make sure that we get a tar that groks --xz. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-22bitbake.conf: Simplify TARGET_CPPFLAGS/LDFLAGSTom Rini
This is based on poky's ba2e1f4d933c37b372d6749d64614f2510ee9d7b, which simplifies TARGET_CPPFLAGS (and thus CFLAGS) and TARGET_LDFLAGS based on gcc any company having --sysroot Acked-by:Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-17bitbake.conf: export LC_ALL = "C"Eric BENARD
* thus the build system language won't create troubles during builds (example : perl is hacking some generated files' content but only supports english outputs). * this problem is only met when using bitbake master Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-15bitbake.conf: Fix wrong comparisonImran Mehmood
The expression ('' or 'custom') will always result in 'custom' so the expression will become False when the variable (TARGET_OS, SDK_OS) is '' while its expected to be True in this case also. Signed-off-by: Imran Mehmood <imran_mehmood@mentor.com> Acked-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-02-12IMAGE_CMD_ext4.xz: rm uncompressed imageBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-01bitbake.conf: Drop unused perl-native-runtime ASSUME_PROVIDEDTom Rini
Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-01-29e-base: prepare for releasesMartin Jansa
* bump EFL_SRCREV a bit to current HEAD * introduce EFL_SRCREV_1.0.0 for recipes which don't need SRCREV change so often like stuff from OLD and BROKEN dirs and themes * move SRC_URI and S settings from bbclass to svn recipes * replace E_CVS and E_URI with E_SVN and E_MIRROR * PV/PR will be updated in following patches for individual recipes Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-01-26bitbake.conf: include bin dirs from BBPATH in PATHChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Eric Bénard <eric@eukrea.com>
2011-01-25bitbake.conf,nylon.conf,openwrt-sdk.conf: Use opkg-build instead of ipkg-buildKhem Raj
* Rename IPKGBUILDCMD to OPKGBUILDCMD Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Graham Gower <graham.gower@gmail.com>
2011-01-24Fail if the cpio command is missing (v3)Martin Panter
This one is rebased against today's git master, with an extra line for cpio.xz -Martin >From 388638cf72e6224fba4b96cda8db26fbc43bb20d Mon Sep 17 00:00:00 2001 From: Martin Panter <vadmium à gmail.com> Date: Sun, 16 Jan 2011 04:38:03 +0000 Subject: [PATCH] IMAGE_CMD: Fail if the cpio command is missing Previously my cpio.gz image was an empty gzip file because the missing cpio command was ignored and gzip was blindly run with no input. Signed-off-by: Martin Panter <vadmium+floss@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-10bitbake.conf: fix quote usage in COMBINED_FEATURESChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2011-01-07bitbake.conf: add cpio and ext4 .xz supportBernhard Reutner-Fischer
XZ_COMPRESSION_LEVEL ?= "-e -9" so people can override according to their available memory Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-28Add flags for variable typingChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-17bitbake.conf: Use normal bytes per inode param to genext2fsTom Rini
Without this we get an unusably small number of inodes in our filesystem images. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-12-17add ext4 image supportBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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>