summaryrefslogtreecommitdiff
path: root/meta/conf
AgeCommit message (Collapse)AuthorFiles
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>
2012-06-11linux-libc-headers: set default LINUXLIBCVERSION to 3.4Bruce Ashfield1
The 3.4 kernel is released, and is the default for qemu* builds, so we can safely update the default libc-headers version to 3.4. Built and booted for qemu* Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-06-05tcmode-external-sourcery: pass -msgxx-glibc for x86Christopher Larson1
This is needed to work around an issue with the toolchain search paths. It can pick up the wrong features.h without it, it seems, even with the system32 symlink in the oe sysroot. Investigate this further in the future. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05external-sourcery: extract src and dest sysroot paths from gccChristopher Larson1
Rather than hardcoding the multilib path in a map, and hardcoding dest sysroot symlink creation in a hook, now we just use -print-sysroot for both, and pass the appropriate multilib args to the toolchain for particular tunes. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30bitbake.conf: set an exclusion list for varflags in checksumsPaul Eggleton1
Set BB_SIGNATURE_EXCLUDE_FLAGS, which is used by the new varflag checksum code in BitBake. The list is intended to cut out most of the varflags that are generated internally, don't influence the output or are already included in the checksum in some way. If need be this list can be extended in the future. The existing vardepsexclude mechanism can also be used to exclude undesired varflags, but they must be fully specified, e.g.: do_patch[vardepsexclude] += "do_patch[someflag]" Implements [YOCTO #2517]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30layer.conf/bitbake.conf: Tweak PATHRichard Purdie2
We want the help2man script in scripts/ to be found in preference to any from the host system and from the native sysroot. It turns out to be tricky to get the order right from layer.conf so we move the addition of the scripts directory to bitbake.conf. Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1" will fail due to finding the host system help2man before ours. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-30ccache: Separate out into its own classRichard Purdie1
Currently, ccache is used if it is present. When building from scratch it gives no performance improvement and creates a ton of empty directories even when its not in use. This change moves ccache support to a bbclass file which the user can choose to enable. This should make builds more determinstic and make it easier/clearer to the end user when its being used and when it is not. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25Updated distro-tracking-fields.incBogdan Marinescu1
Updated metadata for lttng-tools. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
2012-05-25distro_tracking_fields: update information for ltpJiajun Xu1
Update information for recipe ltp 20120401 Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
2012-05-25bitbake.conf: add EXTERNAL_TOOLCHAIN to BB_HASHBASE_WHITELISTChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-25bitbake.conf: Improve wget timeoutsRichard Purdie1
The wget default is a 900 second timeout and 20 retries. This is way too long for most of our usecases so this patch changes it to a 30 second timeout and reduces retries from 5 to 2. We have good mirror infrastructure, this will let us fall back to it easier. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-24qemu.inc: Remove mesa-xlib as PREFERRED_PROVIDERSaul Wold1
The xserver-xorg uses and depends on mesa-dri, so we should use the default PREFERRED_PROVIDER of libgl as mesa-dri. This resolves the following: ERROR: Multiple .bb files are due to be built which each provide virtual/libgl (/intel/poky/distro/meta/recipes-graphics/mesa/mesa-dri_7.11.bb /intel/poky/distro/meta/recipes-graphics/mesa/mesa-xlib_7.11.bb). This usually means one provides something the other doesn't and should. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-05-24qemumachines: Enable xserver-xorg as default xserverKhem Raj3
For qemux86 and qemux86-64 include qemu.inc after defining XSERVER XSERVER variable is also weakly defined in task-core-x11.bb which means we can not use ??= otherwise when building any qemu image that uses task-core-x11.bb will get the wrong definition So we define the XSERVER common set for qemu in qemu.inc and as we know x86 and x86-64 qemu overrides the default we include qemu.inc after that definition which means that qemux86 and qemux86-64 get their own definitions and other qemus get the definitions from qemu.inc. other non-qemu machine will get their defintion from task which points to kdrive as of now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-24Update to distro_tracking_fields.incLaurentiu Palcu1
The fields for the following packages were updated: libdrm xf86-video-vmware xf86-input-mouse xf86-video-vesa xf86-video-intel xf86-input-synaptics mdadm xextproto xcmiscproto scrnsaverproto recordproto xproto kbproto fontsproto libxt xtrans libpciaccess fontconfig xcb-proto Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2012-05-24Rename 'external-csl' to 'external-sourcery'Christopher Larson2
This is a rename per the purchase of CodeSourcery by Mentor Graphics Corporation, and associated naming change. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24tcmode-external-csl: preferred external-csl-toolchain's gdbserverChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-20tune-mips64.inc: Add new tune file for mips64 big-endianKhem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-05-18multilib.conf: Added multilib support for kmod.Lianhao Lu1
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-17csl-versions: fix bb.process.CmdError referenceChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-05-15tcmode-external-csl.inc: specify the path you couldn't findPeter Seebach1
While misconfiguring toolchains, I noticed that one of the diagnostic messages gave me a little less information than I'd like about what I'd done wrong. Displaying the glob pattern that couldn't be matched turns out to make it a lot easier to figure out what you did wrong. (Answer: Not enough coffee.) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15tcmode-external-csl.inc: Allow for overridesPeter Seebach1
Wind River uses binary toolchains provided by Code Sourcery, but which have different values for a couple of the preset variables than the generic toolchains the external-csl toolchain feature supports. If these values were ?= assignments, we could just assign values to them and share the code, rather than keeping modified copies. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15bitbake.conf: Add CCACHE_DIR to BB_HASHBASE_WHITELISTJason Wessel1
The location of the ccache should not affect the sum in the sstate files. The end user should be free to use an external ccache via defining CCACHE_DIR to a new value in local.conf or using the default per package local ccache in the temp directory. Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15tcmode-external-csl: handle TUNE_PKGARCH=core2Christopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15tcmode-external-csl: avoid hardcoding a list of ia32 archsChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-15tcmode-external-csl: drop unnecessary cppflags/ldflagsChristopher Larson1
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-09sanity.bbclass: Implement initial toolchain sanity checksPeter Seebach1
This introduces a sanity check for the toolchain, which verifies each tuning (including any multilibs), producing meaningful diagnostics for problems, and also provides some higher-level tuning features. The TUNEVALID and TUNECONFLICT/TUNECONFLICTS settings were not implemented. Listed one or two missing features in TUNEVALID, also (in a previous patch) fixed the references to features which didn't exist. This patch also provides a whitelisting mechanism (which is completely unused) to allow vendors providing prebuilt toolchain components to restrict tunings to those based on or compatible with a particular ABI. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
2012-05-08distro_tracking: updates for upgraded recipesScott Garman1
libpng, openssl, openssh, and opensp Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-06conf/machine: Clean up configuration values.Peter Seebach7
This cleans up and/or corrects a few values from machine includes for consistency with future toolchain sanity checks, and also adds the TUNEVALID and TUNECONFLICTS to documentation.conf. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-03distro-tracking: update as per recent recipe upgradesNitin A Kamble1
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03python: upgrade from 2.7.2 to 2.7.3Nitin A Kamble1
bin/python2 link is provided by the python install process, so no need to create it. rebase these patches to the newer code: fix_for_using_different_libdir.patch 04-default-is-optimized.patch remove this patch as it is upstream now: sys_platform_is_now_always_linux2.patch Change default python version to 2.7.3 in the distro config Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2012-05-03tcmode-external-csl: use the existing precompiled locale filesChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03tclibc-eglibc: drop hardcoded locale-base-en-us/en-gbChristopher Larson1
This is handled by IMAGE_LINGUAS, so hardcoding it here is at best unnecessary duplication. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03csl-versions.inc: capture version in signaturesChristopher Larson1
We want to ensure that changing external toolchain version will change the metadata checksums of target recipes. This will do so via ensuring that any variable which references TOOLCHAIN_OPTIONS also pulls in the toolchain version variables. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03bitbake.conf: shift build config summary control to hereChristopher Larson1
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-01distro_tracking_fields: Change for ofono, iptables, etcDongxiao Xu1
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>