summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* m4: A better refactoringSaul Wold2012-01-197-32/+33
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Update for eglibc 2.15Saul Wold2012-01-172-5/+22
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* add mfatbu/mfatbl instructions support in ValgrindAneesh Bansal2012-01-172-1/+96
| | | | Upstream Status : Pending
* m4: refactor .bb and .inc filesSaul Wold2012-01-173-19/+22
| | | | | | | | The orignal had common code in the m4_1.4.16.bb file that was in the m4.inc file. m4-native was then including the m4.bb file and picking up the BBCLASSEXTEND, which causes the fetch to fail. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* prelink: Update to latest versionMark Hatle2012-01-171-2/+2
| | | | | | | | | | | | | | | | The latest version of prelink corrects a problem when attempting to prelink MIPS architectures. 2012-01-04 Mark Hatle <mark.hatle@windriver.com> * exec.c: Check that a section is larger then 0 bytes when determining the section to segment mapping. This matches the behavior of elfutils - readelf. Otherwise an empty PROGBITS section at the end of a segment will cause a failure. [YOCTO #1463] Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* e2fsprogs: upgrade to 1.42Scott Garman2012-01-176-52/+48
| | | | | | Refactored quotefix.patch to apply cleanly. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* libtool: Put all libltdl headers in the correct libltdl-dev packageColin Walters2012-01-171-1/+1
| | | | | /usr/include/ltdl.h was in libtldl-dev, but not the headers it depends on.
* btrfs-tools: upgrade to newer git commitNitin A Kamble2012-01-171-2/+2
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* diffstat: upgrade from 1.54 to 1.55Nitin A Kamble2012-01-171-3/+3
| | | | Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* binutils-cross-canadian: Clear BBCLASSEXTEND as a native version of this ↵Richard Purdie2012-01-111-0/+2
| | | | | | recipe makes no sense Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: RPROVIDE python-core-native since pycurl-native depends on itRichard Purdie2012-01-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: Fix magic file name magic -> magic.mgcSaul Wold2012-01-111-2/+2
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>