summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of 'all' architecture recipes and their interaction with sstateRichard Purdie2011-05-3113-25/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing PACKAGE_ARCH = "all" mechanism of sharing packages is problematic with sstate since there are a variety of variables which have target specific values and the sstate package therefore correctly changes signature depending on the MACHINE setting. This patch creates a new "allarch" class which sets: PACKAGE_ARCH = "all" (as per the existing convention) INHIBIT_DEFAULT_DEPS = "1" (since its not target specific and therefore can't depend on the cross compiler or target libc) TARGET_ARCH = "all" TARGET_OS = "linux" TARGET_CC_ARCH = "none" (since these variables shouldn't change between the different packages and target compiler flags shouldn't be getting used) PACKAGE_EXTRA_ARCHS = "" (since we shouldn't be depending on any architecture specific package architectures) Not all PACKAGE_ARCH = "all" recipes can use this class since some run configure checks on the compiler. This means they have target specific components and therefore the "all" classification is incorrect. (From OE-Core rev: 26e5e5feb695864b11e47e24017e254c28f14494) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* prelink: remove dependency on transfig-nativePhil Blundell2011-05-311-1/+2
| | | | | | | | | Per http://lists.linuxtogo.org/pipermail/openembedded-core/2011-May/003179.html (From OE-Core rev: 5c3f39c56d1a7402c1f1f3b6db1f2764fcc8f190) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: make pidof usuable in a standalone settingKoen Kooi2011-05-311-2/+4
| | | | | | | | | | | | | | Currently it's a symlink to killall5: $ dpkg-deb -c sysvinit-pidof_2.88dsf-r1_armv7a.ipk | grep pidof lrwxrwxrwx root/root 0 2011-05-27 11:05 ./bin/pidof.sysvinit -> /sbin/killall5 The point of the pidof subpackage was to have a pidof without needing sysvinit, this restores that behaviour. (From OE-Core rev: 3490772a87eda8d86027d4150a7c1b94c9ee282a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update meta SRCREVBruce Ashfield2011-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO: 1111] and updates the meta branch with some cleanups and feature groupings. From the meta branch itself: 06d3793 meta: add romley features f101ab9 meta: remove 'not set' lines from netfilter.cfg d0599f8 meta: add dca feature 0cd5ef1 meta: replace open-coded E1XXXX options with intel-e1xxxx feature 3f88c17 meta: add intel-e1xxxx feature f7537af meta: replace open-coded igb options with igb feature f72e046 meta: add igb feature 989cd7d meta: add ixgbe feature 8543f7d meta: replace open-coded dma engine options with dmaengine feature 8fc67cd meta: add dmaengine feature 610e419 meta: add hugetlb feature ac22176 meta: add uio feature ce14a0d meta: replace open-coded hpet options with hpet feature 6a30aaa meta: add hpet feature 0ae7362 routerstationpro: watchdog config (From OE-Core rev: 86a41a27681dc4cb0f4bf35e35013c9ecdad4c35) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: make OVERRIDES match what people expectKoen Kooi2011-05-301-6/+6
| | | | | | | | | | In the current situation TARGET_ARCH will override MACHINE, which is counter intuitive since the machine is more specific than the arch. The order is now pn-$PN} -> arch -> machine -> distro as the machine is a set of defaults and the distro is the ultimate policy. 'failfast' has been removed since it's not used anymore, just like 'local' Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-cross-csl-2008q1: Drop last remaining fail-fast override use and make it ↵Richard Purdie2011-05-301-1/+1
| | | | | | | | unconditional (From OE-Core rev: 8a5117d54057987b9bf470e5e0011800ca221a8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/powerpc-common: remove the incorrect dlopen default settingYu Ke2011-05-301-2/+0
| | | | | | | | | | | | | | | | | | These two setting for dlopen is not correct. dlopen is not available in libc, instead it is provided by libdl. so the setting should not be "yes" by default. This fixes [YOCTO #736] [YOCTO #737] Thanks Richard for pointing out the root cause. CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Philip Balister <philip@balister.org> CC: Koen Kooi <koen@dominion.thruhere.net> (From OE-Core rev: 89d56fbbb5e628983bcaf328f714f577b55f4fe2) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass,prserv.bbclass: Compare USE_PR_SERV with "1" or "0"Khem Raj2011-05-292-2/+2
| | | | | | | | | | | | Value of USE_PR_SERV is either "1" or "0" looking at settings in bitbake.conf USE_PR_SERV = "${@[1,0][(bb.data.getVar('PRSERV_HOST',d,1) is None) or (bb.data.getVar('PRSERV_PORT',d,1) is None)]}" So we compare the strings (From OE-Core rev: 5f6179324ac3956ad87123005bfcab4e8f30e67b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Add disabled COMPILE_IN_THUMB_MODE to uClibc.machine for all ARM ↵Khem Raj2011-05-294-0/+4
| | | | | | | | | | | | configurations This entry need to exist so that it can be manipulated later to decide if uclibc is to be compiled in thumb mode or arm mode (From OE-Core rev: e6f7e11f4ec40582d6343ec3a97f62cae1574344) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: Infinite recursion of or nodesBeth Flanagan2011-05-291-7/+8
| | | | | | | | | | | | | This fixes two bugs. When populate_lic was hitting | it was going into an infinite recursion of the node. Also, some LICENSE fields may start with "(". We want to avoid invalid python syntax here, so we strip out the whitespace. (From OE-Core rev: 160621bd9679201e352cc80b22aa2f6e25827576) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: Sane Parsing of licensesBeth Flanagan2011-05-271-38/+114
| | | | | | | | | | | | | | | | | | | | | | | | This is a first pass at sane license parsing, using python abstract syntax trees. A few notes on this since ast is not generally used. I massage the LICENSE field to be more pythonesque and then create an ast. I then dump the ast and using a LicenseVisitor class, recurse through the tree, looking for licenses. I then copy and link. It's cleaner, allows for easier addition of logic and while it takes slightly more CPU, it's also slightly faster in initial small scale tests. It doesn't recognize the '+' or '*' modifiers to the licenses yet nor does it know what to do with bitors (|), since I'm not even sure what to do with them. (From OE-Core rev: 2a90a3a41978a5470962b315e007351b8e80820c) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_git.bb: Fix patch path in SRC_URIKhem Raj2011-05-271-1/+1
| | | | | | | (From OE-Core rev: 21613c7ccfa54874ead33c5ae0f1a160db163b37) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gupnp-tools: Add gupnp-av to DEPENDSSaul Wold2011-05-271-1/+1
| | | | | | | (From OE-Core rev: 63e92f0c85ba2bc289dce4a01a24315e608defaf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* License Field Cleanup: Non-standard field namesBeth Flanagan2011-05-2738-38/+38
| | | | | | | | | | | | | | | I've cleaned up some odd license fields, fixed some license names and corrected some incorrect licenses. LICENSE really needs a pass through by the maintainers as some of the licensing is incorrect. Also, every license with Artistic should be gone through and noted as which version of Artistic. (From OE-Core rev: 4786ecdf7cd427089464dcb62579110d494e7cd7) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* common-licenses: Adding new licenses and renamingBeth Flanagan2011-05-27126-2599/+21995
| | | | | | | | | | | | | | | | | I'm adding full common licenses to the common license directory. These licenses are taken from the SPDX project or the OSI license repository. They conform to the SPDX naming convention and will be used by the new license.bbclass license parser in order to maintain some sort of internal standard for license naming. Going forward, we should have a bigger conversation about the LICENSE field and standardizing that to conform to this naming standard. (From OE-Core rev: acc260418a46dadd5598c53ad3491a21e8b2d6e8) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package_xxx.class: Use PKGE/PKGV/PKGR.Lianhao Lu2011-05-274-17/+17
| | | | | | | | | Use PKGE/PKGV/PKGR to build various package feed in tasks of pacakge_write_xxx. (From OE-Core rev: c2872315905fcdf6e4bf11fe96e5ca62af3475f8) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package(prserv).bbclass: Get PRAUTO and use PKGV/PKGR.Lianhao Lu2011-05-272-15/+65
| | | | | | | | | | | | | | 1. Added package_get_auto_pr to PACKAGEFUNCS to get the auto incremented value(PRAUTO) from remote PR service. 2. use PKGV/PKGR for pkgdata which will be used by package_write_xxx. 3. Added supporting functions in prserv.bbclass. (From OE-Core rev: b1f6120c04731d3d66f322ce550b0d223c118dab) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/bitbake.conf: Added variables for PR service.Lianhao Lu2011-05-277-10/+22
| | | | | | | | | | | | | | | | | | | | | | Added following variables for PR service: USE_PR_SERV: flag of whether to use the network PR service PRAUTOINX: search index for the network PR service PKGE/PKGV/PKGR: epoch, version and revision used in package feed. EXTENDPKGV: full package version string used in package relationships. For the following recipes, replace EXTENDPV with EXTENDPKGV: udev, xcb, xorg-proto, util-macros and linux-libc-headers then removed the unused EXTENDPV and EXTENDPEVER variables Users should use EXTENDPKGV instead for package feed generation. (From OE-Core rev: ad00ad1d530074dc3a0f3376f96ad5a88a7b24e2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shared-mime-info_0.90.bb: Fix more parallel build issuesKhem Raj2011-05-272-2/+29
| | | | | | | | | | | While building for beagleboard with -j4 I ended up failures in generating and checking xml files. This is a backport from upstream that fixes the issue. (From OE-Core rev: b56d984d59b5ea682f115b8ceeb04fbffe01f13c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: Set COMPILE_IN_THUMB_MODE in .config if ARM_INSTRUCTION_SET != armKhem Raj2011-05-271-0/+1
| | | | | | | | | This will configure uclibc to be compiled in thumb/thumb2 mode (From OE-Core rev: 77f93a2e1868a50d8d39d3efe621c530af32b450) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc_git.bb: Fix compilation on arm when using thumb instruction setKhem Raj2011-05-273-1/+57
| | | | | | | (From OE-Core rev: 7011d80c6cabc304e06237d167143d577fdd2570) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils.bbclass: make FILESEXTRAPATHS colon delimitedDarren Hart2011-05-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO 1102] Path variables are typically : delimited. White space is allowed in paths, so is not a good choice for separating paths. Currently utils.bbclass performs the following: extrapaths = (bb.data.getVar("FILESEXTRAPATHS", d, True) or "").split() This splits FILESEXTRAPATHS on whitespace. It later splits overrides on : and reassembles them all together as : delimited. There is only one user of FILESEXTRAPATHS in oe-core (qt4-tools-native, which uses : anyway) and none in oe. Change the split() in utils.bbclass to split on : instead of whitespace. When splitting on a defined string (":") we must be careful to handle the empty string case which returns [''] instead of []. Tested building qt4-tools-native and core-image-minimal for surgarbay from meta-intel with a couple extra layers with FILESEXTRAPATHS modifications added. (From OE-Core rev: a6a892f520d22ef8020c98528d38ee08f6cda034) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Phil Blundell <pb@pbcl.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: rename u-boot_git.bb to u-boot_${PV}.bbDarren Hart2011-05-271-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | In order to facilitate reuse of the oe-core u-boot recipe, there needs to be some assurance that the oe-core version won't change without a clear indicator to people extending it. By renaming the recipe to include its version string instead of "git", BSP layers can extend a specific base version of u-boot, ie. u-boot_2011.03.bbappend. When 2011.06 becomes available, we can create that file without instantly breaking all the BSPs depending on oe-core version of the recipe. As a matter of policy I would recommend we not carry more than 2 versioned u-boot recipess at any given time. This will provide BSP layers time to migrate to the newer version, without cluttering oe-core with numerous stale versions of u-boot. We may decide later to resurrect u-boot_git.bb as an AUTOREV recipe to faciliate upstream development on u-boot in the oe environment. (From OE-Core rev: f788d4b503ecc6600612746c4936dfb9393e237c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: remove UBOOT_MACHINE and COMPATIBLE_MACHINESDarren Hart2011-05-272-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | oe-core does not define any machines, so it does not make sense to add machine specific information in the oe-core u-boot recipe and infrastructure. Also note that COMPATIBLE_MACHINES is not easily extended due to its regex syntax: "(machine_a|machine_b)", making it difficult to extend the u-boot recipe in bbappend files without resorting to machine specific overrides. Remove COMPATIBLE_MACHINES and the default UBOOT_MACHINE from the recipe and insert some anonymous python into u-boot.inc to raise SkipPackage if UBOOT_MACHINE is not set (this ensures 'world' still works for machines that can't build u-boot). UBOOT_MACHINE must now be specified in each machine config that requires u-boot. This is an improvement over requiring machine specific overrides in every BSP layer's u-boot_git.bbappend file. For example, a beagleboard machine config currently contains: UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" With this change, it must now contain: UBOOT_MACHINE = "omap3_beagle_config" UBOOT_ENTRYPOINT = "0x80008000" UBOOT_LOADADDRESS = "0x80008000" So long as the SRC_URI in the base recipe can build a working u-boot for a given machine, there is no need to create a u-boot_git.bbappend file. If additional patches are deemed necessary, a BSP layer creates a u-boot_git.bbappend file and extends the SRC_URI to include general or machine specific backports. Note: I used bb.note() instead of bb.debug() to ensure the message at least makes it to the console. From what I could gather, bb.debug() doesn't go anywhere during recipe parsing. (From OE-Core rev: c7a198d7472b4767047dbbfeecb4d941055262b3) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Koen Kooi <koen@dominion.thruhere.net> Cc: Jason Kridner <jkridner@beagleboard.org> Cc: Chris Larson <clarson@kergoth.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus 1.4.1: create UUIDDIR in postinstKoen Kooi2011-05-272-4/+10
| | | | | | | | | This fixes dbus usage in non-sysV init systems. Volatiles aren't needed in systemd land, since /run is tmpfs and the dbus units take care of all this. (From OE-Core rev: 4c3490922c3bea5f9c9810bb40dc5f5d8783de5a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg.conf: update keyboard config with evdevYu Ke2011-05-273-5/+7
| | | | | | | | | | | | with xserver 1.10, the evdev driver is used by default, so update the keyboard config entry in xorg.conf accordingly. Fix [YOCTO #1108] (From OE-Core rev: 729999cb384978404ecdfa8ea4ae0eb831fb9ece) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix fprint pointer issueQing He2011-05-272-1/+37
| | | | | | | | | [YOCTO #1030] (From OE-Core rev: bc4b86639a713c877dbe5e0f984873915d1578d4) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: add native BBCLASSEXTEND to fix gnutls-native after ↵Martin Jansa2011-05-271-0/+4
| | | | | | | | | ffc32d6436bcd11bd9a431affb9d2508fdb3992e (From OE-Core rev: abc9f446c1e239ce34bbd0893a189cd7a6709fb2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: enable systemd support, but package systemd files seperatelyKoen Kooi2011-05-272-3/+8
| | | | | | | | | Systemd support in avahi only affects 'make install', so no changes for sysvinit based systems (From OE-Core rev: 8579478ebfc1774ea4315ae803c98a6b59fad55a) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default: workaround for gcc 4.6.0 failure on beagleboardNitin A Kamble2011-05-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mesa-xlib: workaround gcc 4.6.0 ICE Fixes this bug [YOCTO #1105] Working around this issue withg gcc 4.6.0 for beagleboard machine (armv7) ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/build_disk/poky_build/build0/tmp/sysroots/beagleboard -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers -I../../../../src/gallium/drivers/svga/include -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM -std=gnu99 -fvisibility=hidden -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H svga_tgsi_insn.c -o svga_tgsi_insn.o svga_tgsi_insn.c: In function 'svga_shader_emit_instructions': svga_tgsi_insn.c:2969:1: internal compiler error: in push_minipool_fix, at config/arm/arm.c:12084 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make[4]: *** [svga_tgsi_insn.o] Error 1 (From OE-Core rev: c98657d8cfa17d5b94695f71cc336c697ca93302) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rm_work: keep all sigdata files in stamps dirMartin Jansa2011-05-271-0/+4
| | | | | | | | | | * this makes fix for [YOCTO #1074] in bitbake 139b8a625818225c358a1b8363518d7ed6913188 much more usefull for people using rm_work (From OE-Core rev: 36386f3b8cadf283954f5c6db6ac6ee463c395de) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "createrepo: Update to 0.9.9"Saul Wold2011-05-272-49/+46
| | | | | | | | | | | | | This was just the wrong update to go to, it was not fully vetted and contains yum requirements which is not a direction we are moving in. This reverts commit 7576eba58cdfebf0606623c25ae969ef52774099. (From OE-Core rev: 7ffcabba6308d8b0e6caf883e675e6ae094d3302) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Add libcap to DEPENDSSaul Wold2011-05-272-3/+5
| | | | | | | | | Setup INC_PR for PR bumps (From OE-Core rev: ffc32d6436bcd11bd9a431affb9d2508fdb3992e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: change IMAGE_ROOTFS_EXTRA_SPACE to soft (?=) defaultSaul Wold2011-05-271-5/+6
| | | | | | | (From OE-Core rev: c9205e01262f8a14c4a602642dba4583b9e7c746) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* console-tools: use u-a also for fgconsole otherwise it collides with busyboxMartin Jansa2011-05-271-1/+4
| | | | | | | (From OE-Core rev: 14fb3ff04c59e6a21bf39463073cffecd2e5b858) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Fix commit typo, I mixed the patch versions upRichard Purdie2011-05-271-1/+1
| | | | | | (From OE-Core rev: b193e2fb163ad697ca136b240b682382f54f1d87) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11-common: fix dbus-launch RDEPENDSKoen Kooi2011-05-271-2/+2
| | | | | | | | | /usr/bin/dbus-launch is in the dbus-x11 packages, the dbus-launch package doesn't exist (From OE-Core rev: 69763109038fc4a29720d9ff692f2001722862ce) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: clean up dbus-x11 packagingKoen Kooi2011-05-272-2/+2
| | | | | | | | | | | | Martin Jansa spotted some differences with OE dev, which this commit fixes: * dbus-launch is mentioned twice in FILES * dbus-x11 should drag in dbus-1 (From OE-Core rev: eef8f869dd908e4dbca68b7a20e017c4ee40d626) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus 1.4.1: enable systemd support, but package systemd files seperatelyKoen Kooi2011-05-262-2/+5
| | | | | | | | | Systemd support in dbus only affects 'make install', so no changes for sysvinit based systems (From OE-Core rev: 9281ac4c98d4287a5492f13f94e1bd0eea4791c6) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* x11-common 0.1: add runtime dep on dbus-x11Koen Kooi2011-05-261-4/+5
| | | | | | | | | | | dbus-launch moved into the dbus-x11 packages, so we need to drag it in. Also reorder fields to better fit with the styleguide (From OE-Core rev: 5457a4ddefac2262067172d0db5c7d646aacb5c0) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu-config: add runtime dep on dbus-x11Koen Kooi2011-05-261-5/+6
| | | | | | | | | | | dbus-launch moved into the dbus-x11 packages, so we need to drag it in. Also reorder fields to better fit with the styleguide (From OE-Core rev: dfa47303edeffa3f15f6cf53928fb9246b7c5d90) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: split X11 dependant dbus-launch into its own subpackageKoen Kooi2011-05-262-2/+4
| | | | | | | | | | | | | | | | | | | | This makes dbus usable in non-X enviroments like QT/e >From the original commit in OE .dev: commit 8e25448fb01b6fa6ea3a86f9327f080cd753dfbc Author: John Lee <john_lee@openmoko.org> Date: Fri Sep 5 11:37:39 2008 +0000 dbus: enable x support and put dbus-launch into new package dbus-x11 * Enable x support only add rdepends to dbus-launch. Make it a seperate package so other packages like dbus does not rdepend on libx11. (From OE-Core rev: aebb9d6599aac683456adf56dc11f8b9f10f25c3) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Add missing dependency on zlib-nativeRichard Purdie2011-05-251-1/+1
| | | | | | | | | | | | | | | | Without this, compiler errors such as: configure:33440: i586-poky-linux-gcc -march=i586 --sysroot=/media/build2/builds/rptest/b2/tmp/sysroots/qemux86 -o conftest -D_REENTRANT -Wl,-O1 -Wl,--as-needed conftest.c -lpthread >&5 /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/as: /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../../usr/lib/libz.so.1: no version information available (required by /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/as) /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/ld: /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/../../../usr/lib/libz.so.1: no version information available (required by /media/build2/builds/rptest/b2/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.6.0/ld) can be see. This is due to the compiler being built against the system zlib, before zlib-native is built and in the sysroot. Once that has been built it can confuse the linker depending on the relative library versions. (From OE-Core rev: a04d50a0318cd16d5fb02a625d739e03b94e42b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-2.6.6: py_package_preprocess should change Makefile only in PKGD not DMartin Jansa2011-05-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PACKAGEFUNCS ?= "perform_packagecopy \ ${PACKAGE_PREPROCESS_FUNCS} \ our py_package_preprocess is called after perform_packagecopy which does copy D to PKGD so we change it to target version in D (image/) before populating sysroot (sysroot-destdir/) while keeping Makefile.sysroot version in PKGD which was created before calling py_package_preprocess, so both package for runtime and sysroot end wrong * I haven't seen this problem on faster builder, I guess because do_package and do_populate_sysroot can run in paralell and I was lucky that do_populate_sysroot finished before py_package_preprocess was started, but if you build python step by step -c package first you should see it every time * here is proof that with PKGD it works better: $ bitbake -c cleanall python $ bitbake -c install python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile grep: ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile: No such file or directory grep: ./package/usr/lib/python2.6/config/Makefile: No such file or directory grep: ./sysroot-destdir/usr/lib/python2.6/config/Makefile: No such file or directory ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib $ bitbake -c package python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib grep: ./sysroot-destdir/usr/lib/python2.6/config/Makefile: No such file or directory ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib $ bitbake -c package python $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./sysroot-destdir/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib * without this patch we have /usr/lib/ in image/sysroot-destdir and SYSROOT_LIBDIR in package/packages-split $ grep LIBDIR= \ ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile \ ./package/usr/lib/python2.6/config/Makefile \ ./sysroot-destdir/usr/lib/python2.6/config/Makefile \ ./image/usr/lib/python2.6/config/Makefile \ ./Python-2.6.6/Makefile \ ~/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile ./packages-split/python-distutils/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./package/usr/lib/python2.6/config/Makefile:LIBDIR= /OE/shr-core/tmp/sysroots/om-gta02/usr/lib ./sysroot-destdir/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./image/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib ./Python-2.6.6/Makefile:LIBDIR= /usr/lib /OE/shr-core/tmp/sysroots/om-gta02/usr/lib/python2.6/config/Makefile:LIBDIR= /usr/lib (From OE-Core rev: 2ba5ce85dcc3c6812b10073bfc4ab600ca169df1) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk: issue a diagnostic if rootfs is declared read-only and not all ↵Phil Blundell2011-05-251-0/+10
| | | | | | | | | maintainer scripts could be applied offline (From OE-Core rev: 5e9becaa6ba8a0302e3bb91bff0d580127433918) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: add IMAGE_ROOTFS_EXTRA_SPACESaul Wold2011-05-252-1/+5
| | | | | | | | | | | | | | | | [YOCTO #886] This address 2 needs after the IMAGE_ROOTFS_SIZE is cleaned up, by removing the _ext2/3 overrides it allows for a cleaner override using IMAGE_ROOTFS_SIZE to create a large rootfs, or by setting the IMAGE_ROOTFS_EXTRA_SPACE, will allow for extra space allocated in Kilobytes above the base size (determined by du of the rootfs * IMAGE_OVERHEAD_FACTOR, default of 1.3). (From OE-Core rev: 367934ada7c081ba3fc95f02dc14c7d6f97bfccb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* IMAGE_ROOTFS_SIZE CleanupSaul Wold2011-05-256-10/+9
| | | | | | | | | | | | | | | | | This basic cleanup removes the _ext2/3 overrides from places they no longer belong since they did not allow further overrides. In doing this the core-image-minimal* recipes can now set a reasonably small rootfs so that it's a realistic size for minimal. The new default for minimal is 8M and will be adujsted upward by the IMAGE_OVERHEAD_FACTOR (default of 1.3). This also fixes the ROOTFS_SIZE usage in the IMAGE_CMD_<fstype> code (From OE-Core rev: d3f6e1e6106ab539e73c19037915b2e4a5f2efa9) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc.inc: Transfer PARALLEL_MAKE to PARALLELMFLAGSKhem Raj2011-05-251-0/+6
| | | | | | | | | | | | | | | | * Currently we are passing -jN or -j N flags to eglibc makefiles however eglibc uses a make variable called PARALLELMFLAGS to pass information about parallel build to sub-makes * Currently make install ran without parallelism but now it should have parallel building flags passed to do_install correctly which inturn should improve build time of eglibc on systems using parallel build -j with values > 1 (From OE-Core rev: 05f017dc6878908cf55901f8a74c738f3bece077) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils_0.148.bb: Fix compilation on uclibcKhem Raj2011-05-252-3/+103
| | | | | | | | | | | | | | | | | | | Currently all components of elfutils dont compile with uclibc but elfutils is one part which is needed by other recipes e.g. gcc 4.5 to compile. we make adjustments so that when compiling for uclibc targets it _only_ builds and packages libelf use --enable-uclibc only when building for uclibc targets The supporting patch is also needed for compiling with uclibc to specify -lintl and -luargp on linker commandline Add missing inherit on gettext (From OE-Core rev: e21267f1837b25fec4443dbf4367e501639541bd) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-base: Add tremor to DEPENDSSaul Wold2011-05-251-1/+1
| | | | | | | | | gst-plugins-base requires the libvorbisidec library which is part of tremor (From OE-Core rev: 358ffed8f61d30b5b434b3745a13930906bcfefe) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>