aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2011-01-10e-base: bump EFL_SRCREVMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-01-07image.bbclass: rm symlink destination via lnBernhard Reutner-Fischer
Rather than rm'ing the destination-file manually, do ln -f Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Acked-by: Roman I Khimov <khimov@altell.ru> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-07qmake_base.bbclass patch to lookup for *.pro within ${S} instead of ${B}Denis Dydychkin
qmake_base.bbclass from release-2010.12 has ability to lookup for QMAKE_PROFILES if none specified by recipe. Unfortunately it does that in ${B} directory instead of ${S}, thus it does not work if they differ. Here is suggested patch: Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-06distro/slugos: Upgrade to use gcc 4.5 and libtool 2.4Khem Raj
* Depend on sane-toolchain * Upgrade few old pinned versions * Inherit own-mirrors to define slug src mirror * nslu2-mirrors.bbclass is not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-01-06cpan.bbclass: Perform more mangling for perl pathTom Rini
On hosts where we may already be past the #! limit this is required and this is safe on the target as well. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-01-06kernel class: stage ocf directoryChase Maupin
* Added the crypto/ocf directory to the list of directories to be staged when building the kernel (if it is present) * This is required when building OCF modules that allow access to crypto hardware outside of the kernel tree. Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
2011-01-03classes/gitpkgv.bbclass: add GITPKGVTAG that uses 'git describe'Otavio Salvador
Using ${GITPKGVTAG} allows for automatic versioning based on the repository tags. For those that doesn't want to use it, ${GITPKGV} is still available. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-30classes/cpan: fix bin/script/man1/man3 installation dirsRoman I Khimov
Strange that it wasn't done before, but if some perl module wants to install man pages or some binaries or scripts they all were installed with wrong prefix. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2010-12-28perl: fix PERLCONFIGTARGET for multimach builds, move cpan varsRoman I Khimov
Multimachine builds race staging Config_heavy-target.pl to native directory. Solve that by changing PERLCONFIGTARGET variable semantics, now it will contain $TARGET_SYS. Change perl patch and stage functions accordingly. Also, move PERLCONFIGTARGET and other target-specific variable settings from cpan to cpan-base as I think they're also useful for cpan_build and anywhere else cpan-base is needed. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Khem Raj <raj.khem@gmail.com>
2010-12-28base: start leveraging oe.typesChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-28Add flags for variable typingChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-28Implement variable typingChris Larson
This implementation consists of two components: - oe.types python module, whose job it is to construct objects of the defined type for a given variable in the metadata - typecheck.bbclass, which iterates over all configuration variables with a type defined and uses oe.types to check the validity of the values This gives us a few benefits: - Automatic sanity checking of all configuration variables with a defined type - Avoid duplicating the "how do I make use of the value of this variable" logic between its users. For variables like PATH, this is simply a split(), for boolean variables, the duplication can result in confusing, or even mismatched semantics (is this 0/1, empty/nonempty, what?) - Make it easier to create a configuration UI, as the type information could be used to provide a better interface than a text edit box (e.g checkbox for 'boolean', dropdown for 'choice') This functionality is entirely opt-in right now. To enable the configuration variable type checking, simply INHERIT += "typecheck". Example of a failing type check: BAZ = "foo" BAZ[type] = "boolean" $ bitbake -p FATAL: BAZ: Invalid boolean value 'foo' $ Examples of leveraging oe.types in a python snippet: PACKAGES[type] = "list" python () { import oe.types for pkg in oe.types.value("PACKAGES", d): bb.note("package: %s" % pkg) } LIBTOOL_HAS_SYSROOT = "yes" LIBTOOL_HAS_SYSROOT[type] = "boolean" python () { import oe.types assert(oe.types.value("LIBTOOL_HAS_SYSROOT", d) == True) } Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-21sourceipk: copy over hidden files and dirschase maupin
* Copy hidden files and directories such as eclipse project files. Currently these files are not copied for the top-level directory which makes applications with eclipse project files not usable with eclipse. * Only need to copy hidden files for the top-level directory since subdirectories do not experience this problem Signed-off-by: Chase Maupin <Chase.Maupin@ti.com> Acked-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2010-12-21package ipk bbclass: store build branch and revision in ipkg metadataKoen Kooi
The ipkg metadata will look like this now: koen@dominion:/OE/angstrom-dev/deploy/glibc$ dpkg-deb -I ipk/am3517-evm/matrix-gui_1.3-r19.0.6_am3517-evm.ipk new debian package, version 2.0. size 24112 bytes: control archive= 540 bytes. 629 bytes, 13 lines control Package: matrix-gui Version: 1.3-r19.0.6 Description: Matrix GUI for Qt X11 Section: multimedia Priority: optional Maintainer: Angstrom Developers <angstrom-distro-devel@linuxtogo.org> License: BSD Architecture: am3517-evm OE: matrix-gui Homepage: https://gforge.ti.com/gf/project/matrix_gui/ Build: org.openembedded.dev/f35ab2d Depends: matrix-gui-common, libpng12-0, libfreetype6, libz1, libgthread-2.0-0, libqtwebkit4, libphonon4, libqtdbus4, libqtxml4, libqtgui4, libqtnetwork4, libqtcore4, libglib-2.0-0, libc6, libstdc++6, libgcc1 Source: svn://gforge.ti.com/svn/matrix_gui/;module=trunk;proto=https;user=anonymous;pswd='' koen@dominion:/OE/angstrom-dev/deploy/glibc$ Signed-off-by: Koen Kooi <koen@openembedded.org> Acked-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Chase Maupin <chase.maupin@ti.com>
2010-12-19package.bbclass: call PACKAGESTRIPFUNCS before populate_packagesAndreas Oberritter
Introduce run_strip_funcs() to call the functions in PACKAGESTRIPFUNCS and place it before populate_packages(). This allows users of do_split_packages() to package the .debug directories, which get created by do_runstrip(). do_split_packages() is usually prepended to populate_packages(). Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-16libc-package.bbclass: Add missing TARGET_ARCH to locale_arch_optionsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-16base: resurrect messages for bitbake 1.8Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-16efl,e-base: instruct fetcher to keep scmdata with new scmdata=keep paramMartin Jansa
* bitbake master was excluting .svn dir while creating snapshot tarballs * read http://www.mail-archive.com/bitbake-dev@lists.berlios.de/msg00880.html for details Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-15eglibc: Do not install /etc/localtimeKhem Raj
* /etc/localtime is installed by separate time zone package * Pack libcidn properly into separate package, currently the library is in separate package but symlink is in libc6 * pack nscd related files into nscd package Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-14eglibc/glibc: Use/add cross-localedef to generate localesKhem Raj
* Add recipe for cross-localedef-native * Consolidate eglibc/glibc to share common contructs in bbclass * Move common code in eglibc to eglibc.inc * By default use cross-locaedef to generate locales now instead of qemu Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2010-12-13base.bbclass: Get rid of "WARNING: Function do_build doesn't exist"Bob Foerster
Signed-off-by: Bob Foerster <robert@erafx.com> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-14Opie: switch recipes away from CVSPaul Eggleton
handhelds.org CVS is unavailable, so switch 1.2.4 recipes to split source tarballs and all remaining Opie recipes over to the Opie git repository. Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
2010-12-11srctree: create stamps for executed functionsChris Larson
Slightly altered version of the patch from Martin Ambrose, whose work in reporting this, investigating it, and determining a solution is much appreciated. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-10base: use bb.plain, not print for build_summaryChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
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>