summaryrefslogtreecommitdiff
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* sstate.bbclass: Optimize the generation and install path fixupsMark Hatle2012-05-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fixmepath file that is generated contains a list of all of the files that need their paths fixed. In the previous version the fixmepath was generated to include all of the files that sed may have changed. In the new version, we first grep the files to see if they contain a path that needs to be changed, only then do we perform the sed operation on those files. This results in a modest performance increate in the creation of the sstate file. The following numbers include the do_package and do_populate_sysroot tasks on the perl recipe. Before the change: real 4m23.018s user 1m57.067s sys 1m33.327s After the change: real 4m13.083s user 1m54.062s sys 1m26.064s However, a more significnt performance gain is felt during the extraction/install of sstate cache files, as the fixmepaths file now has a significantly smaller list of files to modify. Before the change: real 0m39.798s user 0m11.158s sys 0m12.642s After the change: real 0m25.511s user 0m8.408s sys 0m5.077s (All numbers above were recorded with a cold filesystem cache on a machine with 12 GB of ram.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Add CCACHE_DIR to BB_HASHBASE_WHITELISTJason Wessel2012-05-151-1/+1
| | | | | | | | | | | | 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>
* tcmode-external-csl: handle TUNE_PKGARCH=core2Christopher Larson2012-05-151-0/+1
| | | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-external-csl: avoid hardcoding a list of ia32 archsChristopher Larson2012-05-151-2/+4
| | | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-external-csl: drop unnecessary cppflags/ldflagsChristopher Larson2012-05-151-3/+0
| | | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Allow empty -xlib packageRichard Purdie2012-05-151-1/+2
| | | | | | | | | | | | | There are things that depend on the -xlib package. There are two possible ways to fix this, either recommend them instead of depending on them, or allow the package to be empty. I'm doing the latter since its a bit cleaner and less invasive. This library is a bit pointless which is why there is little point in adding the x dependency in the non-lsb case. If it becomes widly used we can rethink this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ofono: Add python-pygobject to ofono-tests package DEPENDSDarren Hart2012-05-151-1/+1
| | | | | | | | | | | | | Some of the ofono-tests python scripts, such as test-modem and receive-sms (22 in total) import gobject. Make the ofono-tests package depend on python-pygobject. Tested on the meta-intel fri2 BSP in a core-image-sato image. Assorted ofono tests run correctly. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/rootfs_*: fix splitting package dependency stringsPaul Eggleton2012-05-132-4/+4
| | | | | | | | | | | | | | If a + character appears in a version specification within the list of package dependencies, the version will not be removed from the list in list_package_depends/recommends leading to garbage appearing in the dependency graphs generated by buildhistory. To avoid any future problems due to unusual characters appearing in versions, change the regex to match almost any character. Fixes [YOCTO #2451]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Drop unneeded RPROVIDESRichard Purdie2012-05-121-2/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Drop dubious use of packages[0] from do_split_packages and ↵Richard Purdie2012-05-121-19/+4
| | | | | | | | | | | do_split_locales As the comment says, using packages[0] is rather broken and can be incorrect, as demonstrated by the recent gdk-pixbuf change. Replacing it with PN is a bit more correct and more likely to do what was originally intended by this function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-xorg: Fix build on powerpcKhem Raj2012-05-112-4/+38
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: export GUILT_BASE to devshellBruce Ashfield2012-05-111-1/+2
| | | | | | | | | | | | | One of the patch backends to linux-yocto is guilt, which normally tracks patches under .git. But .git isn't something that can be checked into a SCM and repeated. So it has been moved under meta/patches and committed to the meta branch. If devshell is used, GUILT_BASE isn't set, so patch manipulations will fail. We export GUILT_BASE and point it at the meta directory when devshell is invoked for linux-yocto. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* package.bbclass: Drop EXPORT_FUNCTIONS use against mapping_rename_hookRichard Purdie2012-05-114-6/+4
| | | | | | | | | | | | The usage of this function renaming and it being called using bb.build.exec_func() causes needless indirection loops, confusing log files and seems generally pointless. This simplification makes the process much simpler and faster. I can't come up with a good reason why the export_functions functionality is needed for this function. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: fix packaging error for libext2fsAndreas Oberritter2012-05-111-2/+2
| | | | | | | * libext2fs is located in base_libdir, not libdir Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: Improve sstate_installpkg performanceMark Hatle2012-05-111-7/+21
| | | | | | | | | | | | | | | | | | | | | | | In a pathological case, lots of files to process, the sstate_installpkg performance was very poor. It interated over each file and ran 3 individual sed commands per file. Changing this to keep iterating but running only a single command took about 1/3 time time. However, when looking at the corresponding sstate_hardcode_path function, it was clear we could optimize this further. Using the same encoding logic to specify only the minimumal sed operation necessary, and using xargs to avoid the os.system call the install step was able to be performed in 13% of the original time. Example timing numbers for perl: 3m7s original code 1m20s single sed, but interating 0m26s using xargs and limited sed Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdk-pixbuf: Add --with-x11 when building lsb imageXiaofeng Yan2012-05-111-2/+9
| | | | | | | | | | | LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ because of having "--without-x11" for gdk-pixbuf_2.24.1.bb. Use the linuxstdbase override and also make it conditional on x11 \ being in DISTRO_FEATURES for passing lsb test. Split libgdk_pixbuf_xlib to a single package. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-lsb: Add libgdk-pixbuf-xlib to core-image-lsbXiaofeng Yan2012-05-111-3/+2
| | | | | | | | | | LSB Test Suite complains "No library libgdk_pixbuf_xlib-2.0.so.0" \ which are created by gdk-pixbuf_2.24.1.bb. So add this library to core-image-lsb for passing lsb test. [RP: Fix whitespace] Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: fix build with poky-tiny distroNitin A Kamble2012-05-112-1/+40
| | | | | | | | | | | | This fixes bug [YOCTO #2443] The prototype of findidx() has changed, but the code in xregex.c is still using the old prototype. This issue stayed hidden because this code only gets excercised when OPTION_POSIX_REGEXP_GLIBC is disabled in the eglibc configuration. See the patch for further information. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* typecheck.bbclass: update per current variable typing codeChristopher Larson2012-05-111-1/+1
| | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj2012-05-111-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* eglibc: Add patch to fix /var installation locationSaul Wold2012-05-112-4/+6
| | | | | | | | | | This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
* sanity.bbclass: Detect empty $PATH components tooPeter Seebach2012-05-111-2/+3
| | | | | | | | Empty components in $PATH have the same effect as a . in $PATH, and are a common side-effect of inserting a misspelled or unset shell variable in $PATH. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
* blacklist.bbclass: Refactor, use PNBLACKLIST[pn]Mark Hatle2012-05-111-11/+11
| | | | | | | | | | | | | | | | | Revise the handling from ANGSTROM_BLACKLIST to PNBLACKLIST[pn]. Refactor the code to eliminate references to the distribution and recipe name in the message. Change the skipPackage message message from: ERROR: <recipe> was skipped: <distro> DOES NOT support <recipe> because <reason> to: ERROR: <recipe> was skipped: Recipe is blacklisted: <reason> Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* blacklist: fix typo in nameMark Hatle2012-05-111-0/+20
| | | | | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Import directly from meta-openembedded commit: a63c374cdc785ade69d2998978d08280e671dc1f Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* h264_qpel_mmx.patch: fix Upstream-Status tagSaul Wold2012-05-111-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* eglibc: Add patch to fix /var installation locationSaul Wold2012-05-092-1/+21
| | | | | | | | | | This address the packaging issues since it's installed in the wrong place ERROR: For recipe eglibc-nativesdk, the following files/directories were installed but not shipped in any package: ERROR: /var ERROR: /var/db ERROR: /var/db/Makefile Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libc-package.bbclass: Add MLPREFIX while dynamically set RDEPENDSDongxiao Xu2012-05-092-6/+8
| | | | | | We need to add MLPREFIX when set RDEPENDS by setVar() function. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* image_types.bbclass: redefine EXTRA_IMAGECMD_jffs2 to leverage siteinfoTing Liu2012-05-091-1/+6
| | | | Signed-off-by: Ting Liu <b28495@freescale.com>
* zlib: upgrade to 1.2.7Eric Bénard2012-05-092-4/+2
| | | | | | | 1.2.6 is no more fetchable and 1.2.7 fix some bugs, full changelog is available here : http://zlib.net/ChangeLog.txt Signed-off-by: Eric Bénard <eric@eukrea.com>
* guile: upgrade from 2.0.3 to 2.0.5Nitin A Kamble2012-05-099-93/+108
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* openssl: Fix build for mips64(el)Khem Raj2012-05-092-9/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sanity.bbclass: Implement initial toolchain sanity checksPeter Seebach2012-05-092-0/+79
| | | | | | | | | | | | | | | | | 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>
* qt4-graphics-system: set graphic system in profile instead of X11 sessionOtavio Salvador2012-05-091-7/+5
| | | | | | | | | To allow the use of Qt applications started manually to use the configured graphics system the setting needs to be available in user environment. This moves the setting to /etc/profile.d ensuring it is set and available. This allow the removal of x11-common as dependency. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* libatomics-ops: Make it build for SH4Khem Raj2012-05-092-2/+74
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kmod: fix upgrade path from module-init-toolsMartin Jansa2012-05-091-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PROVIDES does not need _${PN} * CONFLICTS should be RCONFLICTS * opkg needs RREPLACES to automatically remove older module-init-tools instead of just reporting it conflicts with kmod SHR root@gjama ~ $ opkg install kmod Installing kmod (7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0) to root... Downloading http://jama.dyndns-home.com/org.openembedded.shr-core//armv4t/kmod_7+git02629fa02e96763db7460a930239cc93649a52f8-r0.0_armv4t.ipk. Removing package module-init-tools-depmod from root... update-alternatives: removing //sbin/depmod as no more alternatives exist for it Removing package module-init-tools from root... update-alternatives: Linking //sbin/insmod to ../bin/busybox update-alternatives: Linking //sbin/modprobe to ../bin/busybox update-alternatives: Linking //sbin/rmmod to ../bin/busybox update-alternatives: removing //sbin/modinfo as no more alternatives exist for it update-alternatives: removing //bin/lsmod as no more alternatives exist for it update-alternatives: Linking //sbin/lsmod to ../bin/busybox Configuring kmod. update-alternatives: Linking //sbin/insmod to /sbin/insmod.kmod update-alternatives: Linking //sbin/modprobe to /sbin/modprobe.kmod update-alternatives: Linking //sbin/rmmod to /sbin/rmmod.kmod update-alternatives: Linking //sbin/modinfo to /sbin/modinfo.kmod update-alternatives: Linking //bin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/lsmod to /bin/lsmod.kmod update-alternatives: Linking //sbin/depmod to /sbin/depmod.kmod Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: Use base_libdir for installing libkmodKhem Raj2012-05-091-1/+1
| | | | | | | | | | This also helps avoid QA errors about binaries accessing contents from /usr/lib Also fixes emptry libkmod problem since now the files are installed in expected place Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kmod: Update to .8+ releaseKhem Raj2012-05-091-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kern-tools: fix do_patch errorsBruce Ashfield2012-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The linux-yocto repository and scripts can support a mode of meta data management that merges a base meta branch to every BSP branch. In this case, the scripts don't have to restore a checkpoint for the meta data to be globally accessible. The decision to restore or not is made based on whether or not the meta branch is part of all branches or not. The linux-yocto recipes have a sanity check to determine if the requested SRCREV for meta data matches the head of the meta branch (via do_validate_branches). If the wrong commit is at the head, the meta branch is moved aside and the branch reset to the right commit. This creates two meta branches that contain the base meta data. The test for integrated meta data mistakes this for a globally merged set of meta data and doesn't restore the checkpoint, which leads to build failures. The immediate fix is to allow two branches to have the meta data. The long term fix is to make the detection only consider if the build branch contains the meta data. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* kmod: include libkmod also from libdirMartin Jansa2012-05-081-1/+1
| | | | | | | | * until it's decided it should be installed in base_libdir or libdir * fixes libkmod packaging Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: integrate minor fixesBruce Ashfield2012-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREV to pick up two minor fixes: 1/2: kgit-init: correct spelling of createme kgit-init copies the kern-tools scripts and intends to copy createme. The typo is in the usage() of updateme as well. Signed-off-by: Michel Thebeau <michel.thebeau@windriver.com> 2/2: kconf_check: fix bad quoting around missing_required.cfg missing_required.cfg won't have it's path truncated (if applicable), since the quoting it wrong. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: streamline support for multiple upstream repo typesBruce Ashfield2012-05-088-68/+86
| | | | | | | | | | | | | | | | | In order to support repositories of various types (with or without meta data, branched, pristine, custom, etc) information about the type of processing that is required was passed to the processing phases via variables. The combination of variables involved in coordinating the processing creates a learning curve and overly complicates recipe extensions. With minor tweaks to the kern-tools, adding flexibility and keying off the existence of the meta branch it is possible to remove all of the variables that were added to support different repository types. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto/3.2: configuration and pch mergeBruce Ashfield2012-05-083-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the 3.2 SRCREVs to import the following meta/config changes: 6b3d4e0 meta: add mei feature 519abac meta: add usb/uhci-hcd feature a67c5a3 meta/crownbay: use usb features 0855066 meta: add usb/ohci-hcd feature 15f1a99 meta: add usb/ehci-hcd feature 8fa6408 meta: add usb/xhci-hcd feature c724a55 meta: add usb/base feature b55b3a1 sys940x: Cleanup sys940x.scc 93f2e97 sys940x: Use PHYSICAL_START of 0x200000 to boot aaa034b sys940x: Add common standard and preempt-rt features e2b1286 sys940x: Add efi-ext to standard and preempt-rt configs d188c21 sys940x: Move emgd-1.10 data to the standard scc file 72d9369 fri2: Cleanup fri2-$KTYPE.scc files re efi-ext.scc dbcb120 fri2: Use emgd-1.10 feature and branch And the following driver fix: f39a0a9 pch_gbe: Do not abort probe on bad MAC Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* pango: Fix modules load failure in multilib environmentZhai Edwin2012-05-083-5/+54
| | | | | | | | | | | Multi-libs of Pango need different modules, thus different config files and utils. This patch separate config file and utils with different MLPREFIX to avoid conflict. [YOCTO #2356] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: fix incorrect INC_PRScott Garman2012-05-081-1/+2
| | | | | | | | Restore INC_PR to r15 to prevent breakage with out of tree openssl recipes (e.g, meta-oe). Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-util-image: Add missing dependency on xcb-utilRichard Purdie2012-05-081-0/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sed: Explicitly disable acl for deterministic buildsRichard Purdie2012-05-081-1/+3
|
* libgdbus: delete from oe-coreMartin Jansa2012-05-082-40/+0
| | | | | | | | * as suggested here: http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022071.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup: delete from oe-coreMartin Jansa2012-05-083-1291/+0
| | | | | | | | * as suggested here: http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022060.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xeyes/pong-clock: Update recipesRichard Purdie2012-05-083-4/+11
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-demoapps: Remove except for xeyes and pong-clockRichard Purdie2012-05-083-0/+430
| | | | | | | | http://lists.linuxtogo.org/pipermail/openembedded-core/2012-May/022059.html As proposed by Martin Jansa with a couple of changes from me. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>