summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* adt-installer: Removed the hard coded repo url.Lianhao Lu2011-08-233-3/+6
| | | | | | | [YOCTO #1380] Removed the hard coded repo url in opkg configuration files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* rpm: be certain we don't prefix our binariesChris Larson2011-08-231-1/+2
| | | | | | | In certain combinations of build/host/target, they can end up inadvertently prefixed, breaking the assumptions in the recipe. Signed-off-by: Chris Larson <chris_larson@mentor.com>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-2325-82/+82
| | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgcc: Remove fetch/unpack/patch noexec stampsRichard Purdie2011-08-192-6/+0
| | | | | | | | | | | libgcc now uses shared work directories so we cannot mark these tasks as noexec. If we do, the tasks may not run and hence gcc may not get patched for example which results in failures. This patch simple removes the flags since they're unneeded. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Add lttng-ust to DEPENDS only for eglibcKhem Raj2011-08-191-2/+9
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu: modify search paths for libglAnders Darander2011-08-191-1/+1
| | | | | | | On e.g. Debian libql is found under /usr/lib/x86_64-linux-gnu/libGL.so. Use a wildcard to match different locations, as uname -i only return unknown on Debian. Signed-off-by: Anders Darander <anders@chargestorm.se>
* perl-native: Update find_perl to find the perl wrapperWenzong Fan2011-08-192-2/+25
| | | | | | | | | | | | | [YOCTO #1157] [YOCTO #829] This is a common issue to the packages which using 'MakeMaker.pm' to generate their Makefiles. The function 'find_perl()' in 'MM_Unix.pm' will be used to figure out the path/link of 'PERL/FULLPERL', but it always find the 'perl.real' instead of perl wrapper. Just update it to find the perl wrapper correctly. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
* tcf-agent: add openssl into DEPENDSDexuan Cui2011-08-161-2/+2
| | | | | | | | | | | | | [YOCTO #1330] If tcf-agent's do_compile happens before openssl does populate_root, we'll get such a compilation failure: framework/channel_tcp.c:34:27: fatal error: openssl/ssl.h: No such file or directory Thanks Kumar Gala for reporting this! Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Cc: Kumar Gala <galak@kernel.crashing.org>
* qemu: Make qemu buildable inside qemux86/qemuppc targetZhai Edwin2011-08-162-8/+21
| | | | | | | | | | | It requires libx11 and libGL(if enabled GL) for building, which introduce extra dependence in qemuppc target. Futhermore, qemu's GL code is x86-oriented, thus some hacks needed for building in qemupcc. For simplicity, just make qemu GL's code for native only, so that qemu building is okay in world build. [YOCTO #1011] got fixed. Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
* intltool: Use nativeperl binary for PERL instead of 'perl'Khem Raj2011-08-153-4/+28
| | | | | | | License is GPLv2 change it. Defining PERL for native intltool is not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
* valgrind: supporting on Linux kernel 3.xLin Tong2011-08-152-1/+28
| | | | | | | | | | The old valgrind package do not support for Linux kernel 3.x, only for kernel 2.4 and 2.6. Now adding the configuration to the configure.in file to support Linux kernel 3.0. This commit fixes the problem in valgrind [YOCTO #1129] Signed-off-by: Lin Tong <tong.lin@intel.com>
* automake: Update for python.m4 to respect libdirKumar Gala2011-08-123-2/+63
| | | | | | | | | As we tweak libdir we need python libs that utilize configure to respect it setting. By updating the python.m4 template, when we regen automake files they will than respect the setting of libdir which is standard for any autotools based recipe. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* rpm: Fix the canonical arch --target processing and cleanupMark Hatle2011-08-127-127/+153
| | | | | | | | | | | | [YOCTO #1352] Fix the canonical arch --target processor to work with the way OE handles the GNU canonical arch. Also cleanup a number of files that are no longer used, and refactor the no-loop patch into the "no-loopmsg" patch. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* gcc: Various fixups to ensure consistent gcc buildsRichard Purdie2011-08-1118-33/+17
| | | | | | | | | | | | | We ensure that: * the shared work directory contains PR and ensure PR values are consistent across gcc builds * the regexp to handle library directories is in a specific task and run once This avoids breakage that was seen in incremental builds after commit be1f70d68b6b75772ebab8bdff683ddd7c42b0cd where the interpretor could become corrupted. This was due to the sed expression corrupting the source directory. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Poke more paths for presence of libglKhem Raj2011-08-091-0/+1
| | | | | | | | | On ubuntu 11.10 libGL is not in /usr/lib/`uname -i`-linux-gnu/ directory so we search this dir too. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb: Update to 7.3Saul Wold2011-08-088-53/+37
| | | | | | This has one upstream patch removed and a couple rebased Signed-off-by: Saul Wold <sgw@linux.intel.com>
* python-native: Fix a compiler finding issueMei Lei2011-08-062-1/+22
| | | | | | | The CC variable sometimes add option information after compiler name, but python can't get the real compiler name if those information added. Fix this issue by dropping the option information when finding compiler name. Signed-off-by: Mei Lei <lei.mei@intel.com>
* gcc: use ${base_lib} to match gcc default configurationKumar Gala2011-08-061-1/+1
| | | | | | | | Rather than tweaking MULTILIB_DIRNAMES & MULTILIB_OSDIRNAMES like is done for x86-64 via 64bithack.patch. We can just go with gcc defaults and utilize ${base_lib} for where to find gcc libs. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Misc: Corrected the dependency on non-native for -native package.Lianhao Lu2011-08-051-0/+1
| | | | | | | | | | [YOCTO #1336] Corrected the wrong dependency on non-native for -native packages for the following recipes: - util-macros - intltool Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* dpkg: Update to use perlnativeSaul Wold2011-08-052-2/+4
| | | | | | [YOCTO #1298] Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc-4.6: Add support for the e5500 PowerPC coreKumar Gala2011-08-052-1/+467
| | | | | | | Implements basic e5500 enablement in gcc, with a scheduler, -mcpu flag, etc... Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* prelink: Add lib64 dirs to prelink.confKumar Gala2011-08-052-5/+5
| | | | | | Handle multlib or cases that baselib is lib64. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* autoconf: Remove code checking for hardcoded /usr/localKhem Raj2011-08-052-1/+31
| | | | | | | | | | | This code is only relevant for AIX and causes problems with OE QA sniffer which detects -L/usr/local/lib on linker commandline during cross compile and rightly barfs This only happens when getloadavg() is not found in libc so we do not reach that code with eglibc but only with uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* autoconf: Remove patch=1 from SRC_URIKhem Raj2011-08-052-11/+12
| | | | | | | | | | | | | | Edit summary field s/produced/produce/ Fix the license related warning WARNING: autoconf-native: No generic license file exists for: GPLv2|GPLv3 at /b/openembedded-core/meta/files/common-licenses WARNING: autoconf-native: There is also no SPDXLICENSEMAP for this license type: GPLv2|GPLv3 at /b/openembedded-core/meta/files/common-licenses Signed-off-by: Khem Raj <raj.khem@gmail.com>
* binutils: Add support for powerpc e5500 coreKumar Gala2011-08-042-1/+114
| | | | | | | | Add powerpc e5500 core support to binutils so its recognized by assember, etc. The e5500 is a 64-bit core from Freescale utilized in the P5020 SoC. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* bison: Add dependency on flex-nativeNoor, Ahsan2011-08-042-4/+4
| | | | | | * This is 0479b70418ef553859029911c57c63a7aaebe299 from OE. flex-native is needed to build bison. The dependency was being satisfied indirectly but we need to add it explicitly. Signed-off-by: Noor, Ahsan <noor_ahsan@mentor.com>
* SRC_URI, S: use BPN instead of PN for multilib caseYu Ke2011-08-042-2/+2
| | | | | | | | | in multilibcase, PN has multilib prefix, so it is not correct to use PN in SRC_URI and S. instead, we've dedicately pruned multilib prefix in BPN, so BPN is the right alternative for PN. Signed-off-by: Yu Ke <ke.y@intel.com>
* multilib: Use BPN instead of PN for style like lib${PN}Dongxiao Xu2011-08-031-2/+2
| | | | | | | | | When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openjade-native: Change RDEPENDS of sgml-common-nativeDongxiao Xu2011-08-031-1/+1
| | | | | | | | openjade-native should RDEPENDS on sgml-common-native but not sgml-common Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-simple-perl: Use BBCLASSEXTEND insteand of *-native recipeDongxiao Xu2011-08-032-7/+2
| | | | | | | | | | It's not appropriate to require xxx.bb in xxx-native.bb, causing that xxx-native depends on target recipe. Use BBCLASSEXTEND to solve this issue. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcl: Fix packaging of platform independent filesKumar Gala2011-08-031-2/+2
| | | | | | | | | | | | Tcl's doesn't utilize ${baselib} for platform independent files but defines it as follows: TCL_LIBRARY = $(prefix)/lib/tcl$(VERSION) Match that so if ${baselib} is not just /lib things work properly. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Fix setting of GLIBC_DYNAMIC_LINKERKumar Gala2011-08-034-7/+11
| | | | | | | | | | | | | | | | | | The sed regex in do_configure_prepend was producing the following result: #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "/lib64/ld-linux-x86-64.so.2" instead of removing the leading "/lib" or "/lib64". Now we have it do: #define GLIBC_DYNAMIC_LINKER64 SYSTEMLIBS_DIR "ld-linux-x86-64.so.2" Additionally, with the regex fixed the manipulation of SYSTEMLIBS_DIR needs to be removed. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: Fix issue with tar configure failing with large UID/GIDsKumar Gala2011-08-033-2/+44
| | | | | | | | | Add a fixup for trying to create ustar archives when the users UID or GID is larger than the format allows. Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sgml-common-native: Read a catalog backup to repopulate sgml-docbook.catSaul Wold2011-08-011-1/+17
| | | | | | | This reads the sgml-docbook.bak and adds the entries into sgml-docbook.cat since this occurs out of order during shared state sysroot populate. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* openjade-native: Write a bak file for shared stateSaul Wold2011-08-011-1/+4
| | | | | | | This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared state sysroot populate, because it comes out of order. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* docbook-dsssl-stylesheets-native: Write a bak file for shared stateSaul Wold2011-08-011-1/+4
| | | | | | | This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared state sysroot populate, because it comes out of order. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* docbook-sgml-dtd-native: Write a bak file for shared stateSaul Wold2011-08-011-1/+4
| | | | | | | This patch writes a sgml-docbook.bak that is read by the sgml-common during a shared state sysroot populate, because it comes out of order. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* opkg svn: bump SRCREV to 625Koen Kooi2011-07-271-1/+1
| | | | | | | tested on beagleboard/angstrom and qemuarm/angstrom Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Drop part of the 64bithack patch which is no longer usedRichard Purdie2011-07-272-26/+0
| | | | | | | | | | | | | | | | Since we now handle GLIBC_DYNAMIC_LINKER in gcc-configure-common.inc: 's#\(GLIBC_DYNAMIC_LINKER[^ ]*\)\( *"/lib.*\)#\1 SYSTEMLIBS_DIR\2#' we can drop the patch which changes a hardcoded value for this. No PR bump since there is no code change resulting from this, its just a cleanup. There is still a valid question over the remainder of this patch and its interaction with multilib configurations. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Add support for compiling recipes against multiple ABIsRichard Purdie2011-07-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the core multilib class which can be used along with a parameter specifying the mutlilib to use in BBCLASSEXTEND. The MLPREFIX variable is added and can be used in cases where its too difficult to dynmaically work out where a mutltilib prefix is needed to be added to a variable. This includes: * SHLIBSDIR and PACKAGE_ARCH fixes from Lianhao Lu. * PACKAGE_DYNAMIC mapping from Yu Ke * PACKAGE_INSTALL mapping from Yu Ke * RPROVIDES mapping from Yu Ke * TARGET_VENDOR fix from Mark Hatle * Ignorning *-native-runtime dependnecies as well as *-native from Yu Ke * Map PKG and ALLOW_EMPTY from Dongxiao Xu * Ensure RCONFLICTS and PKG field dependencies are remapped (from Dongxiao Xu) * Ensure PN and MLPREFIX are set at the same time to ensure consistent BPN values (Yu Ke) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Xu Dongxiao <dongxiao.xu@intel.com> Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* RPM: multilib file class/colorMark Hatle2011-07-272-0/+35
| | | | | | | | | We need to include file class and file color in order to do the conflict resolution required with a multilib design. This is normally disabled when we don't use the internal dependency generator, patch enables it in all cases. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* distcc: fix makefile parameter orderDongxiao Xu2011-07-272-1/+22
| | | | | | | | | | | When linking with gcc, the parameter is read from left to write, if *.o calls a function contained in libxxx, the parameter order should be "gcc ... *.o -lxxx". This commit fixes the problem in distcc. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* binutils: Fix multilib header conflict - bfd.hMark Hatle2011-07-272-2/+4
| | | | | | bfd.h conflicts between 32-bit and 64-bit versions. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* meta: Rename SITEINFO_ENDIANESS to SITEINFO_ENDIANNESSKhem Raj2011-07-261-2/+2
| | | | | | | | | | | There is this discrepency in spelling. Lets fix it in core. There are lot of layers using SITEINFO_ENDIANNESS This was shielded since meta-oe had its own copy of siteinfo class. But that class has now been deleted in favor of oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl-dynloader.patch: Fix multilib issue for perlMei Lei2011-07-251-1/+1
| | | | | | | | The perl-dynloader.patch can't support lib64 lib32, libx32, etc. Relax the regular expression to fix this issue. Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-dsssl-stylesheets-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+10
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* docbook-sgml-dtd-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+9
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* openjade-native: Add SYSROOT_PREPROCESS_FUNCSaul Wold2011-07-251-2/+10
| | | | | | | | | [YOCTO #1250] This added function will install a private install-catalog binary so that shared state can find the binary as there is not a guarantee. Signed-off-by: Saul Wold <sgw@linux.intel.com>
* gcc-4.6: Fix packaging of native toolchainsKumar Gala2011-07-252-1/+2
| | | | | | | | | | | | | | The base gcc package is missing liblto_plugin.so. If we try a simple hello world compile we get something like: root@p5020-ds:~# gcc hello.c gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. We need to include liblto_plugin.so in the base gcc package and not gcc-dev. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>