summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2009-10-27package bbclass: don't strip static libs so aggressivelyKoen Kooi1
2009-10-26gitver.bbclass: fix git dependency trackingMichael Smith1
.git/HEAD doesn't usually change on a commit, but the ref it points to (e.g. .git/refs/heads/master) should. Handle this and another couple of cases: if a tag is added without a new commit, or if the ref is in packed-refs. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <clarson@kergoth.com>
2009-10-26update-rc.d.bbclass: make prerm and postrm dpkg-compatibleJeremy Lainé1
* prerm : only stop service at the "upgrade" and "remove" steps * postrm : only remove symlinks at the "remove" and "purge" steps, after checking the init script no longer exists
2009-10-23image bbclass: tweak lingue scriptKoen Kooi1
2009-10-13package.bbclass: export subpackage individual version, if different from mainDenys Dmytriyenko1
Fixes the wrong versioned runtime dependency for shlib subpackages with own versions. Consider this: PACKAGES = "libfoo libbar" PV_libfoo = "1" PV_libbar = "2" PV = "3" That will generate libfoo_1 and libbar_2 packages, but version 3 will be exported in shlibs database, leading to the following versioned runtime dependencies: RDEPENDS: libfoo (>=3) libbar (>=3) This fixes the problem. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org>
2009-10-10classes: Use linux-gnuspe instead of non existing linux-speKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-10conf: Decosmetize TARGET_OSKhem Raj2
* This patch reverts the cosmetic change which used linux-gnu instead of linux Signed-off-by: Khem Raj <raj.khem@gmail.com> Tested-by: Holger Freyther <zecke@selfish.org>
2009-10-07insane.bbclass: Use linux-gnu for TARGET_OSKhem Raj1
* Add linux-uclibcspe Signed-off-by: Søren Holm <sgh@sgh.dk> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-06siteinfo.bbclass: Remove spurious print.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-06siteinfo.bbclass: Fix powerpc triplets and removed unused ones.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-06siteinfo: Add common-mips site file.Khem Raj1
* After renaming the target triplet the file names needs to be renamed because they are used in get_siteinfo_list Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-10-04dietlibc.class: disable rewriting of configure stuff for nowHenning Heinold1
2009-10-04dietlibc: update to version 0.32Henning Heinold1
* switch to .inc and PR_INC
2009-10-02package bbclass: fix static libs logicKoen Kooi1
2009-10-02gnome bbclass: tweak mime packagingKoen Kooi1
2009-10-01package bbclass: strip static libs as wellKoen Kooi1
2009-09-24enlightenment: bump SRCREVKoen Kooi2
* runtime tested on angstrom/beagleboard * upgrade paths intact and working
2009-09-20kernel.bbclass: fix ownership inside the modules tarballDenys Dmytriyenko1
Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Khem Raj <raj.khem@gmail.com>
2009-09-18package_ipk.bbclass: force recreation of DEPLOY_DIR_IPK. The dir is removed ↵Andrea Adami1
wiping tmp.
2009-09-18packaged-staging: fix populate_staging_postamble after staging-split by base ↵Andrea Adami1
package arch (introduced by f876463527bd9ae92a09159fdb4899b4a4d19121)
2009-09-17Avoids overwriting Python's built-in `str' in get_devtable_listMario Domenech Goulart1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-09-14cross.bbclass: Override BASEPKG_HOST_SYSKhem Raj1
* BASEPKG_HOST_SYS from bitbake.conf is set as if packages were being built for target. So we need to override it for cross packages. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Andrea Adami <andrea.adami <at> gmail.com>
2009-09-03OpenEmbedded: Switch to using linux-uclibceabi and linux-gnu for TARGET_OSKhem Raj3
* Bump the ABI_LAYOUT. Build from scratch will be needed. * Replace using TARGET_OS from linux->linux-gnu. * Replace using linux-uclibcgnueabi->linux-uclibceabi. * Add 'eabi' to DISTRO_FEATURES (only for minimal and micro). * Use eabi and BASE_PACKAGE_ARCH to compute real TARGET_OS. * Fix the micro conf to get console image building. * Fix the linux-uclibcgnueabi overrides in all recipes. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Phill Blundell <pb@reciva.com> Acked-by: Michael 'Mickey' Lauer <mickey@vanille-media.de>
2009-09-02gnome bbclass: remove to more auto generated cruft that breaks package ↵Koen Kooi1
management
2009-09-01package_deb: create md5sums control filesMichael Smith2
These are created with the package and get installed in /var/dpkg/info. Afterward it's a great way to find modified files for backup with a little shell script magic. It feels a bit weird to still use MD5, but that seems to be the convention in the Debian world. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Chris Larson <clarson@kergoth.com>
2009-08-30base.bbclass: Pass in PATH to popen.Khem Raj1
On Mac OSX its not able to find md5sum if path is not passed to os.popen shell. Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2009-08-27Add task-metadata-track.bbclass, for tracking task changes to metadata.Chris Larson1
This class uses events to capture the state of the datastore when the task starts, and after it completes. It diffs those captured states, and emits messages showing which variables changed, and what their values were changed to. It provides a mechanism to blacklist variables you expect to change, both globally and on a per-task basis. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-08-26srctree: prefix messages with ${PF} and kill do_package hacks.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-26base.bbclass: add cleanall task.Chris Larson1
Can be particularly useful when using multiple srctree recipes. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-26srctree, clean: cleanup & split out do_clean bits into clean.bbclass.Chris Larson2
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-26srctree: completely reimplement the task merging into do_populate_staging.Chris Larson1
This fixes issues seen with the use of kernel.bbclass, so in existing source tree kernel builds work happily now. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-26srctree.bbclass: Don't automatically use git clean.Chris Larson1
This should be an opt-in feature. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-26base.bbclass: Remove redundant import of subprocess and signal.Khem Raj1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-25Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded ↵Khem Raj3
into org.openembedded.dev
2009-08-26gitver.bbclass: add initial version.Chris Larson1
This provides a GITVER variable which is a (fairly) sane version, for use in ${PV}, extracted from the ${S} git checkout, assuming it is one. This is most useful in concert with srctree.bbclass. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-08-26srctree.bbclass: add initial version.Chris Larson1
This enables operation inside of an existing source tree for a project, rather than using the fetch/unpack/patch idiom. By default, it expects that you're keeping the recipe(s) inside the aforementioned source tree, but you could override S to point at an external directory and place the recipes in a normal collection/overlay, if you so chose. It also provides some convenience python functions for assembling your do_clean, if you want to leverage things like 'git clean' to simplify the operation. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-08-26package_ipk.bbclass: don't choke on empty SRC_URI.Chris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-08-24Merge branch 'org.openembedded.dev' of git@git.openembedded.org:openembedded ↵Khem Raj4
into org.openembedded.dev
2009-08-24patch.bbclass: Add "git" patchtool mechanism, which uses git-applyDale Farnsworth1
It can be selected by setting PATCHTOOL = "git". This is useful because git-apply honors the permissions information produced by git-format-patch. Signed-off-by: Dale Farnsworth <dfarnsworth@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-08-24kernel.bbclass: Set EXTRA_OEMAKE to null for kernelDale Farnsworth1
Currently the only thing in EXTRA_OEMAKE is '-e MAKEFLAGS='. We don't want to overide the kernel's Makefile variables from the environment. It caused the passed -j<N> parameter from PARALLEL_MAKE to be ignored. Signed-off-by: Dale Farnsworth <dfarnsworth@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Denys Dmytriyenko <denis@denix.org>
2009-08-24kernel.bbclass: Install & package symvers as /boot/Module.symvers-<ver>.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Michael Smith <msmith@cbnco.com>
2009-08-24distutils-common-base.bbclass: only raise missing python-native error if ↵Chris Larson1
python-native isn't in DEPENDS. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Michael 'Mickey' Lauer <mlauer@vanille-media.de>
2009-08-24mesa-dri: move tls configure logic to a classMichael Smith1
Will allow reuse by xorg-xserver. Signed-off-by: Michael Smith <msmith@cbnco.com>
2009-08-23base.bbclass: Replace os.system with subprocess call.Khem Raj1
Often gzip is reporting broken pipe errors with do_unpack of tar.gz files. If you use the commands described above to extract a tar.gz file, gzip sometimes emits a Broken pipe error message. This can safely be ignored if tar extracted all files without any other error message. We do not let python install its SIGPIPE handler and use subprocess call to invoke the command. This is based on the following python bug report. http://bugs.python.org/issue1652 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-08-22kernel.bbclass: stage more include files for x86 in 2.6.27+Michael Smith1
Some packages include <linux/types.h>, which requires <asm/types.h>. Supplement b6220af33a70d96345dea130005ce842eeadfdf5 to copy files from arch/x86/include/asm to include/asm-x86. Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Roman I Khimov <khimov@altell.ru>
2009-08-19src_distribute_local: Change cp -f to cp -fr to account for directories.Jeremy Puhlman1
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19src_distribute: force do_fetch execution in do_distribute_sources.Chris Larson1
Works around src_distribute failures with the use of packaged staging. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19src_distribute*.bbclass: cleanup, revamp parts, distribute all sources.Chris Larson2
- Kill the big shell function with the case statement used in _local in favor of a set of bitbake variables, with the appropriate one selected as SRC_DISTRIBUTECOMMAND. - Add and use SRC_DISTRIBUTE_DLONLY to toggle distribution of all sources versus just those downloaded to DL_DIR. This variable expects to be set to an integer, anything but 0 will enable dlonly operation. This is disabled by default. - Add a more sanely named distribute_sources_all, and make distsrcall depend on it, for compatibility. - By default, distributes the sources into ${SRC_DISTRIBUTEDIR}/${LIC}/${PN}/. - Move some _local specific bits, like use of SRC_DISTRIBUTEDIR, out of the main class. - Set a "LIC" var along with the "SRC" when running SRC_DISTRIBUTECOMMAND, to facilitate the above. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19devshell.bbclass: set a default for XAUTHORITY and export ↵Chris Larson1
DBUS_SESSION_BUS_ADDRESS. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-08-19package_rpm: don't run against native/cross recipes, explicitlyChris Larson1
In the past, it only avoided adding the rpm-native/fakeroot-native deps if PACKAGES is empty, but unfortunately some native recipes have PACKAGES set to non-empty, so let's explicitly check for native/cross. Signed-off-by: Chris Larson <clarson@mvista.com>