summaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2010-12-08removed unused var AUTOTOOLS_STAGE_PKGCONFIGFrans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Acked-by: Richard Purdie <rpurdie@rpsys.net> Acked-by: Andreas Oberritter <obi@opendreambox.org> (on irc)
2010-12-06e-base: bump EFL_SRCREV for beta3Martin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-02e-base: bump SRCREVMartin Jansa
* illume indicator was fixed Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-02kernel.bbclass: put bluez-dtl1-workaround to DEPENDS directlyMartin Jansa
* DEPENDS_kernel-module-dtl1-cs aren't probably included in run queue * RDEPENDS_kernel-module-dtl1-cs probably also doesn't put it to run queue, because kernel-module-* are created by PACKAGES_DYNAMIC += "kernel-module-*" so not even known before even building kernel, but does work ok in runtime * bluez-dtl1-workaround is small and fast to build so won't hurt to build even when kernel doesn't have this bluez module enabled in defconfig Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-02e-wm,efl: create e-base.bbclass with common settings and EFL_SRCREVMartin Jansa
* include it from e.bbclass, efl.bbclass and now also python-efl.inc * also use BPN instead of "${@bb.data.getVar('PN', d, 1).replace('-native', '')}" Acked-by: Klaus Kurzmann <mok@fluxnetz.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-11-26sdk.bbclass: Define target_includedirKhem Raj
This var is used in configuring gcc recipes so we define it here for sdk as well best is to have this defined globally so we can configure target cross and sdk recipes properly Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-11-26qt4x11: set QT_LIBINFIX and QT_DIR_NAMEEric Bénard
this will fix the following issue with qwt 5.2.1 where obj dir is: work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj${QT_LIBINFIX}/ instead of : work/armv4t-oe-linux-gnueabi/qwt-5.2.1-r0/qwt-5.2.1/src/obj/ From: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-11-22handle PACKAGE_ARCH change in an amend.incEric Bénard
* setting PACKAGE_ARCH = "${MACHINE_ARCH}" in an amend.inc actually leads to a package with the correct machine arch but the work/stage/stamp dirs are not correct because MULTIMACH_ARCH is not updated after amend.inc is parsed. * this patch : - factorizes the code which compute MULTIMACH_ARCH in base.bbclass - updates MULTIMACH_ARCH if required by an amend.inc Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Chris Larson <chris_larson@mentor.com> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2010-11-21utils.bbclass: add dirs/pushd/popdChris Larson
These can be useful, and even necessary in some tasks, yet are bash, so let's ensure they're available so we can avoid the /bin/sh is bash requirement in the future. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-18pkgconfig.bbclass: don't blindly install every .pc fileAndreas Oberritter
* Instead of installing the file, print a log message. Later, this function could be removed. * .pc files must be installed explicitly to avoid causing build problems. E.g. libsoup-2.4-gnome.pc must not be installed if libsoup-2.4 is built without gnome support, because gstreamer would try to link against libsoup-2.4-gnome. * Fixes for lua5.1 and libid3tag, which install their own .pc files from OE, have been submitted. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-11-18help2man: Add native recipe, drop check for being provided.Tom Rini
With a recent change to auto* to not build the man pages for native recipes, we can make build progress without help2man being there already. This adds help2man to local.conf.sample as an example of something that is assumed to be provided, drops the sanity.bbclass check and adds a help2man-native recipe. In order to catch the cases where help2man is likely to have been an implicit requirement before we add it to the list that autotools brings in. Signed-off-by: Tom Rini <tom_rini@mentor.com> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-16lib_package.bbclass: fix packaging of static libs, inherit binconfigAndreas Oberritter
* Package ${libdir}/*.a and /lib/*.a into ${PN}-static instead of ${PN}-dev * Although it packaged ${bindir}/*-config into FILES_${PN}-dev, it did not include the required mangling applied by binconfig.bbclass. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Tom Rini <tom_rini@mentor.com>
2010-11-15checkbashisms: add nicer error when checkbashisms isn't availableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-15checkbashisms: add initial class to run against ${S}Chris Larson
Currently requires that you already have checkbashisms available somewhere in your PATH. Runs against all '#!/bin/sh' scripts in ${S}, to attempt to find and fix issues with /bin/sh not being bash. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-14xilinx-bsp.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14sourceipk.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14rootfs_ipk.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14packaged-staging.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14native.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14module_strip.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-14cpan_build.bbclass: fix sh equality operatorAndreas Oberritter
Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Acked-by: Michael Smith <msmith@cbnco.com>
2010-11-12newcollection: clean up, and work for those not using collections.incChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-12newcollection: handle globs in file: urisChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-12newcollection: fix host/path issueChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-12newcollection.bbclass: add, courtesy MontaVista Software, Inc.Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-08image: don't include glibc-localedata-i18n when IMAGE_LINGUAS is emptyChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-11-08srctree: ensure setscene is still runChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
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>