aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta
AgeCommit message (Collapse)Author
2013-09-10meta-environment: change package name to include MACHINELaurentiu Palcu
Currently, the package name contains just the TRANSLATED_TARGET_ARCH. When compiling the toolchain for two machines, belonging to the same architecture (for example: qemuarm and beagleboard), this package gets overwritten and adt-installer repo will contain just one meta-environment package... This leads to situations like installing the toolchain for qemuarm and end up with meta-environment package with beagleboard cpu options. [YOCTO #4783] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-29buildtools-tarball: Add python-pkgutilRichard Purdie
This is needed by some recently added automated QA tests so we should add it to the buildtools tarball. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-05buildtools-tarball: do not export OECORE_NATIVE_SYSROOTChen Qi
When building a qemu image inside the environment created by the buildtools-tarball, the qemu image cannot be started, as the runqemu script uses the tunctl binary which cannot be found inside the sysroot directory of the buildtools-tarball. The buildtools-tarball is inherently a tool set instead of a fully functional SDK, so leaving the OECORE_NATIVE_SYSROOT variable in the environment will mess things up. However, we do need a line of 'OECORE_NATIVE_SYSROOT=xxx' in the environment setup script so that the SDK can be extracted and relocated correctly. Thus, instead of exporting OECORE_NATIVE_SYSROOT, we use a comment here. [YOCTO #4939] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-27external-sourcery: add missing providersSaul Wold
Addess the issue with multiple .bb providers ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. Thanks to Kergoth (Chris Larson) and Lpapp (Lazslo) [YOCTO #4908] Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-18buildtools-tarball: testimage needs the mmap python-moduleSaul Wold
The new testimage class needs the mmap python-module in the buildtools-tarball on machines that use the tarball to provide the correct version of python. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-07-02buildtools-tarball: add python-gitPaul Eggleton
python-git is needed by buildhistory-diff and the OE layer index update script, and on machines where buildtools-tarball is necessary given we are providing python we must provide this module as well. Fixes [YOCTO #4747]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-25buildtools-tarball: Add nativesdk-makeMark Hatle
Recently it was discovered that many Fedora hosts have a broken version of make 3.82. Add make to the buildtools-tarball, as well ad modify make to support building a special nativesdk version. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-25buildtools-tarball: Change the way the SDK is sanitizedMark Hatle
The previous method of shrinking down the scale of the environment-setup file would not work properly when the target is configured with multilibs. In addition, the configured machine name and similar settings could leak into the SDK naming. This was resolved by clearing the SDK generated files and generating our own custom files. Note, the name of the environment-setup now is suffixed with the SDK_SYS. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-14buildtools-tarball: Add nativesdk-ncurses-terminfo-baseRichard Purdie
We've been seeing issues where some TERM values don't work well with the tarball. These show up as escape codes coming from simple python calls such as printing the python version. Adding the terminfo goes part way to addressing the problem, the remainder is ensuring the relocation code correctly searches the right path for it (which will be in a follow on patch). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-11buildtools-tarball: add difflib and pprint python modulesSaul Wold
Needed for the unittest part of bitbake-selftest can work correctly. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10buildtools-tarball: Add json, unittest and compression python module packagesRichard Purdie
We need unittest so bitbake-selftest can work, tarfile from the compression module for opkg-utils and json for webkit builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07python-external-tarball: Improve DESCRIPTION/SUMMARYRichard Purdie
Improve the DESCRIPTION for the recipe and add a SUMMMARY. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-07python-external-tarball: Modernise and renameRichard Purdie
The external-python-tarball was intended to provide python for those users who didn't have python 2.6. It has been unloved for a while so this refreshes it a bit. Specifically: * Include git and tar since these can have version issues on some systems * Rename to buildtools-tarball to better reflect its purpose * Remove the site-config file from the tarball, its pointless * Prune down the environment file to just cover PATH and OECORE_NATIVE (which is needed to correctly install the tarball) * Add missing grp module (used by do_package) from the unixadmin package Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09classes/recipes/lib: Fix various python whitespace issuesRichard Purdie
There are some left over tab characters in the python functions. This removes them and resolves python 3 errors. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-29external-sourcery-toolchain: add SUMMARYPaul Eggleton
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-03-12external-python-tarball: rename output packageKang Kai
Update TOOLCHAIN_OUTPUTNAME to rename the output package which is the similiar style to name packages meta-toolchain-*. [YOCTO #3996] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-04recipes: Fix ALLOW_EMPTY with no package specifiedRichard Purdie
There are various usages of ALLOW_EMPTY with no packages specified. This is not recommended syntax, nor is it likely to be supported in the future. This patch improves the references in OE-Core, either removing them if they're pointless (e.g. when PACKAGES="") or specifying which package it applies to. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22external-python-tarball: code refactoringKang Kai
external-python-tarball only can be built when inherit package_ipk now. Update it to reuse existed populate sdk code that it could be built for rpm and deb too. Remove var DEPENDS, SDK_* and flags of do_populate_sdk because they are already defined in populate_sdk bbclasses. [Yocto 3006] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-25Split do_packagedata task from do_packageRichard Purdie
Currently, do_rootfs has a dependency on all the do_package output being present due to its usage of the pkgdata directories. This means that if you run: bitbake xxxx-image -c rootfs you end up having to fetch and unpack all the do_package data which is usually large and inefficient. It also means rm_work has to leave all the do_package data lying around so rootfs works. This patch splits the actual creation of the pkgdata directory off into a separate task, "packagedata" which happens immediately after do_package. We can then remap the dependencies so this task is depended upon, not do_package. Sstate can then be programmed not to require do_package at the appropriate times. Whilst this patch doesn't do so, it opens the possibility of rm_work wiping out the do_package output from WORKDIR as long as it also removed the do_package stamp (both normal and setscene variants) and allowing more space savings with rm_work which has been regularly requested. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-07image/populate_sdk: Simplify imagetest inclusion and drop dummy class fileRichard Purdie
Having to include some dummy class is suboptimal and we no longer need to do this. Also move this check to populate_sdk_base since we then don't need to include it in toolchains specifically. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-03Rename task to packagegroupPaul Eggleton
"Package group" is a much more appropriate name for these than task, since we use the word task to describe units of work executed by BitBake. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-31nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-23external-python-tarball: Blacklist recipe if ipk is not in the ↵Saul Wold
PACKAGE_CLASSES list This is needed because ipk tools and variables (specically IPKGCONF_TARGET and IPKGCONF_SDK) are used from the rootfs_ipk.bbclass I tried to inherit directly but it still fails to expand those. [YOCTO #2814] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07package-index: Remove the python hack, its not needed after the pythonnative ↵Richard Purdie
changes Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-18meta-ide-support: Add native qemu support for meta-ide-supportJessica Zhang
[YOCTO #2761] This patch fixed the issue that after "bitbake meta-ide-support" and try to start qemu and it will fail. This is due to the meta-ide-support lacking dependency for qemu native and ended up using qemu under /usr/bin. Fix the issue by adding dependency for qemu native in meta-ide-support and also add the path info in the environment-setup script. Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-06-05external-sourcery-toolchain: forcibly create usr/libChristopher Larson
If the usr/lib directory doesn't exist, the toolchain can fail to even try to find crti.o in a completely different directory. This causes a failure for the case where baselib is lib64. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-05external-sourcery: extract src and dest sysroot paths from gccChristopher Larson
Rather than hardcoding the multilib path in a map, and hardcoding dest sysroot symlink creation in a hook, now we just use -print-sysroot for both, and pass the appropriate multilib args to the toolchain for particular tunes. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-24external-sourcery-toolchain: ignore GNU_HASH issues with its packagesChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-24Rename 'external-csl' to 'external-sourcery'Christopher Larson
This is a rename per the purchase of CodeSourcery by Mentor Graphics Corporation, and associated naming change. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: update SUPPORTED to match toolchainChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: cleanup, simplify, use base_libdirChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: silence .a/.debug QA warningsChristopher Larson
Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-05-03external-csl-toolchain: split out a libstdc++-staticdev packageChristopher Larson
This silences one of the QA warnings. Signed-off-by: Christopher Larson <kergoth@gmail.com>
2012-04-14external-poky-toolchain: This is broken and confusing now, remove itRichard Purdie
This avoids a number of bogus preferred providers warnings too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-13package-index: Force NATIVE python to use modules from STAGING_DIR_NATIVEAndrei Gherzan
Export PYTHONHOME to ${STAGING_DIR_NATIVE}/usr. In this way python will search for modules in native sysroot. [YOCTO #2134] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-23meta-toolchain: Popluated the libc siteconfig files.Lianhao Lu
Fixed bug [YOCTO #2159] by correctly populate the libc's siteconfig files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-08external-csl-toolchain: override PKGV, not PKGV_${PN}Christopher Larson
This is needed to ensure that the RDEPENDS_${PN}-dev, RDEPENDS_${PN}-staticdev, and RRECOMMENDS_${PN}-dbg are accurate with respect to the PKGV of the ${PN} package, and incidentally fixes an rpm packaging issue, as rpm dislikes the recipe PV as PKGV. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-22external-csl-toolchain: skip parsing if CSL_VER_MAIN isn't setJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-09external-csl-toolchain: fix mtd-user.h issueChristopher Larson
The use of __packed, which isn't defined in userspace, caused busybox build failures. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: split out gdbserver packagesChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: correct binary packagingChristopher Larson
CS puts optimized executables in usr/lib/bin, not usr/bin. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-08external-csl-toolchain: set PKG/PKGV for staticdevChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2012-02-03external-csl-toolchain: extract version info from the toolchainChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-03external-csl-toolchain: leverage eglibc's packaging for more granular outputChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-03external-csl-toolchain: support ia32Christopher Larson
Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its bindir (e.g. gcc, ld). To avoid this messing up our build, we avoid adding this bindir to our PATH, and instead add symlinks to the prefixed binaries to our staging toolchain bindir. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-03external-csl-toolchain: support mips/ppc/armChristopher Larson
- Rather than adjusting TARGET_VENDOR, which results in our TARGET_SYS matching the external toolchain, override TARGET_PREFIX to match external, and leave TARGET_SYS alone - Grab the optimized files out of the toolchain if available - Create a symlink in sysroot to ensure the sysroot layout matches toolchain expectations (optimized files in a subdir) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01external-csl-toolchain: avoid the hardcoded version/prefixChristopher Larson
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-01external-csl-toolchain: fixes for metadata changesChristopher Larson
These allow the recipe to build again: - add compilerlibs, g++, libgcc to the provides - add linux-libc-headers-dev to the packages - in libc-package, only sed the ldd.bash.in file if it exists, as the external toolchain is using that class as well - shift the inherit location of the libc classes, as they were overriding the recipe's do_install - use ?= for EXTERNAL_TOOLCHAIN, so the user can set it Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-30meta-environment: Fix a typo in do_populate_sysroot[noexec]Darren Hart
I noticed with while grepping for usage of noexec. Replace do_populage_sysroot with do_populate_sysroot. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-24meta-toolchain/environment: Collected site config files in runtime.Lianhao Lu
[YOCTO #892] Use the new cached site config files generation mechanism in toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>