summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
AgeCommit message (Collapse)AuthorFiles
2009-05-14Shorten some full paths printed to the user.Chris Larson1
Adds a base_path_out convenience function, which prepares a full path for display to the user. The initial implementation just makes it relative to ${TOPDIR}. This function is then used for some messages outputted to the user (packaged-staging, patch application, clean, unpack tasks). Signed-off-by: Chris Larson <clarson@mvista.com>
2009-05-14First pass of cleanup of messages outputted to the user.Chris Larson1
OpenEmbedded outputs a lot of messages that the user is likely to never care about. We should only output something when it reflects upon their recipe (i.e. unpacking their sources, applying their patches), or is quite significant or unusual. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-05-04base.bbclass: added 'gcc-3.4' to list of gcc3 versions (Debian systems)Marcin Juszkiewicz1
2009-05-03base.bbclass: check_gcc3 needs to check for gcc-3.4.6 first.Tom Rini1
Comment on what this function is used for primarily. The default gcc3-native that we build is called 'gcc-3.4.6' so look for that one first.
2009-04-30coreutils-native: make mandatory dep for all packagesRoman I Khimov1
Gives us guaranteed sane GNU coreutils on any host. Should greatly ease support for various non-GNU host systems and allow to safely remove some other native packages like 'install-native'. Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2009-04-21base.bbclass: Combine all checksum.ini files found in BBPATHPetri Lehtinen1
This makes it possible for overlays to have checksum.ini. Signed-off-by: Petri Lehtinen <petri.lehtinen@inoi.fi> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Chris Larson <clarson@kergoth.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
2009-03-23base.bbclass: rstrip the git branch/revision.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-23base.bbclass: Abort early if localpath() was unable to find a local file for ↵Chris Larson1
the url. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: Fix typo.Chris Larson1
Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-03-21base.bbclass: revert removal of base_set_filespath until the refs can be ↵Chris Larson1
removed. Also added a deprecation message to it. Signed-off-by: Chris Larson <clarson@kergoth.com>
2009-03-21base.bbclass: Add base_path_relative.Chris Larson1
base_path_relative returns a relative path from src to dest. Examples: >>> base_path_relative("/usr/bin", "/tmp/foo/bar") ../../tmp/foo/bar >>> base_path_relative("/usr/bin", "/usr/lib") ../lib >>> base_path_relative("/tmp", "/tmp/foo/bar") foo/bar Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21bitbake.conf: Move the list of vars shown in the pre-build config display to ↵Chris Larson1
here. Now a distro or machine can add their own variables to display. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: make oe_unpack_file of dirs use FILESPATH, not FILESDIR.Chris Larson1
Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21classes/base.bbclass: Locate the scm base path via BBPATH.Chris Larson1
Currently, if the first item in BBFILES isn't in the main OE repository, the build fails entirely due to a ValueError. This isn't optimal. Rather than searching through BBFILES to find it, which could be slow when BBFILES contains thousands of files, let's just find base.bbclass and use that repository. Also, use better methods to find the git revision and branch, and identify the scm based on the existance of .svn/.git/_MTN to avoid calling out subprocesses unnecessarily. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21base.bbclass: Kill the 'Pkg' messages in the event handler.Chris Larson1
Now that bitbake operates at a task level, not a package level, the package messages are, at best, useless, and at worst, confusing for the user. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-21bitbake.conf: rework FILESPATH generation.Chris Larson1
Rework FILESPATH generation to be done in bitbake.conf, avoiding the confusion about it being in multiple places. Adds FILESPATHBASE and FILESPATHPKG which can be manipulated rather than manipulating FILESPATH directly. One usage possibility: FILESPATHBASE =. "${TOPDIR}/files:" Which would let me provide a custom busybox config for this build by copying the defconfig from the openembedded metadata into my build/files/busybox-1.0/ directory, for example. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-03-19base.bbclass: Add read_subpkgdata_dict function (from Poky)Richard Purdie1
git-svn-id: https://svn.o-hand.com/repos/poky@5389 311d38ba-8fff-0310-9ca6-ca027cbcb966
2009-03-17base.bbclass: fix base_get_scmbasepath() to look for recipes/ and fall back ↵Denys Dmytriyenko1
to packages/ while parsing BBFILES Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2009-02-17base.bbclass: output messages only if BitBake 1.8 is used (from Poky)Marcin Juszkiewicz1
before (with BitBake trunk): NOTE: package linux-2.6.28-r4: task do_compile: started NOTE: package linux-2.6.28-r4: task do_compile: Started after: NOTE: package linux-2.6.28-r4: task do_compile: Started
2009-02-03base.bbclass: only error out on missing checksums when OE_STRICT_CHECKSUMS ↵Koen Kooi1
is set * we want to error out on non-matching sums, missing ones are less bad * People can now set OE_STRICT_CHECKSUMS = "" in local.conf to make a missing checksum a warning, but checksum errors are still fatal, as it should
2009-01-15base.bbclass: Add subdir feature to SRC_URI entries.Robert Schuster1
2008-11-20base.bbclass: fix a syntax error in one of distclean's exception handlersChris Larson1
2008-11-20base.bbclass: Fix up disclean and clean up its exception handlingChris Larson1
My python is rusty :)
2008-11-20base.bbclass: Add distclean task to clean a package w/ its fetched sourcesChris Larson1
2008-11-03base.bbclass: use 'git log' & 'git branch', not git-log & git-branch.Chris Larson1
2008-10-22base.bbclass: Add BPN- and BP-based search path to FILESPATH.Robert Schuster1
2008-10-22Added BPN/BP functionality (see #11716)Robert Schuster1
base.bbclass: Added base_package_name python function. java-library.bbclass: Removed java_back_package_name function. bitbake.conf: Set BP/BPN and use it in FILESPATH and S
2008-10-18base.bbclass: strip branch name in base_detect_branchOtavio Salvador1
2008-10-15[base] Autodetect the SCM and add listing of git repositoriesHolger Hans Peter Freyther1
2008-10-15[base.bbclass] Make it fatal if no entry in checksums.ini existHolger Hans Peter Freyther1
2008-10-07merge of '6347af950ec1a0ff98214a570984c55df668fad7'Robert Schuster1
and 'aa5ca25b387398015df6ff4983a31df9f74a3dff'
2008-10-07base.bbclass: Use 'unzip' for *.jar files as well.Robert Schuster1
2008-10-03Split staging by base package arch (armv7a, ppc603e, etc)Koen Kooi1
* tested on beagleboard, dht-walnut, efika, c7x0 and om-gta01 * python, perl, gtk and qt4-x11 build and work * console-image, x11-image and beagleboard-demo-image build and work as well * see http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-July/005819.html
2008-07-19conf/bitbake.conf: Merge in multimachine making it the standard layout as ↵Richard Purdie1
discussed on the mailing list. Anyone wanting the previous layout can INHERIT the new singlemachine class
2008-05-21base.bbclass: add a METADATA_BRANCH variableJeremy Laine1
2008-05-16base.bbclass: print metadata revision as METADATA_REVISION - code is cleaned ↵Marcin Juszkiewicz1
so easier to add git/hg (from Poky)
2008-05-09base.bbclass : add check from zecke/OM mtn that errors if libname.lai is notGraeme Gregory1
unique. Acked by RP
2008-05-05base.bbclass: Add checkuri and checkuriall tasks from PokyRichard Purdie1
2008-05-05base.bbclass: Merge some minor fixes/optimisations/cleanups from PokyRichard Purdie1
2008-05-05base.bbclass: Add setscene task, fixing the rebuild task funcionality with ↵Richard Purdie1
recent bitbake versions and improving interaction with packaged staging. WARNING: The result of this commit on existing builds is they will effectively rebuild from scratch.
2008-03-30base.bbclass: Enable 'overwrite' flag for unzip (to match tar behaviour). ↵Leon Woestenberg1
Broke rebuilds when disabled.
2008-03-14base.bbclass, package.bbclass: Move package_stagefile function to ↵Richard Purdie1
base.bbclass and add shell version
2008-03-14base.bbclass: Add .la file brute force sed enhancement from pokyRichard Purdie1
2008-03-04base.bbclass: Only set BB_DEFAULT_TASK if it wasn't set alreadyRichard Purdie1
2008-03-01base.bbclass: Add .tbz2 besides .tbz and .tar.bz2Leon Woestenberg1
2008-02-26base.bbclass: Add code to make 'rebuild' continue to work after changes in ↵Richard Purdie1
bitbake. Bitbake 1.8.10 users should be unaffected, bitbake 1.8.11 users will need the latest svn stable branch bitbake. Only the rebuild task is affected by the changes
2008-02-23base.bbclass: Optimise get_subpkgedata_fn() to minimise expand callsRichard Purdie1
2008-02-23base.bbclass: Cleanups possible with recent improvements in bitbake syntaxRichard Purdie1
2008-02-19base.bbclass: Drop now unused bbdepcmd flagRichard Purdie1
2008-01-24kernel: add wifi suspend fix to kernel-module-(hostap|orinoco)-cs. Closes 3664.Rolf Leggewie1
* applies only to kernel later than 2.6.17 * added base_version_less_or_equal function to base.bbclass (thanks, zecke and mickey!) to do the comparison. This does not change existing functionality. Skipped RFC.