summaryrefslogtreecommitdiff
path: root/meta/conf
AgeCommit message (Collapse)AuthorFiles
2012-08-25bitbake.conf: add variables to exclude from hash.Mark Hatle1
The parallelism flags should not change the parse hash. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-22conf/bitbake.conf: allow cache reuse between bitbake, bitbake-layers and hobPaul Eggleton1
BB_ENV_EXTRAWHITE is set by the bitbake wrapper script but not by bitbake-layers, and thus it was affecting the data hash and thus invalidating the cache. Any variables passed through from the environment by being added to this variable should themselves influence the hash already if they are not already excluded from, the data hash, so BB_ENV_EXTRAWHITE can be excluded. Similarly, DISABLE_SANITY_CHECKS is set by the hob script in order to have sanity checks run later, but not set by the bitbake wrapper script. It doesn't actually affect the build itself and so its value can also be excluded from the data hash. These changes prevent unnecessary reparsing between executions of bitbake, bitbake-layers, and the initial pseudo build within the hob script. Fixes [YOCTO #2680]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-19core: Prefer mesa-dri as virtual/libopengles1/2 providerDamien Lespiau3
Wihtout it, you have both mesa-dri and mesa-xlib as providers. Let's prefer the accelerated version. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17bitbake.conf: Add rtc to MACHINE_FEATURES_BACKFILLAndrei Gherzan1
This was done this way so that the current machine configuration would remain unaffected. The rtc MACHINE_FEATURE will specify if a real time clock is avalaible. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17bitbake.conf: Add MACHINE_FEATURES_BACKFILL and append to MACHINE_FEATURESAndrei Gherzan1
This is works the way DISTRO_FEATURES_BACKFILL does. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-17bitbake.conf: Use the new form of features_backfill functionAndrei Gherzan1
This function was modified in order to be used with other variables then DISTRO_FEATURES. Use this new function name and add the parameter needed. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15layer.conf: add udev-extraconf to SIGGEN_EXCLUDERECIPES_ABISAFEMartin Jansa1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15bitbake.conf: store cooker logs in subdirectory of LOG_DIRMartin Jansa1
* we should probably wait until http://git.openembedded.org/bitbake/commit/?id=1e06d8012868ba5a31503dc99cbf18570be629d9 is in next required bitbake version, but error message if the directory doesn't exist is quite clear * people with new enough bitbake could just change this in their local.conf Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-06bitbake.conf: exclude whole MACHINEOVERRIDES from OVERRIDES vardepsMartin Jansa1
* whole MACHINEOVERRIDES can change e.g. between MACHINES with different arm architecture, causing allarch packages to reexecute do_package bitbake-diffsigs ../shr-core/tmp-eglibc/stamps/all-oe-linux/xserver-nodm-init-2.0-r16.do_package.sigdata.90e760a8f6cecbd87cb2e95f1237e3cc ../shr-core/tmp-eglibc/stamps/all-oe-linux/xserver-nodm-init-2.0-r16.do_package.sigdata.9eeccfd15f25032b3b6b132534660fff basehash changed from 7618e17d3fda05d1f15246e6800ca0f0 to 97bc4dc8c1521c535bd96b2aa62d8a03 Variable MACHINEOVERRIDES value changed from ${MACHINE}${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}:${MACHINE_CLASS} to ${MACHINE}${@bb.utils.contains("TUNE_FEATURES", "armv7a", ":armv7a", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv6", ":armv6", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv5", ":armv5", "" ,d)}${@bb.utils.contains("TUNE_FEATURES", "armv4", ":armv4", "" ,d)}:${MACHINE_CLASS} Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02Complete recipe enablementBogdan Marinescu1
RP: The list of recipes in multilib.conf needs to go away and we need to just be able to extend all recipes with the multilib class. Tested by building and running lib32-core-image-sato-sdk. [YOCTO #1563] Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27gobject-introspection: Drop the recipe, it has never worked and if it does ↵Richard Purdie2
cross compile, we can add it back Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27eds-tools: Drop this recipe, its inapproriate in OE-CoreRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27world-broken.inc: Remove clutter-box2d from the exclude list, it worksRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-27bitbake.conf: override -cpu for qemu on ppc with SPEKhem Raj1
We use -mtune flags which lets our application have SPE intruction in them which is a good thing but when running qemu especially in user mode these application wont work with default powerpc emulation. Therefore we have to add proper -cpu option to let qemu emulate for a given cpu. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-27tcmode-default: Bump EGLIBC Version to 2.16Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26kernel bbclass: Recreate uImage only when KEEPUIMAGE != "yes"Koen Kooi1
The intent of the uImage code in this class includes the following 1) be able to specify custom load addresses without needing to patch the kernel 2) add better information to the uImage description field The current state is a NOP anyway, the kernel will always build a uImage when you tell it to 'make uImage'. weakly Set KEEPUIMAGE to 'yes' in default-distrovars.inc which preserve the current OE-Core behavior. Machines which are being ported from oe.dev and need to regenerate uImage can set this to be empty Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19Multilib build fixesBogdan Marinescu1
1. STAGING_KERNEL_DIR was getting an invalid MLPREFIX. Fix this by forcing the expansion in multilib.conf. 2. Added multilib rule for 'perf'. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19eggdbus: remove, nothing uses itRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie2
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19sanity.conf: Increase bitbake minimum version to 1.15.3Richard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18bitbake.conf: Define USRBINPATH globally instead of individuallyRichard Purdie1
Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18bitbake.conf: Add git-native to ASSUME_PROVIDEDRichard Purdie1
Originally, git was something new, not installed everywhere and had commandline stability problems. This has changed and git it no longer makes sense to continually build this when the system installed version is likely sufficient. This speeds up build since recipes no longer have to wait for git-native to build if they're fetched from a git:// SRC_URI. Also add git to the sanity checks and drop the no unneeded svn reference. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18tune-ppc476.inc: Support ppc476Peter Seebach1
A couple of boards use chips which perform noticably better when optimized for the 476. Add a trivial tune file to let them run better. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-16linux-libc-headers: updated to 3.4.3Bogdan Marinescu1
Tested by building core-image-sato-sdk. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-16conf/machine: replace TUNE_CONFLICTS with TUNECONFLICTSMartin Jansa5
* it wasn't consistent with other machine configs * reported 2 months ago.. http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022154.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-10bitbake.conf: Drop the remainder for the FETCH/CHECK/RESUMECOMMAND variablesRichard Purdie1
This completes the removal of these older variables and their replacement with FETCHCMD. This change requires the latest bitbake to operate optimally. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10bitbake.conf: Add passive-ftp option to the default FETCHCMD_wgetRichard Purdie1
This brings it into sync with the wget FETCHCOMMAND and RESUMECOMMAND variables. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10bitbake.conf: Drop the old svn FETCH/UPDATE/RESUMECOMMAND variablesRichard Purdie1
The svn fetcher converted to use FETCHCMD a long time ago. This drops several variables which are effectively useless. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10libgsmd - removePaul Eggleton1
This project has been unmaintained for some time, and even the OpenMoko project is not using it any more (in favour of FSO). Since we have ofono in OE-Core which replaces and surpasses its functionality, we can remove libgsmd. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04qemumachines: make MACHINE_FEATURES append follow qemu.inc includeTom Zanussi2
qemu.inc does a straight assign to MACHINE_FEATURES so overwriting the preceding append to MACHINE_FEATURES, so the MACHINE_FEATURES append needs to be moved after the include. This situation came about as a result of commit 71a4bf386: qemumachines: Enable xserver-xorg as default xserver For qemux86 and qemux86-64 include qemu.inc after defining XSERVER which missed this side-effect (and maybe others). Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04bitbake.conf: Add PACKAGE_BEFORE_PN to PACKAGESSaul Wold1
By doing this we can easily add addtional packages that can be greedy before PN, but after some of the other standard packages. This will also allow us to simplify the lib_package class to set this variable. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-04kernel: Add kernel headers to kernel-dev packageDarren Hart1
[YOCTO #1614] Add the kernel headers to the kernel-dev package. This packages what was already built and kept in sysroots for building modules with bitbake. Making this available on the target requires removing some additional host binaries. Move the location to /usr/src/kernel Before use on the target, the user will need to: # cd /usr/src/kernel # make scripts This renders the kernel-misc recipe empty, so remove it. As we use /usr/src/kernel in several places (and I missed one in the previous version), add a KERNEL_SRC_DIR variable and use that throughout the class to avoid update errors in the future. Now that we package the kernel headers, drop the kernel_package_preprocess function which removed them from PKGD. All *-sdk image recipes include dev-pkgs, so the kernel-dev package will be installed by default on all such images. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Khem Raj <raj.khem@gmail.com>
2012-07-04pcmcia-cs: Remove references to long-deprecated pcmcia-cs.Robert P. J. Day2
pcmciautils is the appropriate PCMCIA package these days. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
2012-07-04subversion-native: Enable subversion-native 1.7 and remove it from ↵Richard Purdie1
ASSUME_PROVIDED This enables a switch to subversion 1.7 now bitbake is able to cope with upgrading existing working copies. The impact of this change should be minimal since we don't have many subversion recipes now. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-02bitbake.conf: Tidy up a few comment typoes; no functional changes.Robert P. J. Day1
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-02documentation.conf: Improve PRIORITY documentationRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29build-appliance-image: rename from self-hosted-imageValentin Popa1
(-) renamed self-hosted-image to build-appliance-image (-) replaced build-appliance-image description [YOCTO #2636] Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29bitbake.conf: Add weak definition for USE_NLSKhem Raj1
USE_NLS is generally defined for uclibc based system builds and generally its defined to 'no' there. However this variable does not exist at all for eglibc/glibc distributions. This patch adds a weak definition to 'yes' on eglibc based system builds. This will ease out some of the cryptic contructs we have to define certain options based on USE_NLS and also checking got uclibc at the same time to avoid pythong exceptions when its not defined. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-28local.conf.sample.extended: Add accidentally missed featuresRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-28bitbake.conf: disable ccache explicitly if it is not enabledRobert Yang1
The autogen-native built error on FC17: ccache: failed to create /dev/null/.ccache This is because the default gcc command of FC17 is a symlink to ccache, so the ccache will always be used regardless to the setting of CCACHE, ccache uses $HOME/.ccache as the CACHE_DIR by default, but autogen set HOME=/dev/null, so the error happens. Disable ccache explicitly if it is not enabled would fix the problem, otherwise it would always use ccache regardless to the setting of CCACHE on Fedora 17. The ccache 3.1.7 has a bug, it would always create $CCCHE_DIR/.ccache even CCACHE_DISABLE=1. Unset CCACHE_DISABLE in ccache.bbclass, since ccache only checks whether there is a CCACHE_DISABLE in the environment or not, it doesn't care about its value, so we need unset it explicitly when enable ccache. [YOCTO #2554] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2012-06-28local.conf.sample.extended: Add filtering function to archiver.bbclassXiaofeng Yan1
Add the option to filter packages according to license. [YOCTO #2473] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
2012-06-25sanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers changeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25tcmode-default: Update gzip PREFERRED_VERSION to 1.15Saul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-25bitbake.conf/abi_version.conf: Update to use BasicHash signature generatorRichard Purdie2
This switches to use the hash based signature generatior and update layout_abi to match stamp file layout changes. Angstrom and Poky did this a while ago. This brings the OE-Core defaults into line with what is the best common practise at this point. Its been discussed on the mailing lists and by the TSC at length, this just completes the transition. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25layer.conf/bblayers.conf.sample: Fix empty BBPATH entry warningsRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21conf/bitbake.conf: fix reparsing after -p is usedPaul Eggleton1
The bitbake wrapper script is set up such that the -p (--parse-only) command line option is not executed under pseudo, and it sets the PSEUDO_BUILD variable to indicate whether or not pseudo is being used. Since PSEUDO_BUILD is allowed through into the environment via BB_ENV_EXTRAWHITE it influences the data hash and thus if you run "bitbake -p" and then run bitbake again to actually build something, the change to PSEUDO_BUILD causes the cache from the -p execution not to be used. This is fixed simply by adding PSEUDO_BUILD to BB_HASHCONFIG_WHITELIST in bitbake.conf so that it doesn't influence the data hash. Fixes [YOCTO #2600]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-06-19bitbake.conf: add PN-bin and cleanup lib_package.bbclassSaul Wold1
Since we now have PN as the end of the package list, we can almost get rid of lib_package, each recipe can just add PACKAGES =+ PN-bin instead of the inherit Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-19bitbake.conf: reorder PACKAGES listSaul Wold1
This change re-orders the PACKAGES list to move PN to the end of the list this will ensure that base package gets the final bits since the packaging is greedy. We can then have -dev and other package get bits first. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-15multilib.conf: Add the support of multilib for lsbinitscriptsXiaofeng Yan1
Add the multilib support for this package to multilib.conf because error will appear when building an lib32-core-image-lsb without this patch. [YOCTO #2571] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-15distro_tracking_fields: move to meta-yocto as seperate filesSaul Wold1
We are going to take a phased approach of breaking up the distro_tracking_fields, first is to remove it from oe-core, then create new files in meta-yocto. We are doing this because the distro_tracking_fields is getting unweildly and some of the data can be part of a burn down list instead continually stored, thus it will get split up. Signed-off-by: Saul Wold <sgw@linux.intel.com>