summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* python: fix sqlite RPATH issueSaul Wold2011-09-292-1/+21
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add proper deps for nfs-utils, util-linux, and straceMatthew McClintock2011-09-291-0/+2
| | | | | | | | | | | | These packages need these deps for the RPM generation stage: error: Failed dependencies: | /usr/bin/python is needed by nfs-utils-1.2.3-r2.ppce5500 | /usr/bin/perl is needed by util-linux-2.19.1-r4.ppce5500 | /usr/bin/perl is needed by strace-4.5.20-r2.ppce5500 Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Update to tip of FSF gcc-4_6-branchKhem Raj2011-09-281-3/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: remove the multilib handling to allarchDongxiao Xu2011-09-281-1/+1
| | | | | | | | | | | | | | currently we have allarch type of recipes, which may still have architecture dependency, like x11-common. So we need to drop the handling to allarch in multilib case. Also remove the PV postfix in python-pygobject DEPENDS, since multilib code will treat a native package multilib capable. [YOCTO #1497] [YOCTO #1498] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* rpm: fix QA Warning on installed but not shipped staticdev fileswSaul Wold2011-09-281-7/+10
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* rpm: ensure that magic file is relocatableSaul Wold2011-09-281-3/+11
| | | | | | | | | | | rpm-native was reading from /usr/share/misc/magic which is wrong it needs to be set to read from the sysroot. This also adds wrappers to the rpm-build tools to ensure they know were to find the macros that point to the right directories. Fixes [YOCTO #1532] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc-4.6: Use --with-linker-hash-style configure optionKhem Raj2011-09-282-0/+198
| | | | | | | | | Depending upon what hash style is in use this uses the right flag for setting the hash style type. This fixes the QA errors about missing GNU hash style reported in gcc-runtime build particularly libgcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pseudo: Fix QA warningsRichard Purdie2011-09-271-6/+12
| | | | | | | | | | | This fixes two QA warnings: a) Debug files being contained in the main package (by adding an appropriate FILES expression) b) Stop hardcoding the RPATH in the nativesdk case since our path is on the loaders default search path Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix two QA issuesRichard Purdie2011-09-272-0/+6
| | | | | | | | | a) There is a QA warning from a .so being present in a main package. In the case of the plugin library for gcc, this is allowed. b) Remove the unwanted libiberty.a file with the strange path. We don't need/want this and this removes an unpackaged file warning. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: include libgcov.a into libgcc-dev packagelumag2011-09-264-2/+4
| | | | | | | | | | First, this lib is usefull for coverage analysis-enabled building. Second, this fixes the warning about unpackaged files in libgcc recipe. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: fix possible problems with nscd compilation during eglibc-nativesdk buildDmitry Eremin-Solenikov2011-09-263-2/+4
| | | | | | | | | | | | | | | | | | | | | Long time ago a066e7ca90a28d5681c5fa895a29e999ed7c88b was committed to address possible problems with compilation of nscd during eglibc-nativesdk build. Problems were related to the way gcc searches for headers to check if it should enable it's own stack smash protection bits or it can relay on eglibc for it. However after 934d38530c9a67562e53d4034aee5531f0f26750 things got broken, as for gcc-crosssdk-intermediate packages: 1) EXTRA_OECONF is ignored 2) headers are installed in a different location than expected by that patch. This results in eglibc-nativesdk build broken on some systems (e.g. mine Debian x86_64 squeeze). Fix that by providing with-headers options to crosssdk-intermediate gcc configuration. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc-create-env-native: provide the script right in the treeDmitry Eremin-Solenikov2011-09-263-109/+194
| | | | | | | | There is no point in downloading a tarball with no clear upstream (other than icecc itself) and then patching it. Rather put new script in the source tree. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtool: Fix an issue where unnecessary rpaths were being injectedRichard Purdie2011-09-266-5/+69
| | | | | | | libtool was being to aggressive in adding rpath to binaries. This change stops it adding them if that path the default search path. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: add libxml-parser-perl-native dependency to -native versionDarren Hart2011-09-221-0/+1
| | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #1514] Without a native dependency on libxml-parser-perl-native, shared-mime-info-native can fail its do_configure task. checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool Testing: Successfully built shared-mime-info and shared-mime-info-native for qemuppc. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Joshua Lock <josh@linux.intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Koen Kooi <koen@dominion.thruhere.net> CC: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: Add missing file from previous commitRichard Purdie2011-09-221-0/+27
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffstat: Fix a build failure when using libdir=/usr/lib64Richard Purdie2011-09-221-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: include plugin-related headers into packaged SDKDmitry Eremin-Solenikov2011-09-223-2/+3
| | | | | | | | Include headers necessary to compile gcc plugins into cross-canadian gcc packages. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: include devtools scriptsDmitry Eremin-Solenikov2011-09-221-1/+2
| | | | | | | | Some scripts are necessary to develop programs with libcom_err and libss. Include those into e2fsprogs-dev package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc-create-env: rename to -nativeDmitry Eremin-Solenikov2011-09-222-10/+10
| | | | | | | | | | | icecc-create-env(-native) is a native package. But if it doesn't have the -native suffix, some dependency tracking stuff in oe-core (in nativesdk.bbclass) get's crazy about it, trying to generate dependencies to icecc-create-env-native packages. To fix that simply add -native suffix to this package. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Fix cgi.py runtime issueMark Hatle2011-09-222-1/+25
| | | | | | | | | | | | | By default cgi.py attempts to use /usr/local/bin/python as its interpreter. However, on my Linux systems, including OE-Core, python is installed into {bindir}. Adjust this one file based on the comment at the top of the upstream file. This resolves an issue where a runtime dependency discovered during RPM packaging breaks the rootfs construction. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Fix a few perl binaries to use target interpreter pathsMark Hatle2011-09-221-1/+9
| | | | | | | | | | A small number of target installed programs, "${bindir}/pod*", were incorrectly using the perl-native paths to access perl. This caused a dependency failure during RPM rootfs install, and also prevented those specific components from functioning. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update python dependencies to be simply to "python"Mark Hatle2011-09-212-1/+19
| | | | | | | | | | | | | Previously python dependencies were of the format "python(abi) = ..." This format is not yet supportable within OE, so revert to a form we know we can handle. Introduce a change to package.bbclass that ensures it will causes the sstate-cache's "package" to invalidate. Since pythondeps changed, the output of rpmdeps changes, which causes the per-file dependency information to change.... thus we need to invalidate the cache! Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* deb packages support: switch from /var/dpkg to /var/lib/dpkgDexuan Cui2011-09-217-10/+10
| | | | | | | | | [YOCTO #1086] The pach was backported from OE: http://git.openembedded.net/cgit.cgi/openembedded/commit/?id=41e0fbf792037f249d1b8d283b3de81718887c9f Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* icecc-create-env: a tool to create icecc toolchain tarballsDmitry Eremin-Solenikov2011-09-162-0/+132
| | | | | | | | | IceCC needs tarballs with toolchains to work correctly. This is a version largely based on one from org.openembedded.dev, plus a patch to support recent compilers, LTO, etc. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Fix reversed BGR values on ARM Versatile emulationRichard Purdie2011-09-162-1/+32
| | | | | | [YOCTO #1469] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: remove neon-detection.patch and --with-neon optionMartin Jansa2011-09-152-18/+2
| | | | | | | | | | | * upstream detection seems to be doing its job right now * I don't see how this is supposed to work -- neon_config="$withval/bin/neon-config" -+ neon_config="env env PKG_CONFIG_PATH=${withval}:${PKG_CONFIG_PATH} pkg-config neon" when neon_config should be sysroots/nokia900/usr/bin/crossscripts/neon-config " Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Uprev to latest version of prelink_git, fixing TLS issuesMark Hatle2011-09-151-2/+2
| | | | | | | | | | | | | | | [YOCTO #1473] From the upstream cross prelink respository: Fix printf typecast problem Without this fix the printed TLS(...) information is incorrect, which causes the core prelinker code to incorrectly prelink. This bug triggers primarily on x86 (32-bit) hosts, targeting x86 (32-bit) targets and arm targets. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* dpkg: fix pkg_postinst_dpkg, don't supply {bindir}/update-alternativesDexuan Cui2011-09-132-12/+9
| | | | | | | | | | | | | | | | | [YOCTO #1070]. The pkg_postinst_dpkg seems buggy, e.g., for dpkg-native, ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d doesn't exist. I think OE's version(do_install_prepend) at http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/dpkg/dpkg.inc is correct, so let's change to OE's version. And, bth dpkg and update-alternatives-cworth supply /usr/bin/update-alternatives and this causes conflict. e.g., bug 1070. We can resolve the issue by ask dpkg not to supply the binary. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opensp: Fix hard path in native nsgmls.Zhai Edwin2011-09-131-1/+8
| | | | | | | | | | | | | | | This relocation issues caused following bug and introduce one partial fix bb024d: [YOCTO #1440] But the environment val hacking is not working all the time, as nsgmsl may append wrong path in some case. This fix use search directory "-D" as solution. And more important, change the iputils' way to make doc: Use the sysid in current directory instead of parent directory, as "../" is also appended to the search directory then lead searching failure. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> CC: Saul Would <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "opensp: Fix sstate relocation issue"Saul Wold2011-09-091-8/+1
| | | | | | | | | | | This patch causes the linuxdoc-tools-native to fail, cause it's overriding the SGML_CATALOG_FILES, need to find a better way to set the CATALOG_FILE information for opensp / nsgmls Signed-off-by: Saul Wold <sgw@linux.intel.com> This reverts commit bb024d7a8c771c189b94b1ae177e29f3c318e236. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native: add link for python2Saul Wold2011-09-081-1/+4
| | | | | | | | Add link for python2 as some configuration tools search from a python2 and could find the host python instead of the python-native. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: add patch for ice 50099, which caused lttng-ust not to buildSaul Wold2011-09-072-1/+51
| | | | | | | | | | [YOCTO #1381] This patch came from from GCC Bugzilla via Khem Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* prelink: Update to latest upstream versionMark Hatle2011-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | [YOCTO #1374] - Fixes underlying issue [YOCTO #1331] - Detects bad GNU_HASH tables Update to the latest upstream version. This includes a number of generic fixes, as well as a complete refresh of the prelink-rtld. (Prelink-rtld is similar to the ld.so/ldd functionality on a normal system.) The new prelink-rtld update syncs to eglibc-2.13 and enables new symbol resolution, include GNU_UNIQUE, that was causing problems on x86_64 and potentially other architectures with C++. An assert has been added to also detect a bad GNU_HASH situation which was detected on some PPC64 systems. The underlying problem is within the toolchain, however prelink was making it worse leaving the problem undetected. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* mtd-utils: update to version to 1.4.6Denis Carikli2011-09-073-5/+105
| | | | | | | mtd-utils 1.4.6 is the lastest release of mtd-utils at this time. Signed-off-by: Denis Carikli <denis@eukrea.com>
* git: fix sstate relocation for git-nativePaul Eggleton2011-09-052-1/+7
| | | | | | | | | Create a wrapper for git to set GIT_EXEC_PATH and GIT_TEMPLATE_DIR so that git-native is relocatable. Fixes specific example given in [YOCTO #1137] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* opensp: Fix sstate relocation issueSaul Wold2011-09-051-1/+8
| | | | | | | | | | [YOCTO #1440] This fixes a problem where the native nsgmls has a path hard coded into it, therefor add a wrapper to set the environment with the correct paths for catalog files. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc: Fix multilib baselib confusionRichard Purdie2011-09-022-9/+55
| | | | | | | | | | | | | Commit 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 changed the gcc recipes to use baselib for the compiler location. This is fine as long as baselib happens to match the platform multilib definition which is enabled at the time. This patch fixes things so that gcc will honour whatever ${base_libdir} is set to re-allowing suitable customisation of the system layout. [YOCTO #1362] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix powerpc term and provide more template for different archesJessica Zhang2011-08-311-1/+14
| | | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-313-17/+4
| | | | | | | | template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Further S vs. PV fixupsRichard Purdie2011-08-313-1/+5
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* intltool: Fix perl pathsRichard Purdie2011-08-313-2/+45
| | | | | | | | | | Currently in the native case we have a path that can easily exceed the interpretor limit so use "env nativeperl" in that case. This patch also fixes up the target version's interpretor path but to do this we need to bypass the configure checks. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Fix broken source directoryRichard Purdie2011-08-311-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: upgrade from 7.3 to 7.3aSebastian Krzyszkowiak2011-08-304-3/+3
| | | | | | | * because 7.3 archive is not fetchable anymore Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: update to 2.21.1aPaul Eggleton2011-08-294-3/+6
| | | | | | | | 2.21.1 has disappeared upstream. There is no ChangeLog information for 2.21.1a, however diff reports only the addition of some cpu/opc files in cgen/ subdirectory; the source code is otherwise identical. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* opkg-utils: ignore packages disapperaring filelist generationDmitry Eremin-Solenikov2011-08-262-1/+18
| | | | | | | | Package files disappearing during index generation don't cause a fatal error. Make package file disappearing during filelist generation also a non-fatal error. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* cmake-nativesdk: remove gcc standard pathsKang Kai2011-08-261-7/+1
| | | | | | | | Because of the gcc-crosssdk bug, cmake-nativesdk needs to search gcc standard paths itself. Right now it was fixed, so remove the additional CXXFLAG for cmake-nativesdk. Signed-off-by: Kang Kai <kai.kang@windriver.com>
* [YOCTO #1396] Fix adt-installer for consistent naming for powerpc and add ↵Jessica Zhang2011-08-263-4/+17
| | | | | | all arch template for installation Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patchKumar Gala2011-08-263-87/+316
| | | | | | | | | | | | | The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x/mainline: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Backport patch to gcc 4.5.1. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* gcc-4.6: Drop gcc-poison-parameters.patch as its not needKumar Gala2011-08-262-78/+1
| | | | | | | | | | | The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers. This bug below reports the issue and is fixed in gcc-4.6.x: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618 Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* bitbake meta-toolchain with gcc 4.5.1 failedRobert Yang2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixes bug [YOCTO #1386] 1) Add the following lines to conf/local.conf: SDKGCCVERSION="4.5.1" GCCVERSION="4.5.1" 2) bitbake meta-toolchain The we will notice the error that sed can't find the directory: ${TMPDIR}/work-shared/gcc-${PV}/gcc-${PV}-${PR} we had changed the name of S from gcc-${PV} to gcc-${PV}-${PR}, but didn't update meta/recipes-devtools/gcc/gcc-common.inc, so fix S in gcc-common.inc would make it work. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>