aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2010-11-05meta.bbclass: Exclude meta recipes from world buildsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-11-04metadata_scm: use rev-parse rather than show-refChris Larson
show-ref will show all matching refs, so a "show-ref HEAD" will show not just the local HEAD, but the fetched remote ones as well. This isn't what we want for this function, so change it to use rev-parse with --verify, and also change it to use --short, to shorten the hash to a more palatable length. Signed-off-by: Chris Larson <chris_larson@mentor.com> Acked-by: Tim Harvey <harvey.tim@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-11-04srctree: don't merge tasks if using BChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-04base.bbclass: rename base_eventhandler to build_summaryChris Larson
This better reflects what the event handler is doing -- it's no longer a pile of random base event handling bits, it now just displays a build summary at build start. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-04own-mirrors.bbclass: allow mirroring of scm fetched packagesEric BENARD
this way, it's possible to setup a local webserver (for example using busybox httpd -p "8081" -h backuped_download_dir) serving a presiously fetched download directory and to build wihout the need for an internet access this can also be used when connected to know to know which packages are missing from the local mirror's directory (and thus are fetched from internet as a fallback), it's possible to run the server this way : busybox httpd -p "8081" -h backuped_download_dir -vv -f | grep -B 1 response:404 to get the name of the missing packages. Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2010-11-02base.bbclass: fix build error if building with bitbake 1.8.xDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
2010-10-27base: drop rebuild, fix eventhandlerChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-27gitver: add GITSHA variableChris Larson
There's a case where git describe produces output which is not pleasant, to put it mildly, and it's better to just set PV to "0.0+${GITSHA}" or similar, including the short form of the commit hash for HEAD. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-27clean: rename clean_workdir to remove_workdirChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-27gitver: fix non-symbolic HEAD refChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-27efl.bbclass: improve packaging a bitMartin Jansa
* include dbus service config if available * include plugins from //plugins/ (ie from ethumb) * include edje modules (ie from emotion) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-26Handle .lz/.tar.lz URIsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-26oestats-client.bbclass: Fix "AttributeError: 'NoneType' object has no ↵Andreas Oberritter
attribute 'startswith'" if OESTATS_SERVER is not set Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-25siteinfo.bbclass, mips64: Clone mips-common to mips64-common.Graham Gower
Orbit has alignment of long = 4 bytes, which is only true of 32 bit mips. Rename mip64el-linux to mips64el-linux while here. Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-25utils.bbclass: remove tests for checksums.iniFrans Meulenbroeks
reauthored as the original patch submitted to the mailing list did not appy any more. This original patch was: Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-24autotools.bbclass: Use STAGING_DIR_HOST for libtool sysrootKhem Raj
${STAGING_DIR}/${MULTIMACH_HOST_SYS} will point to machine dir for machine specific recipes like shadow, where it should point to target sysroot, which is the correct location of sysroot. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-23autotools.bbclass: Specify a value of sysroot instead of asking the compilerKhem Raj
If we just use --with-libtool-sysroot then it asks the compiler at configure time to supply the sysroot which will not work with external toolchains because they may have different default sysroot encoded into them. Therefore we specify the sysroot so the configure can use that value and not depend upon compiler to supply one. We do not do it for native recipes as the native compiler should fall back to /usr prefix and not solely depend on sysroot otherwise we end up staging everything in native sysroot before we start to build target recipes Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-22autotools.bbclass: Use --with-libtool-sysroot instead of --with-sysrootKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-21Various fixes for cp argument portabilityChris Larson
2010-10-21oe_libinstall: handle .dylibChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-21patch.bbclass: avoid traceback for CmdError at resolveChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-20base.bbclass: depend on mercurial-native if SRC_URI contains hg://Eric BENARD
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-19autotools.bbclass: Move --with-sysroot to CONFIGUREOPTSKhem Raj
* This is added to CONFIGUREOPTS so it can be filtered out when needed. Recipes like gcc need this to be filtered Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-19openmoko: obsolete old openmoko classes and recipes using thoseMartin Jansa
Acked-by: Michael 'Mickey' Lauer <mickey@openmoko.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-19openmoko: obsolete tasks and images, openmoko as distribution was obsoleted ↵Martin Jansa
on Aug 10, 2010. Acked-by: Michael 'Mickey' Lauer <mickey@openmoko.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-19oestats-client.bbclass: send USERDISTRO valuePetr Štetiar
With this patch it's now possible to see the correct Angstrom distro version in the Tinderbox. Now the distribution value is always 'angstrom', with this patch it would be more detailed version 'angstrom-2008.1' for example. Signed-off-by: Petr Štetiar <ynezz@true.cz> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-19module bbclass: add KERNEL_DIR for ubunutu style modulesKoen Kooi
2010-10-19image bbclass: fix install_linguas usage on shared buildserversKoen Kooi
2010-10-18opie.bbclass: Define OPIE_SRCREV and OPIE_GIT_PV if not already definedKhem Raj
* Without this the distros which do not include preferred-opie-git-versions.inc end up in parsing errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-10-18package.bbclass: copy dotfiles in root D to PKGDMichael Smith
The previous system("cp %s/* ...") missed dotfiles/dirs at the top-level. Signed-off-by: Michael Smith <msmith@cbnco.com> Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Khem Raj <raj.khem@gmail.com> Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Cc: Graham Gower <graham.gower@gmail.com> Cc: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-10-18Revert "package.bbclass: copy dotfiles in root D to PKGD"Michael Smith
This reverts commit 5fc5e69f026bccc43cb5e5a46da63e3dd148be3d. lirc do_package was hanging because shutil.copytree() doesn't handle named pipes. Thread: http://news.gmane.org/find-root.php?message_id=%3cAANLkTikYuii4mEWxWh7HahgFVzYgaUz%2dDADyUyibqa4d%40mail.gmail.com%3e http://bugs.python.org/issue3002
2010-10-16utils, oe.utils: add 'uniq' functionChris Larson
Ignore duplicates in an iterable. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-16utils.bbclass: add name to SRC_URI[{md5, sha256}sum]Andreas Oberritter
* When a checksum is missing or invalid, print strings which can be copied into a recipe without modification. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-10-15Fix class OVERRIDES orderChase Maupin
* Changed the OVERRIDES settings in the classes to use the new ordering. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-10-14image.bbclass: use un-renamed packages in RDEPENDSChris Larson
The issue was that PACKAGE_INSTALL* get debian package renaming applied, but this renaming is outside of bitbake's knowledge. Making RDEPENDS use PACKAGE_INSTALL, therefore, caused problems when adding libraries to images directly rather than indirectly. While I'm at it, change it to ensure PACKAGE_INSTALL_ATTEMPTONLY packages also end up in RDEPENDS, not renamed. Reported-by: Tasslehoff Kjappfot <tasskjapp@gmail.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-14gnome bbclass: disable introspectionKoen Kooi
* introspection doesn't work in a cross environment
2010-10-13utils: fix popen->Popen referenceChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13utils.bbclass: add missing import of oe.processChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13gitver: add missing importChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13gitver: drop 'v' tag prefix where appropriateChris Larson
If the tag starts with 'v' followed by a number, drop the 'v' prefix. This will not be done for you if you customize GIT_TAGADJUST. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13gitver: allow tag adjustment via GIT_TAGADJUSTChris Larson
Example usage: GIT_TAGADJUST = "version[1:]" Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13oe.process: pull some common bits overChris Larson
Also update gitver to use the subprocess wrappers Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-10-13distutils-common-base.bbclass: Prepend STAGING_LIBDIR to linker library ↵Khem Raj
search path. * This was done generically in bitbake.conf this should be done on demand and distutils based recipes seem to need it. So we define it here. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-10-12package.bbclass: copy dotfiles in root D to PKGDMichael Smith
Use shutil.copytree() to copy D ("image") to PKGD ("package"). The previous system("cp %s/* ...") missed dotfiles/dirs at the top-level. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <chris_larson@mentor.com>
2010-10-12kernel bbclass: make 'kernel-modules' meta-package use RRECOMMENDS to please ↵Koen Kooi
insane.bbclass Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Graeme Gregory <dp@xora.org.uk>
2010-10-12kernel bbclass: split do_compile into do_compile and do_compile_modulesKoen Kooi
This allows recipes to insert a custom task in between building *Image and modules Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Graeme Gregory <dp@xora.org.uk>
2010-10-10insane.bbclass: If LIBTOOL_HAS_SYSROOT is set then do not check for la insanityKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-10cross.bbclass,staging.bbclass,utils.bbclass: Make sure that .la munging is ↵Khem Raj
not done for libtool > 2.4 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-10autotools.bbclass: Conditionally use autotools_prepackage_lamanglerKhem Raj
* autotools_prepackage_lamangler is not needed with libtool 2.4+ * add --with-sysroot when using libtool 2.4+ Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2010-10-09Implement 'dbg', 'dev', and 'doc' package groupsChris Larson
These allow one to include debugging, development, and documentation files for all packages installed in the image, via IMAGE_FEATURES. Signed-off-by: Chris Larson <chris_larson@mentor.com>