summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* libsdl: enable opengl for libsdlJiajun Xu2011-08-151-3/+4
| | | | | | | | | | | | To enable opengl for libsdl, we need DEPENDS on virtual/libgl. Add a check for "opengl" in DISTRO_FEATURES and when it's set, "--enable-video-opengl" and "virtual/libgl" will be added into EXTRA_CONF and DEPENDS. (From OE-Core rev: c28e62125209aa2e9606f094a4100ac1107fdd28) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsdl: add target versionJiajun Xu2011-08-151-5/+15
| | | | | | | | | | | Rename libsdl-nativesdk to libsdl to enable target version. libsdl is needed in some graphics testing. (From OE-Core rev: 2d719f69676e9a64f7baf34f058441b887dfa14a) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* default-distrovars: add x11 to default DISTRO_FEATURESPhil Blundell2011-08-151-1/+1
| | | | | | | (From OE-Core rev: 74f7e5c683dfd71c4042789b8dd4908f76f7e07a) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: only use x11 if DISTRO_FEATURES has selected itPhil Blundell2011-08-151-3/+4
| | | | | | | | | This makes it possible to include dbus in a non-X11-equipped DISTRO. (From OE-Core rev: abf2ab7b4d6e9f615f86ba84e684ae0753c602a8) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: only use x11 if selected in DISTRO_FEATURESPhil Blundell2011-08-151-2/+3
| | | | | | | | | This makes it possible to build cairo-using apps without X11. (From OE-Core rev: ba22cfac56120d001a53d33aee3b8eb3feda2786) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: skip self if x11 not in DISTRO_FEATURESPhil Blundell2011-08-151-0/+5
| | | | | | | | | This stops (most) x11 packages leaking into a non-x11 distro by mistake. (From OE-Core rev: 2f94ff4fdb66755ba2448794baea19315ff96273) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixman: remove spurious dependency on libx11Phil Blundell2011-08-151-2/+0
| | | | | | | | | Nothing in pixman actually uses libx11, so no need to DEPEND on it. (From OE-Core rev: e3432253da5af35345a978c7435e31fee6938217) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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 (From OE-Core rev: d4b4ecb33c727ed54ab52de79e69cd3f0d14fb35) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: delete unpackaged uic3 to avoid unpackaged file warningPaul Eggleton2011-08-151-0/+1
| | | | | | | | | | All the other utilities get deleted as they should not be packaged, delete this one as well. (From OE-Core rev: 2c036c71cf0d978fac2ddc4abfb702d42af6bcda) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: package QML plugins and correct their install directoryPaul Eggleton2011-08-153-5/+13
| | | | | | | | | | | | | | | | | | QML components from Qt were installed to ${prefix} before and never got packaged. This is now fixed and QML components are now installed into ${libdir}/${QT_DIR_NAME}/imports and packaged into qt4-*-qml-plugins package. Additionally qmlviewer and the examples/demos are now dependent upon these plugins as needed. Originally based on OE commit 4adf97be8c5b5f71ad92095a19968af534baa9e2 by Simon Busch <morphis@gravedo.de> (From OE-Core rev: 49c43e2bea64f70a22a2741ea280bd1c13e5110a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4-native: restore build of uic3, qdbuscpp2xml and qdbusxml2cppPaul Eggleton2011-08-151-1/+4
| | | | | | | | | | | These tools are required to build some external utilities (such as those found in KDE). We avoid building qdbus and qdbusviewer as these are not required. (From OE-Core rev: 11f456f4f5c1d4b2aad93856ff6cbb4d7ce3969e) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: replace qt4-tools-native with qt4-nativePaul Eggleton2011-08-152-7/+15
| | | | | | | | | | | | | Installs native versions of the Qt libraries in addition to the tools, allowing compilation of external native tools that require Qt libs. PROVIDES qt4-tools-native so it should be a drop-in replacement. Developed with reference to the corresponding qt4-native changes in OE. (From OE-Core rev: a6fd9b8104e8d3cbfce0376811aeeef746ad6889) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: Modify ldd script according to multilib config.Lianhao Lu2011-08-154-1/+84
| | | | | | | | | | | | | Bug fixing [YOCTO #1236]. 1. Collect all the values for RTLDLIST for the current multilib configuration to modify the ldd scripts. 2. Collect all the values for KNOWN_INTERPRETER_NAMES for the current multilib configuration. Set the correct ld.so names for ldconfig to deal with the multilib configuration. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils.bbclass/multilib.class: Added misc supporting functions.Lianhao Lu2011-08-154-1/+39
| | | | | | | | | | | | | | | | 1. Added variable MULTILIB_VARIANTS to store all the instance variants for multilib extend. 2. Added function all_multilib_tune_values to collect the variable values for all multilib instance. 3. multilib bbclass handler will save the orignal value of all variables defined in MULTILIB_SAVE_VARNAME. (From OE-Core rev: 18bba910e04bff75460f408e4557d4bae21ad592) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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] (From OE-Core rev: 5fc1e6d27f52e2032aa7a8ca20bb90d939d03c77) Signed-off-by: Lin Tong <tong.lin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: Added new recipe 4.96 and removed 4.82 versionNoor Ahsan2011-08-155-73/+2
| | | | | | | | | * Added new recipe 4.96 and removed 4.82 version and its files. (From OE-Core rev: 000d5244e21837338614ef4450f54c8744fffcd6) Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rt-tests: use an explicit commit IDDarren Hart2011-08-121-1/+2
| | | | | | | | | | Using a tag, like v0.73, forces network access to resolve a commit ID. Use the corresponding commit ID in the recipe. (From OE-Core rev: d126e22f6b3f27196144f87e22b36ebccd6dea65) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-ppce5500: Add a set of tune files for PowerPC e5500 coreKumar Gala2011-08-122-0/+30
| | | | | | | | | | | | | | | The PPC e5500 is a 64-bit core so we add both a 32 and 64-bit set of tune files to allow for: * pure 32-bit build * pure 64-bit build * 32-bit base, 64-bit multilib * 64-bit base, 32-bit multilib (From OE-Core rev: 60286934715c5f7f27d539f4a43a7226488ef963) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-ppc: Update to pass glibc configure option to get cpu specific supportKumar Gala2011-08-122-2/+8
| | | | | | | | | | | | | | | We need --with-cpu based to glibc to get proper support on 603e & e500mc to pickup proper math libs to deal with sqrt. These core do not implement the fsqrt[s] instructions that the normal PPC math libs utilize. This causes use to not set AVAILTUNES specifically to the sub-arch only as we arent generically compatiable. (From OE-Core rev: 078699cb8c707830c86b55787fd535d87171388e) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-rt: add a README documenting the contents of recipes-rtDarren Hart2011-08-121-0/+13
| | | | | | | | | Document the non-obvious bits of using the recipes-rt recipes. (From OE-Core rev: 2c86e636972bd02b35523b36bc81a2765f430f70) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Move meta-rt recipes to oe-core (meta)Darren Hart2011-08-125-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | Keeping the rt recipes in their own layer has led to maintenance issues, particularly with the linux-yocto-rt recipes. As these kernel types are part of the same linux-yocto source repository, it seems reasonable to include the rt kernel recipes alongside the standard recipes. A new recipes-rt directory for the other recipes provides adequate separation and eliminates the need for a separate layer. As there is no meta-rt/conf/layer.conf to force the kernel, users must now specify the rt kernel in their local.conf or in the machine.conf: PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" The merging of the rt recipes into the core also eliminates complications with multiple layer dependencies for new BSP layers. Having to either separate RT BSPs from standard BSPs or force users to add meta-rt to bblayers even when not building an RT BSP (because the RT BSPs in the same layer would fail to parse without it) was sub-optimal at best. (From OE-Core rev: bafaaad264fe3e745c714951ddcf2784d33b755a) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: Fix attemptonly and suggest packagesMark Hatle2011-08-121-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1325] [YOCTO #1366] Packages that were in the PACKAGE_ATTEMPTONLY and SUGGESTS were not being properly found, which was causing image creation failures. In PACKAGE_ATTEMPTONLY, when an item was not found, it caused an error. This should have been a note, followed by skipping the package. The SUGGESTS processing was simply broken. It was using a non-existant function, due to an apparently typo. In addition to the above, the MLPREFIX processing was not being done properly, preventing multilib packages from working in this with PACKAGE_ATTEMPTONLY. (SUGGESTS doesn't need this as the names are munged when creating the packages.) (From OE-Core rev: 4fb6723ab1ee14cf539f0ef2df63a3ee1b978de6) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-proto: update based on changes to python.m4 in automakeKumar Gala2011-08-125-25/+17
| | | | | | | | | | | | | 1. We dont need the aclocal patch as this will be handled by automake 2. We need to update xcb-proto.pc.in to know about ${libdir} since we'll end up with something like: pythondir=${libdir}/python2.6/site-packages (From OE-Core rev: 4de2ba0eeaefbd6813443c6906108b815af9e109) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: d300cfe603b00fc963f7ed874563016fcbcc47a8) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-install.sh: Fix make partition and make file system issuesMei Lei2011-08-121-3/+3
| | | | | | | | | | | | | | | | [YOCTO #1151] Change the offset from the beginning of the disk to aligne the blocks. In this script, we use mkfs.ext3 to create file system after partition, but we use mkpartfs to create file system repeatly, and get some warnings about choose another specific tools to create file system for reliability. So use mkpart instead of mkpartfs and only use mkfs.ext3 to create file system. (From OE-Core rev: 67c9804e0416defb7c3f69bd02bbae3710e5be0a) Signed-off-by: Mei Lei <lei.mei@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm.bbclass: Update the platform config and --targetMark Hatle2011-08-121-3/+11
| | | | | | | | | | | | | | | | | When constructing the /etc/rpm/platform file, we need to ensure that the any, all, and noarch platforms will allow any "linux" variant to be installable, not just matching variants.. i.e. arm-oe-linux-gnueabi should be able to install noarch-oe-linux Also ensure that we pass the full canonical arch via the --target= parameter. This allows us to define the proper platform settings for all packages. (From OE-Core rev: c6bb9445de90cfb46db9c40842dbe1bfbb5b8ce8) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.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. (From OE-Core rev: 25904ad2bdeadda9189805bb7a210eafe5795024) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: update SRCREVs for preempt-rt support + build fixesBruce Ashfield2011-08-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the SRCREVs for linux-yocto to pickup a series of changes that were made to support the build/boot of preempt-rt on 3.0.x. 7782fc6 routerstationpro: remove CONFIG_PREEMPT* definitions b51300c meta/rt: sugarbay preempt-rt support 735711e meta/rt: common-pc[-64] preempt-rt no branch fix 53026bf meta/rt: jasperforest preempt-rt support 99bc260 meta/rt: fri2 preempt-rt support e746ab8 meta/rt: fishriver preempt-rt support fa1b73f meta/rt: emenlow preempt-rt support 1f686ab meta/rt: crownbay preempt-rt support 64a5069 meta/rt: arm-versatile-926ejs preempt-rt support 7f827a1 meta/rt: mti-malta32-be preempt-rt support 930a983 meta/rt: qemu-ppc32 preempt-rt support 367fc55 meta-rt: rsp preempt-rt support b8a62ea meta/rt: mpc8315 preempt-rt support b5f9daa meta/rt: beagleboard preempt-rt support 1e6e9eb meta/rt: use CONFIG_PREEMPT_RT_FULL for 3.0 kernels eb5a06b boot: move -Os patch to standard branch c692a23 meta/rt: remove explicit patch references 8a2ac6b meta/rt: updating to rt8 76b3679 meta: atom-pc update definition to re-use preempt-rt (From OE-Core rev: 4cb49cc3212fb110bd90f29e3644df5e7030a359) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cross: also empty PACKAGES_DYNAMICChris Larson2011-08-121-0/+2
| | | | | | | (From OE-Core rev: 6135bfb1c462a6ce1d6f2e54c6d1b7609fb7c76d) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: allow setting a section for locale packagesChris Larson2011-08-121-0/+5
| | | | | | | (From OE-Core rev: 521cab0239352e3b4316183c20e63cc06f5ae92b) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package: include SECTION in the pkgdataChris Larson2011-08-121-0/+1
| | | | | | | (From OE-Core rev: 47664bb8309f5d791d7aa040a38c7324cb4f14e6) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity: shift the required utils into a variableChris Larson2011-08-121-1/+3
| | | | | | | (From OE-Core rev: 4b766d82b15f9821a8c7299826799fad9bb88666) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: inherit relocatableChris Larson2011-08-121-0/+2
| | | | | | | (From OE-Core rev: 6a7a5381357861a098640c42ba2f894213086b41) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane: add linux-gnu to the platform dataChris Larson2011-08-121-0/+3
| | | | | | | (From OE-Core rev: 206f1501b0ccdd971ee40f3d112b4756077a9af9) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: don't strip the main binaryChris Larson2011-08-122-2/+3
| | | | | | | | | With this, we get a useful busybox-dbg package. (From OE-Core rev: 95c9834a358118f322159139950dd9a92f561e88) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample: Cleanup and improveRichard Purdie2011-08-121-0/+6
| | | | | | | | | | | | | | | | | | | | | local.conf is the first thing anyone new to the project sees. Over time it has built up a ton cruft and isn't even accurate in places. This patch: * Moves things to local.conf.sample.extended if a new user is unlikely to need to immediately care about the options * Reorders the file to be more intuitive to a new user * Moves certain default values to default-distrovars.inc in cases where most users wouldn't want to change the value * Adds large blocks of text to explain what an option does. There have been too many cases of a user not realising what some of these settings do and how they can use them to their advantage (like DL_DIR for example). (From OE-Core rev: a0ccb33ac5a2231c979c3369159f763dff1e0a2e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: respect python-dir setting EXTRA_OECONFKumar Gala2011-08-112-2/+2
| | | | | | | | | | | | Don't just assign but append to EXTRA_OECONF so we maintain python-dir setting fo EXTRA_OECONF. This fixes issue if libdir is set to something like '/usr/lib64'. (From OE-Core rev: a92d56058b21913570bb17ae416c3b00afce055e) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Magic file path should be given for rpmbuildjani.uusi-rantala@nokia.com2011-08-111-0/+2
| | | | | | | | | | | Magic file path should be given for rpmbuild in _rpmfc_magic_path define so that build system default file is not used by accident. Not doing this caused many packages to fail building in several systems. Fixes [YOCTO #1358] Signed-off-by: Jani Uusi-Rantala <jani.uusi-rantala@nokia.com>
* chkconfig: remove link for update-alternatives to disambiguateXiaofeng Yan2011-08-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [YOCTO #936] "update-alternatives" installed: one in /usr/sbin from chkconfig \ (symlinked to "alternatives"), and the other in /usr/bin \ from update-alternatives-cworth. It appears for whatever reason that the one from chkconfig is run \ during postinst processing but if you run the script from the command \ line it gets the other one. this is due to differences in the PATH environment variable. The following is the sequence to call scripts after kernel booting inittab -->rcS -->./S40networking(PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin) -->S98configure(call rpm-postinstall) #"/usr/sbin" is found prior to "/usr/bin", so update-alternatives from chkconfig is run in this script -->rc5.d -->profile(profile:4:PATH="/usr/local/bin:/usr/bin:/bin" profile:15: PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin) #"/usr/bin/" is found prior to "/usr/sbin", so update-alternatives from update-alternatives-cworth is run in this script So I remove the symlink (update-alternatives linked to chkconfig). The one from update-alternatives-cworth is left alone. (From OE-Core rev: f3a52a73251b26ead15abd4910dc82c1011ab852) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate: Add level 2 debug so its possible to see what sstate is doingRichard Purdie2011-08-111-2/+8
| | | | | | | | | | | | Currently its hard to figure out if/when sstate is checking for possible packages to speed up builds. This patch adds level 2 debug output which better indicates what files are being searched for an why. [YOCTO #1259] (From OE-Core rev: a752b23767189f2678367e47ca0b41f49c56a631) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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. (From OE-Core rev: 970af6b09e1d69041b0d82fa56ace19543405eb1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc: force GLIBC_EXTRA_OECONF to not be uset for nativesdkKumar Gala2011-08-103-2/+3
| | | | | | | | | | | Don't use GLIBC_EXTRA_OECONF for the nativesdk builds. Easiest solution is to just override it settings. Otherwise we might pickup configure options ment for the target build. (From OE-Core rev: a1f87ec65fa1a6d5ce9a010548dbe7c01ab9b711) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe.terminal: improve how we spawn screenChris Larson2011-08-101-1/+6
| | | | | | | | | | | | - Name the screen session 'devshell', to avoid confusion if running bitbake itself under a screen session. - Display a warning message when spawning screen, so it's clear to the user that screen has been run (otherwise do_devshell just appears to hang). (From OE-Core rev: 13e01d29d14e7e7403d0c45c5699ea9160243868) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rework how the devshell functionsChris Larson2011-08-103-18/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | In the new implementation, each known terminal is defined as a class in oe.terminal, as a subclass of bb.process.Popen. terminal.bbclass wraps this functionality, providing the metadata pieces. It obeys the OE_TERMINAL variable, which is a 'choice' typed variable. This variable may be 'auto', 'none', or any of the names of the defined terminals. When using 'auto', or requesting an unsupported terminal, we attempt to spawn them in priority order until we get one that's available on this system (and in the case of the X terminals, has DISPLAY defined). The 'none' value is used when we're doing things like automated builds, and want to ensure that no terminal is *ever* spawned, under any circumstances. Current available terminals: gnome konsole xterm rxvt screen (From OE-Core rev: 69f77f80965fa06a057837f8f49eda06855c4086) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image: adjust to use the new IMAGE_FEATURES supportChris Larson2011-08-101-60/+17
| | | | | | | (From OE-Core rev: fa7fbc9695829f7fa981b16d9559e9e984494e09) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: add support for generally useful {dev,doc,dbg}-pkgs featuresChris Larson2011-08-101-2/+32
| | | | | | | (From OE-Core rev: 7fd8fe53072d3bebb31da4e556878d3c25a10478) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: implement IMAGE_FEATURESChris Larson2011-08-101-3/+14
| | | | | | | | | | | | | | | | | IMAGE_FEATURES is analagous to DISTRO_FEATURES and MACHINE_FEATURES, for root filesystem construction. Currently, the only supported features are any defined package groups, as used by the oe.packagegroup python module. Example usage: PACKAGE_GROUP_myfeature = "vim iptables" IMAGE_FEATURES += "myfeature" (From OE-Core rev: f9f4416a8cfbd37c7d3a8eb19ee82820e2e6b38c) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tune-x86-64: Fix DEFAULTTUNE order so weak default to overrides the ↵Richard Purdie2011-08-101-1/+2
| | | | | | | | arch-ia32 version (From OE-Core rev: 34f2b2a207df8013f70a6de5a5f7e911ee2a8d71) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Ensure nativesdk package extension is handled correctlyRichard Purdie2011-08-101-6/+9
| | | | | | | | | | | | | This avoids the warning: NOTE: multiple providers are available for runtime libsqlite3-dev (sqlite3, sqlite3-nativesdk) NOTE: consider defining a PREFERRED_PROVIDER entry to match libsqlite3-dev until such times as we convert nativesdk to use a prefix like multilib. (From OE-Core rev: 8fb81f538c80735d32db86a20e7f46b3902b4e75) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base.bbclass: Add MULTI_PROVIDER_WHITELIST manipulation for multilibRichard Purdie2011-08-101-0/+14
| | | | | | (From OE-Core rev: 4dbc340c63a86879fa727908cfb502f299f5d21b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>