summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2010-06-01xfce46: remove checksum name atribute from bbclassMartin Jansa1
* ie xfce-base/libxfce4util_4.6.1.bb cannot find it's checksums anymore * commit e3df76459f7710af61d1b51066e0685c822dbe7b introduced name=archive in xfce46.bbclass without adding archive name to all recipes using xfce46 * I agree that in case someone will need additional SRC_URI item in recipe inheriting xfce46 he will have to add it to this bbclass AND update all recipes using it. * Feel free to fix it the other way around if you expect more SRC_URIs/recipe. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-05-27base.bbclass: fix issue with unpack of patches with apply=noChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27Revert "patch.bbclass: use param_bool()"Chris Larson1
This reverts commit 7cb990de933f22331cd701ecb45d1e30dd8f3c11.
2010-05-27Revert "base.bbclass: fixed 'apply=no' behavior"Chris Larson1
This reverts commit eb8ad2af3a59dc7b4c64814815fc13977efaec6b.
2010-05-27patch.bbclass: use param_bool()Enrico Scholz1
This patch replaces a complicated if statement with a more simple code. Slightly altered to use oe.utils -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27base.bbclass: fixed 'apply=no' behaviorEnrico Scholz1
After the recent change to autodetect patchfiles in SRC_URI's, files with 'apply=no' were not copied to workdir anymore. This broke e.g. dropbear which marks a patch as 'apply=no' and applies it manually. This patch evaluates content of 'apply' parameter and copies files to workdir when it is not a patch or the parameter is false. Slightly altered to use oe.utils -kergoth Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-27packaged-staging.bbclass: added missing space in find callEnrico Scholz1
Old find statement failed with something like $ find . \( -name XXX\) find: invalid expression; I was expecting to find a ')' somewhere but did not see one. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Chris Larson <clarson@kergoth.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-26patch.bbclass: fix the logic error that resulted in tcp-wrappers patch ↵Chris Larson1
application failures Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-26base.bbclass: make do_unpack also not unpack when 'apply' url parameter is setChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-26image.bbclass: Make zap_root_password to disable root's password not the ↵Khem Raj1
user root itself. * With shadow now running pwconv after commit 7c5f81b2139e55622ca2f23ff6b63438d4825d87 It converts :*: passwd entry into equivalent /etc/shadow entry :*: which in shadow means disable the account as per http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/shadow-file-formats.html As a result root can not login unless one boots into shell and then resets the password. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <clarson@kergoth.com>
2010-05-25Make the do_patch apply=yes param implicit if extension is .diff/.patchChris Larson1
For .diff/.patch you need to apply manually, you can specify apply=no. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-25Rename url params patch=<ignored>/pnum=<n> to apply={yes,no}/striplevel=<n>Chris Larson1
I think this makes the behavior rather more clear. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-23autotools.bbclass: drop 'cfgcmd' and 'Running ..' outputChris Larson1
Per discussion with Enrico Scholz, there are better ways to debug problems than this, so drop it, making it more consistent with oe_runmake and ensuring we don't see problems with spaces in arguments. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-23amend.bbclass: load *all* available amend.inc files in FILESPATH, not the firstChris Larson1
While this deviates from ordinary BBPATH/FILESPATH behavior by bitbake and OpenEmbedded, amend.inc is a special case. It's highly unintuitive for someone to create, say, files/busybox/amend.inc relative to TOPDIR, with ${TOPDIR}/files in FILESPATHBASE, and suddenly things break, because that amend.inc overrides one in an overlay. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-21packaged-staging: fixed deadlockEnrico Scholz1
Acked-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-05-20kernel bbclass: switch to u-boot-mkimage-nativeKoen Kooi1
This is a long demanded change. The u-boot-mkimage is up to date to OE standards, while the openmoko one is not
2010-05-19python-dir: raise an Exception instance, not a stringChris Larson1
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-05-18module-base.bbclass: keep PR if MACHINE_KERNEL_PR is not setEric Bénard1
Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Phil Blundell <philb@gnu.org>
2010-05-18cross.bbclass: fix build of meta-toolchainEric Bénard1
* without this bitbake meta-toolchain fails because it doesn't find who provides gdb-cross-sdk * found thanks to a hint from Phil Blundell on IRC * tested with Angstrom/ARMv5te Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-05-17cross bbclass: add extra sed for gcc 4.3.x adding -L${STAGING_LIBDIR_NATIVE} ↵Koen Kooi1
to cross libstdc++.la
2010-05-16java-native.bbclass: remove do_stage function, because of ↵Henning Heinold1
NATIVE_INSTALL_WORKS = "1" takes care
2010-05-14java-native.bbclass: silence the legacy staging msgHenning Heinold1
2010-05-14module_strip.bbclass: set KERNEL_MAJOR_VERSIONEric BENARD1
KERNEL_MAJOR_VERSION may not be set (for example when building a module) and this was preventing modules from being stripped. Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-07kernel.bbclass: fix staging of .configEric Benard1
- in staging.bb : sysroot_stage_dir does : cp -fpPR "$src"/* "$dest" which means it won't copy .config - so do the copy of .config in sysroot_stage_all_append after sysroot_stage_dir Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-06native.bbclass: Clear PACKAGES variable when using BBCLASSEXTEND (from poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06sanity.bbclass: Fix to work with old versions of bitbake for nowRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-06classes/recipes: Catch populate_staging references that were missed in the ↵Richard Purdie1
first pass Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05cross.bbclass: In sysroot_stage_all, only process src dirs if they exist.Tom Rini1
Fixes module-init-tools-cross on DISTRO=minimal MACHINE=mpc8315e-rdb Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-05-05cross/staging.bbclass: Make sure .la files get mangled and add extra ↵Richard Purdie2
mangling for problematic cross paths Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05autotools.bbclass: merge recent changes from PokyJoshua Lock1
Includes an important change to the prepackage_lamangler method which changes which directories we fix la files in to operate with the new directory layout. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05relocatable.bbclass: Handle files which don't have read/write permissionsJoshua Lock1
It's possible to have files in our sysroot which don't have the write (or in some cases even the read) bit set. Test for these and if they are not set temporarily set them so that we can chrpath the binaries. Also remove following of symlinks because if it links to a file created by the package install we already handle it when we process the sysroot. Further, by ignoring symlinks here we don't cause a build to fail when the symlink is to somewhere in the host OS. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05packaged-staging.bbclass: Remove hardcoded paths in binconfig files for ↵Joshua Lock1
target packages Amend the default PSTAGE_SCAN_CMD, as used when scanning target packages, to include binconfig scripts in the results and remove their hardcoded paths. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05gettext enhancements: Make it easier to use the right gettextJoshua Lock5
This patch adds a check to insane to ensure that gettext exists in the dependancy list when it is used in the configure.[ac|in] Further we enhance the gettext class to enable easy addition of the required gettext dependancies by inheriting the gettext class. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05relocatable: Class to post-process packages for relocatabilityJoshua Lock4
This class helps make packages relocatable by post-processing the binaries and using chrpath to set the RPATH relative to $ORIGIN. Patch also enables this post-processing for native packages and adds chrpath to the required utilties. Based on ideas from a patch from Tom Rini <tom_rini@mentor.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05packaged-staging: enhancements from Poky for fetching and relocatabilityJoshua Lock1
Firstly adds tooling from Poky to scan packages and fix up paths in libtool files, we then build on this to further post-process native packages (native, cross, sdk) and fix up any references to the STAGING_DIR in non-binary files. Secondly adds support for fetching packaged staging packages from a mirror by setting PSTAGE_MIRROR to point to the root of a pstaging directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the ↵Joshua Lock21
populate_staging task to populate_sysroot This change, pulled from Poky, makes the purpose of the staging directory more obvious and the taskname more true to what it now actually does. The layout version number is increased due to the change in layout but code to convert existing directories and insert a symlink for backwards compatibility is included. This patch also includes fixes for all recipes which reference the directory. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05packaged-staging: Fix mkdir to actually create destinationJoshua Lock1
Patch from Poky fixes fallout from recent packaged-staging fix for cross packages. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-05-05gconf.bbclass: Sync with PokyRichard Purdie1
* Only add the postinstall script header if an existing postinstall isn't set * Remove the unneeded python import * Fix the indentation in the postinstall function Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05cross.bbclass: Add special sysroot_stage_all function for cross packages and ↵Richard Purdie1
change default staging functions to non-legacy mode Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05cross.bbclass: Move target_ variable definitions from gcc recipes to main ↵Richard Purdie1
class. Cross recipes need these in general (from Poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05base.bbclass: Stage etc directory for native packages and add a ↵Richard Purdie2
use_do_install_for_stage special staging hint (from poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-05base.bbclass: Remove pointless data expand call (from Poky)Richard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-05-03autotools.bbclass: swapped calls of intltoolize + autoreconfEnrico Scholz1
Because 'intltoolize' checks whether aclocal.m4 contains a recent copy of 'intltool.m4' and it will fail when the found version is too old, 'aclocal' must be called before 'intltoolize'. I built projects it with intltool-0.40.6-r3, autoconf-2.65-r9, automake-1.11.1-r3 and gettext-0.17-r6 successfully with this change but it will require probably tests with older versions. This patch is a requirement for http://patchwork.openembedded.org/patch/1858/ because 'autopoint' from the 'aclocal' call will override 'intltool' files and build will fail then. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-05-02kernel.class : fix for recent kernel on x86Eric BENARD1
- bitbake linux for a x86 machine fails with the following message : cp: target `.../image/kernel//include/asm-x86/' is not a directory so create $kerneldir/include/asm-x86 before trying to copy something in this directory. - make headers_install fails because of missing directories in include (tested with linux 2.6.32 and 2.6.33 on x86) and missing Kbuild Signed-off-by: Eric Benard <eric@eukrea.com> Acked-by: Roman I Khimov <khimov@altell.ru>
2010-05-01vala.bbclass: Add vala-native to virtclass-native DEPENDS.Tom Rini1
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-04-30package_ipk: fix a missing paren which caused failures attempting to ↵Chris Larson1
tokenize the function Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-30image.bbclass: install_linguas don't install empty listMartin Jansa1
* in some combination of IMAGE_LINGUAS installed packages and available translations it's normal to get empty intersection in pending-locale-packages * don't call opkg install in this case, because it will fail
2010-04-28image.bbclass: create /etc/device_table from IMAGE_DEVICE_TABLESAntonio Ospite1
Right now when the 'devices' script from initscripts is called the layout specified in IMAGE_DEVICES_TABLES is lost. With this change the default behaviour when no IMAGE_DEVICE_TABLES is specified is to always use files/device_table-minimal.txt Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-04-28vala / freesmartphone: vala now also looks in the target directory for vapi ↵Michael 'Mickey' Lauer1
files We can finally inherit autotools now and remove legacy staging
2010-04-26Revert "vala.bbclass and assorted recipes: create own task for installing ↵Martin Jansa1
.vapi and .deps instead of using do_stage()" * This reverts commit a38e7ff2810e55455c7ff7b01d4882344b420e18. * It was discussed on oe-devel ML and ACKed by Mickey * Side effect of this was also: Everything rebuilt after it cannot be found when used later (NOTE: Couldn't find shared library provider for libfso-glib.so.0) and it's dropped from package RDEPENDS.