aboutsummaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
AgeCommit message (Collapse)Author
2011-05-17bitbake.conf: set TARGET_VENDOR to '-oe' and remove it from defaultsetup.confMartin Jansa
* -oecore was changed to -oe to be more consistent with SDK_VENDOR as we had -oesdk as SDK_VENDOR and not -oecoresdk Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-05-16conf/bitbake.conf: Add MACHINEOVERRIDES variableKhem Raj
By defualt it points to $MACHINE but sometimes its desired to have more than one overrides stemming out of a machine then they can be added to MACHINEOVERRIDES. e.g. MACHINEOVERRIDES = "${MACHINE}:nslu2" Note that if you redefine MACHINEOVERRIDES then default override for machine has to be added to it explicitly otherwise it will get lost. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-11distro: Add defaultsetup.conf, a set of default configuration providing sane ↵Richard Purdie
overrridable default for commonly used options The intent is to allow distros to share common core config but still allow customisations. The core should work with no distro set but users can still customise in any ways needed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11bitbake.conf: Include the new default-providers.inc and default-versions.inc ↵Richard Purdie
files These are the minimal defaults to allow OE-Core to function standalone with no distro set and are constucted such that the distro can either override values, or totally replace the include file entirely as needed. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-11conf/bitbake.conf: use --no-check-certificate to avoid errors when wgetting ↵Otavio Salvador
from https Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-05-10bitbake.conf: Drop unused *GUI* and MACHINE_DISPLAY variablesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-08gettext.bbclass, bitbake.conf: Append nls options to EXTRA_OECONF instead of +=Khem Raj
Some recipes do not defined EXTRA_OECONF in such cases += drops the --enable|--disable-nls options. In another case where recipe defines EXTRA_OECONF instead of adding/appending to it then --enable|--disable-nls options are lost from EXTRA_OECONF We define EXTRA_OECONF = "" in bitbake.conf so the variable exists always. We use _append instead of += so the option is added at very end and not lost. We only return empty gettext dependencies if its a target recipe in case when USE_NLS is not set because the native/cross/nativesdk recipes still need the gettext dependencies Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-04-21Further cleanup of various poky referencesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21bitbake.conf: Only very weakly assign SRCREV to the default of INVALIDRichard Purdie
This means it can easily be overridden by other points in the code, such as a ?= assignment in recipes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21bitbake.conf: Set MAINTAINER to a non-poky default of the OE-Core mailing listRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21bitbake.conf: Set SDK_VENDOR to -oesdkRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-20Replace POKYBASE with COREBASERichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-10bitbake.conf: Drop FAKEROOT variable since its replaced with FAKEROOTENVRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-08bitbake.conf: fix PACKAGE_ARCH[vardepsexclude]Saul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-04-04bitbake.conf: fix MACHINE_ARCHQing He
Replaces all '-' in $MACHINE to '_', fixes [YOCTO #946] Signed-off-by: Qing He <qing.he@intel.com>
2011-03-29bitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with ↵Richard Purdie
prelink and other issues are resolved Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24image_types.bbclass: Drop IMAGE_EXTRA_OPTION in favour of the more standard ↵Richard Purdie
EXTRA_IMAGECMD Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-24bitbake.conf/image.bbclass: Move image type information into image_types.bbclassRichard Purdie
Image generation code in .conf files is hard to read as it needs to be single line. By moving this to a separate class, multiline functions can be used instead improving readability. It also declutters bitbake.conf. There is no real functional change with this patch but it highlights the need for improvements in places such as the IMAGE_EXTRA_OPTION ext* specific variable which makes no sense. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23bitbake.conf: Prune global OPTIMIZATION flagsKhem Raj
-fexpensive-optimizations is enabled by default at -O2 -fomit-frame-pointer is enabled at -O2 selectively by gcc depending upon architecture if debug info is not hurt -frename-registers - This might have some performance advantage on top of O2 on architectures which have more registers and registers are left after scheduling but it affects debuggability quite a bit so as a i tradeoff we do not use it. -feliminate-dwarf2-dups - We use this option to reduce the size of debug information by removing duplicates this is only valid for dwarf2+ and we use dwarf2 by default -pipe uses buffers instead of temporary files internally it can speed up compilation it has has issues with other assemblers but not with GNU assembler and we use gas. Separate out debug information related flags into a separate variable DEBUG_FLAGS so distros can use/notuse them as they like Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-23Various: Update KERNELORG_MIRROR for consistencyTom Rini
In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-03-21bitbake.conf: replace unused/broken E_CVS/E_URI with E_MIRROR/E_SVN used in OEMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-21bitbake.conf/tune files: Adjust PACKAGE_EXTEA_ARCHSRichard Purdie
There is a problem with the current PACKAGE_EXTRA_ARCHS implementation since its impossible to control which extra architectures sort higher than TARGET_ARCH and which sort lower. In the x86 case for example, TARGET_ARCH might be "i586", i486 should be lower than this and i686 should be higher. There are also complications where its easy to inject duplicate entries into the variable. I tried various versions of this patch and concluded that it was simplest just to force the tune files to include TARGET_ARCH in the list in the right place if they're planning to customise it themselves. Other approaches with appends and prepends just complicated the code for no good reason. The TARGET_ARCH definitions should also move to the tune files but I'll leave this for a separate patch. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18bitbake.conf: Increase image overhead factor to account for rpm/zypper ↵Richard Purdie
database size Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-18bitbake.conf: add POKYBASE to BB_HASHBASE_WHITELISTKevin Tian
or else do_populate_lic varies its checksum when using different source directory, and thus further impact do_package sstate reuse. Fix [YOCTO 894] Possibly Fix [YOCTO 903] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-03-14qemux86-64: set qemux86_64 as package arch nameQing He
thus allows rpmbuild to generated RPMs with the right architecture. Signed-off-by: Qing He <qing.he@intel.com>
2011-03-01Revise stripping and splitting of debug informationMark Hatle
We now support two styles of debug information generation, the '.debug' style, which is the same as previously implemented. This style simply splits the debug information and makes it available in the same general directory. /bin/foo -> /bin/.debug/foo The new 'debug-file-directory' style splits the debug information and places it into the single debug-file-directory, /usr/lib/debug: /bin/foo -> /usr/lib/debug/bin/foo.debug Both also find and copy all referenced source code to a new /usr/src/debug directory. This allows the -dbg files to be used for stand-a-lone debugging on or off the target device. File stripping is now handled as a seperate operation from file splitting. This allows us to split the debug information, but also leave it in the original file -- or prevent the debug information from being split. Also enhance the comments within local.conf.sample to provide a better understanding of the control the user has over debug file generation. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-03-01bitbake.conf: Add DISTROOVERRIDES variableSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-14bitbake.conf: change revision fetching to use newer fetch2 codeSaul Wold
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-02-09bitbake.conf: fix SDK_NAMEKoen Kooi
It was using a '/' in a name variable, subtly breaking things like this: populate_sdk.bbclass: mkdir -p ${SDK_DEPLOY} cd ${SDK_OUTPUT} tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . Tar will error out since SDK_DEPLOY/DISTRO/ doesn't exist. Change the default to be more like the one from poky.conf, without the poky specific POKYLIBC. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-07bitbake.conf: Force git fetches to a new location after fetcher layout changesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-02-03bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTIONMark Hatle
A new default SUMMARY and DESCRIPTION was defined for any package that previously did not contain one. This value is based on the original SUMMARY_${PN} value. The new default SUMMARY and DESCRIPTION is used as a basis for all of the automatic summary and descriptions for the various package splits, include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales. A recipe may also override any of the automatic summaries by simply specifying the value. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-03bitbake.conf: Fix missing NM definitionMark Hatle
The definition of NM was missing, causing certain configure calls to revert to using the host system's version of NM. This can cause problems on some MIPS based targets, but is theoretically wrong everywhere. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-02-02bitbake.conf: Set LC_ALL instead of requring bitbake or env scripts to do thisRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-25bitbake: machine specific sysroots implementationDongxiao Xu
This commit changes the sysroots path to be machine specific. Changes includes: 1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific paths. 2) task stamp files. Adding ${MACHINE} info into stamp files for do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged. 3) siteconfig path. Separate the site config path for different machines to avoid one machine adopting the cache file of another machine. 4) sstate. Add machine name to sstate manifest file. Change relocation code for sstate paths since sysroot is machine. Keep native, nativesdk, crosssdk, and cross-canadian unchanged. 5) toolchain scripts. Change the environment path to point to machine specific sysroots in toolchain scripts bbclass. 6) Relocate la files when populating to a different machine of the same architecture. 7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate siginfo since they contain ${MACHINE} information. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-01-25gcc/libc: Change bootstrap to use an intermediate sysroot and hence no ↵Richard Purdie
longer overwrite files Based upon patches from Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-21staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu
Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2011-01-21bitbake.conf: add USERNAME to BB_HASHBASE_WHITELISTKevin Tian
previously only USER is in the whitelist, however both are possible on different distros Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2011-01-12bitbake.conf: Whitelist FILESPATH as a variable not to include in taskhashesRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-12bitbake.conf: Whitelist MACHINE variable in PACKAGE_ARCHSRichard Purdie
PACKAGE_ARCHS represents all compatible architectures for a given machine. It makes no sense for this variable to change any task checksums as it doesn't inject any machine dependency into any known task. Multimachine means machine specific packages will be detected through other variables. Before this patch, even native packaging tasks were ending up being marked as machine specific. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-01-10Fetcher: break the "SRCREVINACTION" deadlockYu Ke
Current fetcher has annoying "SRCREVINACTION" deadlock, which occurs when SRCREV=${AUTOREV}=@bb.fetch.get_srcrev(): get_srcrev()->setup_localpath()->srcrev_internal_helper() ->evaluate SRCREV->get_srcrev() current fetcher resolve the deadlock by introducing a "SRCREVINACTION" condition check. Althoguh it works, it is indeed not clean. This patch use antoehr idea to break the deadlock: break the dependency among SRCREV and get_srcrev(), i.e. assign a specific keyword "AUTOINC" to AUTOREV. when Fetcher meet this keyword, it will check and set the latest revision to urldata.revision. get_srcrev later can use the urldata.revision for value evaluation(SRCPV etc). In this case, SRCREV no longer depends on get_srcrev, and there is not deadlock anymore. Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-01-10bitbake/poky.conf: Add TARGET_LINK_HASH_STYLE option to TARGET_LDFLAGS as ↵Richard Purdie
per OE.dev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-30bitbake.conf: Set a default hash policy globally, not just in the poky ↵Richard Purdie
distro config Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-17bitbake.conf/poky-env-internal: Adjust PSEUDO variables to match pseudo ↵Richard Purdie
enabled/disabled modes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10Drop variables that do nothingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10task-cross-canadian: Ensure it reflects TARGET_ARCH in PNRichard Purdie
If this recipe doesn't reflect TARGET_ARCH in its name, only one flavour of cross toolchain can be installed at once. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-27Poky -> Yocto name changeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie
If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-30Make invalid LICENSE fields fatalRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-29sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie
unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-09-21bitbake.conf/documentation.conf: Start using SUMMARY variable and document itRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>