summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in ↵Zhenhua Luo2012-01-061-2/+4
| | | | | | | | | | | RRECOMMENDS-powerpc 1. add powerpc/powerpc64 into the compatible host list 2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add ${TCLIBC}-dbg into RRECOMMENDS for powerpc Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake-1.11.2: backport pkglibexec_SCRIPTS fixNitin A Kamble2012-01-062-2/+121
| | | | | | | | | | automake-1.11.2 made variable libexec_SCRIPTS valid while pkglibexec_SCRIPTS invalid. Both should be either allowed or not allowed. This issue is fixed in the automake developement branch, and now backported into our automake 1.11.2 recipe. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python-pycairo: fix for x32Nitin A Kamble2012-01-061-3/+3
| | | | | | | | Add the libdir to configure so that path like /usr/libx32 can work. Also passing parallel make flags to the building process. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* autoconf: fix nativesdk rdependsNitin A Kamble2012-01-062-1/+3
| | | | | | | | | | | | | | Fixes this build error: | error: Failed dependencies: | m4 is needed by autoconf-nativesdk-2.68-r4.x86_64 | gnu-config is needed by autoconf-nativesdk-2.68-r4.x86_64 NOTE: package meta-toolchain-1.0-r6: task do_populate_sdk: Failed ERROR: Task 8 (.../meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native.bbclass: Fix variable remapping coverageRichard Purdie2012-01-054-10/+7
| | | | | | | | | | | | | | | When looking for RDEPENDS to process, bitbake iterates through PACKAGES *and* PN. Since native.bbclass sets PACKAGES to be empty, its pointless remapping the list of PACKAGES since this does nothing. There is a problem since *_${PN} are used by bitbake but not remapped by the native.bbclass class extension code. This changes the code to remap _${PN} in both expanded and unexpanded forms. As a result of this, various surprising dependencies are uncovered and the patch rectifies those. These are real bugs since they're injecting unneeded (unremapped) dependencies into the dependency chain. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils-cross-canadian: Allow ld-is-goldDerek Buitenhuis2012-01-051-1/+2
| | | | | | | | | In order to actually generate a toolchain (with bitbake meta-toolchain) that supports gold, binutils- cross-canadian also needs to be built this way. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Patch Upstream-Status UpdateSaul Wold2012-01-0512-0/+24
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg-utils: use /usr/bin/env pythonChristopher Larson2012-01-052-1/+48
| | | | | Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: correct prefix handling for oe-core sysroot layoutPhil Blundell2012-01-052-14/+10
| | | | | | | | | | | Don't try to guess a path based on ${HOST_SYS} since this is not where the files in the sysroot are likely to be. Instead, just use the "plat_specific" approach of taking STAGING_INCDIR and knocking off the trailing "/include" for all cases. This is still evidently suboptimal but does at least seem to give the correct results. Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: move libraries to base_libdirScott Garman2012-01-051-11/+18
| | | | | | | | | The e2fsprogs utilities are installed into base_sbindir (/sbin) and should not link to libraries under exec_prefix (/usr). So move these libraries from libdir (/usr/lib) to base_libdir (/lib). Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Fix for automake updateRichard Purdie2012-01-042-1/+47
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* prelink: also look at nonstandard lib pathsNitin A Kamble2012-01-042-5/+5
| | | | | | | | | | | | Prelinking for x32 image showed that it was ignoring libraries located at locations like /usr/libx32. Like that mips n32 has library locations set as lib32 This commit modifies prelink.conf to look at libraries also located at libx32 & lib32 locations. Thanks to Mark Hatle for suggesting the fix. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: ensure libs are included in packageSaul Wold2012-01-032-2/+2
| | | | | | [YOCTO #1868] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* btrfs-tools:Fix multithreaded buildingNitin A Kamble2012-01-032-2/+40
| | | | | | | | | | | | | | | | | | Fixes bug: [YOCTO #1524] Fixes this error with make -j: btrfsctl.c | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/intel/poky/builds/world/tmp/sysroots/qemux86 -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -pipe -g -feliminate-unused-debug-types -c btrfsctl.c | btrfsctl.c:37:21: fatal error: version.h: No such file or directory | compilation terminated. | btrfslabel.c:40:21: fatal error: version.h: No such file or directory | compilation terminated. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* automake: upgrade from 1.11.1 to 1.11.2Nitin A Kamble2012-01-032-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* quilt upgreade from 0.48 to 0.50Nitin A Kamble2012-01-036-44/+18
| | | | | | | | | | | | | | | | | | | | | | | gnu_patch_test_fix.patch : this patch removed as it is already upstream now. Renamed quilt.inc to quilt-0.50.inc and moved the dupicate information from native & target recipe files into the quilt-0.50.inc file. Clean up the unpackaged files warning These warnings are avoided: WARNING: For recipe quilt, the following files/directories were installed but not shipped in any package: WARNING: /usr/bin/quiltrc WARNING: /usr/share/emacs WARNING: /usr/share/emacs/site-lisp WARNING: /usr/share/emacs/site-lisp/quilt.el The /usr/bin/quiltrc is purposely not packaged, as it is needed for native recipe only. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* btrfs-tools: add attr as dependency to fix compilationNitin A Kamble2012-01-031-2/+2
| | | | | | | | | Fixes this compilation error: | mkfs.c:39:24: fatal error: attr/xattr.h: No such file or directory | compilation terminated. | make: *** [mkfs.o] Error 1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* elfutils: fix for dso link change in recent ldChristopher Larson2012-01-032-2/+35
| | | | | | | | | | | | This patch makes the link to the dependencies of libdw explicit, as recent ld no longer implicitly links them. See http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html as a similar example of the error message you can encounter without this patch, and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for more details. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* gcc: mark upstream status for all patchesNitin A Kamble2012-01-034-0/+4
| | | | | | | Some patches were missing Upstream-Status informantion, this commit adds that in those patches. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* perl: mark upstream status for all patchesNitin A Kamble2012-01-0340-0/+40
| | | | | | | All the patches imported from debian source packages are marked accordingly. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* rpm: fix build with automake-1.11.2Nitin A Kamble2012-01-032-0/+55
| | | | | | | | | | | automake version 1.11.2 has made use of dir variables more strict. the use of pkglibdir with SCRIPTS & DATA vars results in automake errors. This commits uses pkgdatadir & pkgbindir vars instead of pkglibdir to avoid the strict check errors. This change also works with automake-1.11.1 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* Add Upstream-Status to patchesSaul Wold2012-01-0324-4/+48
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* util-linux: Update to 2.20.1Saul Wold2012-01-031-1/+1
| | | | | | | | | | | | | | | | | | Add patch remove setting CC, LD and LDFLAGS on commandline since they are passed correctly via configure. Those setting also caused the configure information about -std=gnu99 from being passed correctly. Removed patch that was fixed upstream Added scanf configuration, since this is a cross-compile target check libuuid removed an API that e2fsprogs uuidd used (uuid__generate_*), thus we disable it in this patch and will now provide uuidd from util-linux. See http://sourceforge.net/projects/e2fsprogs/forums/forum/7053/topic/4639484 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* python: add md5module supportSaul Wold2012-01-033-3/+24
| | | | | | | The internal md5 module is needed for using "waf" to install other python packages such as pycairo. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rpm: Fix rpm database files capacity issue.Mei Lei2012-01-022-1/+21
| | | | | | | | | Tune the __db* size in DB_CONFIG. This will reduce the __db* size from 62MB to 26MB in qemu. [YOCTO #1769] Signed-off-by: Mei Lei <lei.mei@intel.com>
* chrpath: upgrade to 0.14Scott Garman2012-01-022-23/+23
| | | | | | | | | | | | SRC_URI changed because Debian has not started packaging v0.14 yet. So now we're using the true upstream for sources. Confirmed license file is still GPLv2, checksum changed due to updated FSF postal address in COPYING. Added HOMEPAGE and BUGTRACKER fields. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* valgrind: upgrade to 3.7.0Shane Wang2012-01-025-6/+30
| | | | | | | This patch is to upgrade valgrind to 3.7.0. The licenses are changed from "Copyright (C) 2000-2010 Julian Seward. All rights reserved." to "Copyright (C) 2000-2011 Julian Seward. All rights reserved." Signed-off-by: Shane Wang <shane.wang@intel.com>
* mtd-utils: upgrade to 1.4.9Shane Wang2012-01-023-1/+1
| | | | Signed-off-by: Shane Wang <shane.wang@intel.com>
* prelink: update to latest git versionScott Garman2012-01-021-1/+1
| | | | | | | | | | | | | | | | New version includes: 2011-12-08 Mark Hatle <mark.hatle@windriver.com> * rtld/rtld.c: Fix an issue where missing objects would trigger an assert in dl-version.c * rtld/rtld.h: Add _dl_new_object prototype * rtld/rtld.c: Add support for $ORIGIN, $PLATFORM and $LIB. Note: $PLATFORM = "" These fixes are needed to prevent prelink-rtld from crashing when running the new unsafe-references-in-binaries QA test. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* rpm_5.4.0: Fix configuration issue with native/nativesdkMark Hatle2011-12-231-1/+2
| | | | | | | | | RPM's configuration assumes if the prefix isn't /usr or /usr/local that you really want the DB in $prefix/var -- we want it in $localstatedir. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: explicitly disable kvm support for native without kvm headerPaul Eggleton2011-12-233-3/+3
| | | | | | | | | | Addendum to previous fix - instead of just not specifying --enable-kvm, explicitly specify --disable-kvm when building native version and kvm header is unavailable. Fixes reported do_configure failure on earlier CentOS 5.x versions (e.g. 5.4). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix installation order in feeds with mutiple providers of packagesRichard Purdie2011-12-222-2/+2
| | | | | | | | | If two packages were available of differing priority, this would confuse opkg and it was ignoring the dependency in the new dependency ordering code. This changes it not to ignore these cases by setting the badly named 'quiet' parameter accordingly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix building on distros with matching binutils versionNitin A Kamble2011-12-224-4/+4
| | | | | | | | | | | | | | | | | | | | | | | x86_64 opensuse 11.4 has bintuils version 2.21, and when binutils_2.21 recipe is built for x86_64 target then, the invocation of distro gcc fails with errors like this: /usr/lib64/gcc/x86_64-suse-linux/4.5/../../../../x86_64-suse-linux/bin/as: symbol lookup error: /usr/lib64/gcc/x86_64-suse-linux/4.5/.. make[2]: *** [sysinfo.o] Error 1 The issue rootcaused as incompatible LD_LIBRARY_PATH while running the distro gcc. As per Martin Jansa gentoo also sees similar issue with binutils 2.22 recipe. This commit fixes the issue by clearing the LD_LIBRARY_PATH for distro gcc (CC_FOR_BUILD) This Fixes bug: [YOCTO #1833] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* python-pycairo: Upgrade to 1.10.0Saul Wold2011-12-212-31/+39
| | | | | | tweak the pycairo.pc correctly. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* mtools: fix SRC_URI for GPLv2 versionPaul Eggleton2011-12-211-4/+7
| | | | | | | | | | | * folks.o-hand.com no longer exists, use the yoctoproject.org mirror instead (folks.o-hand.com was only being used because the upstream site removed this version in any case.) * Update HOMEPAGE * Fix spacing Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* apt: clarify LICENSE as GPLv2.0Joshua Lock2011-12-211-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* gcc-4.6: Let G++ relocate gxx-include-dir when using --sysroot optionKhem Raj2011-12-194-23/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we have a problem in our cross compiler since we use /usr/include/c++ to be default gxx-include-dir and then expect the patch we did to do the relocation w.r.t. sysroot however it does not quite work so and we end up gxx-include-dirs not respecting sysroot. A small test case would be tst-unique4.cc and it would fails like tst-unique4.cc:1:18: fatal error: cstdio: No such file or directory compilation terminated. weather we use --sysroot or not it does not matter arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm failed in same way. so we redo the GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch based on upstream submitted patch which tries to relocate the gxx-include-dir and to achieve the relocation it has to be specified w.r.t to --with-sysroot directory. e.g. --with-sysroot=${SYSROOT} --with-gxx-include-dir=${SYSROOT}/usr/include/c++ if we configure gcc like above then it becomes relocatable when we run the compiler and specify --sysroot=<blah> then g++ will search for gxx-headers under <blah>/usr/include/c++ if sysroot is not defined then it will use the default sysroot and gxx-include-dir will be w.r.t. default sysroot. Tested on qemuarm /arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm -v ... /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++ /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++/arm-oe-linux-gnueabi /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm/usr/include/c++/backward ... and if I now change --sysroot to something else /arm-oe-linux-gnueabi-g++ -S tst-unique4.cc --sysroot=/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4 -v ... ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++" ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++/arm-oe-linux-gnueabi" ignoring nonexistent directory "/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-eglibc/sysroots/qemuarm4/usr/include/c++/backward" ... See now its looking for them in 'qemuarm4' sysroot Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* [PATCH 2/4] gcc-cross: Add cross testing driver for running regression ↵Khem Raj2011-12-191-1/+90
| | | | | | | | | | | | | | | | | | | testsuites This script will be generated into the build directory of gcc-cross It should be testing gcc and g++. libstdc++ tests are not run since we build them as part of gcc-runtime but we can test them here by building them with 'make all' and then running the tests The script expects passwordless ssh access to target and is used in form ./arm-oe-linux-gnueabi-testgcc kraj@192.168.7.2 inside the builddir of gcc-cross Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing SUMMARY fields to various recipesScott Garman2011-12-192-2/+3
| | | | | | | | | | | | | | | This adds the SUMMARY field to the following recipes which were missing it: * dosfstools * grep * icu * libevent * libnfsidmap * qemu-helper-nativesdk Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Drop the offlineroot_varname patchRichard Purdie2011-12-192-22/+1
| | | | | | | This break things for on target opkg usage since $D must remain unset there. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Add logic to detect and creak circular dependenciesRichard Purdie2011-12-192-1/+101
| | | | | | | | This addresses some of the concerns about the previous opkg changes allowing it to break out of circular dependency loops with just a notice in the logs rather than effectively going OOM. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcc: reintroduce debug package, containing symbolsDmitry Eremin-Solenikov2011-12-161-0/+3
| | | | | Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Update svn 625 -> 633 and fix preinst issuesRichard Purdie2011-12-164-2/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a major issue with opkg images at the moment as preinst functions are not being executed before their dependencies are installed and this is leading to corruption of images containing avahi/dbus in particular. There are various changes in upstream opkg in the last 8 revisions which make changes in this area but sadly these aren't enough to get things working for us. I've updated to the latest svn revision with this patch since it makes sense to pull in those changes first and then supplement them with the attached patches. There is a full description of the patches in the patch headers but in summary they: a) Ensure preinst functions execute with their dependencies installed. This is a pretty invasive change as it changes the package install ordering in general. b) Ensure opkg sets $D, not $PKG_ROOT which we don't use c) Change opkg to allow execution of postinstall functions which fail resulting in execution on the target device as rootfs_ipk.bbclass currently does manually. The remaining changes interface this with the rest of the OE build infrastructure, adding in the option to tell opkg to run the preinst and postinst functions, ensure the correct environment is present for the postinst scripts and removing the now unneeded rootfs_ipk class code which opkg now does itself. [YOCTO #1711] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add .pl, pm, pod, sh files to SSTATE_SCANE_FILESSaul Wold2011-12-151-1/+4
| | | | | | | This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* libtool-cross: Add libtool & libtoolize to SSTATE_SCAN_FILESSaul Wold2011-12-151-1/+3
| | | | | | | This fixes problems where hardcoded paths in the file were incorrect during sstate reusage of the task output. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* dosfstools: fix populated image creation with dirsNitin A Kamble2011-12-152-2/+492
| | | | | | | | | | | | | | | | This fixes bug: [YOCTO #1783] Fix populated image creation. Earlier subdirectories support was broken, and files can only be placed in the root directory. Now directory hirarchy is supported in the image. Also support for long names is extended to directory names. There are some outstanding issues as documented in the patch header, these issues can be worked around by running dosfsck tool after populated image creation. The dosfsck tool is also part of this package. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* cross-recipes: Disable nls in gettext bbclassKhem Raj2011-12-154-4/+0
| | | | | | | | | | | | | | Right now for cross recipes e.g. gcc-cross and binutils-cross we specify --disable-nls .... --enable-nls on configure cmdline the --enable-nls coming from gettext bbclass. So we disable nls for all cross inheriting recipes in gettext bbclass and then we remove the extra --disable-nls in gcc-cross and binutils-cross This patch needs testing. Please help Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu: for native, do not fail if kvm is unavailablePaul Eggleton2011-12-154-4/+12
| | | | | | | | When building qemu-native, if the linux kvm header is unavailable (as it is on CentOS 5.x 32-bit) then do not pass the --enable-kvm switch to the configure script, thus avoiding failed do_configure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* icecc-create-env-native_0.1.bb: drop 'PRIORITY = "optional"' as it is the ↵Otavio Salvador2011-12-151-1/+0
| | | | | | | default Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>