summaryrefslogtreecommitdiff
path: root/classes/base.bbclass
AgeCommit message (Collapse)AuthorFiles
2006-11-20classes: Clean up anonymous function whitespaceRichard Purdie1
2006-11-18Micro-Optimisation decreasing initial parsing time by 10%Holger Freyther1
python () {} and python __anonymous () {} are as the same says functions without a name. They get executed when the main bb file is completely parsed. This is used to set information like FILESDIR. This is a python method so it gets evaled which means compiled and executed a lot of times. By moving the code of the anonfunc into a proper method this is only compiled once. The result is is the 10% speed up when parsing. Reindent anonfuncs and new defs without tabs and four spaces
2006-11-16base.bbclass: Add missing fetchall dummy functionRichard Purdie1
2006-11-16base.bbclass: added two mirrors for info-zip.orgMarcin Juszkiewicz1
2006-11-16base.bbclass: Fix duplicate task execution in fetchallRichard Purdie1
2006-11-14site infrastructure changes: Allow more than one file per target so common ↵Richard Purdie1
files can be created. Add a new class to handle this. Based on the work of Jamie Lenehan, with changes from me. This commit creates a common x86 file and the arm configs are merged but much work still remains.
2006-10-28base.bbclass, package.bbclass: don destrucively set RDEPENDS and ↵Koen Kooi1
RRECOMMENDS, from Poky * poky rev 823: 'package.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.' * poky rev 824: 'base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.'
2006-10-20base.bbclass: Remove some pointless presumably dead codeRichard Purdie1
2006-10-20package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie1
then package_write which actually generates the packages. The two stage approach allows us to avoid circular dependency issues from classes like debian.bbclass. As the data being emitted into pkgdata/ changed, you need to either wipe tmp or rerun the do_package tasks (wipe the do_package stamps). Everything will repackage anyway due to the new task.
2006-10-20base/package.bbclass: Clean up and document things a bit more. Should be no ↵Richard Purdie1
functional changes (from poky)
2006-10-20base.bbclass: remove oesources.orgKoen Kooi1
2006-10-16base.bbclass: Add fetchall task to fetch all sources for all the given task ↵Richard Purdie1
and all its dependencies (requires bitbake trunk)
2006-10-12base.bbclass: make showing display revision work with the mtn 0.30 workspace ↵Michael Lauer1
format
2006-09-26base.bbclass: handle tar.Z archives - close #1433Tom Walsh1
2006-09-17base.bbclass: attempt to fix the case where do_install wants to run from ↵Koen Kooi1
inside ${D}
2006-09-17base.bbclass: add ${D} to do_install[dirs] to fix some issues introduced by ↵Koen Kooi1
the task reordering
2006-09-15Restructure the subpackage metadata to facilitate use of that metadata by ↵Chris Larson1
other packages.
2006-09-12base.bbclass(oe_libinstall): Handle shared libs basenames of which werePaul Sokolovsky1
suffixed with version properly. * Sometimes soname of a shlib is overriden to contain extra version. If it's build by libtool, .la still has basename w/o suffix. This fix recognizes such case, and handles shlib installation properly (via libtool). * Example of this is smpeg_0.4.4+0.4.5cvs20040311 which builds libsmpeg-0.4, while still being linked as -lsmpeg. Fixes #1389.
2006-09-05Add 'rebuild' task to base.bbclass, as it's quite useful and simple to add.Chris Larson1
2006-08-28Merge from poky:Chris Larson1
Rework the way patches are handled. There are now two abstract base classes, initialized in patch.bbclass. One for patchset operations on a directory, and another for patch failure resolution. Currently includes 'patch' and 'quilt' concrete PatchSet classes, and a 'user' resolver class, which simply drops you into a shell in the source tree to fix the rejects.
2006-08-27base.bbclass: Add base_contains and base_both_containg - useful functions ↵Richard Purdie1
for the new task-machine code (from poky)
2006-08-26base.bbclass: Change FILESPATH handling to allow it to be appended/prepended ↵Richard Purdie1
to. Should be backwards compatible.
2006-08-25classes: run do_package before do_stage so we can populate staging with ↵Koen Kooi1
package if we want
2006-08-23base.bbclass: Remove empty messagesRichard Purdie1
2006-08-22base.bbclass: remove nostamp for fetchKoen Kooi1
* this will force a full rebuild, so have some coffee + cookies ready
2006-08-20classes: Add task dependencies expressions, as required for the new ↵Richard Purdie1
multithreading version of bitbake. Also, set BB_DEFAULT_TASK to specify the default task (build) rather than hardcode into bitbake.
2006-08-05classes/base.bbclass: Make find call portableHolger Freyther1
Make the find invocation portable (BSD) by specifying '.' as the to be searched directory. The error on libtool-native was: find: illegal option -- n find: illegal option -- a find: illegal option -- m find: illegal option -- e
2006-07-28base.bbclass: bugfix in oe_unpack_fileChris Larson1
* Fix an issue with file:// urls in SRC_URI which reside in WORKDIR. With this issue fixed, patches within tarballs can be successfully applied to ${S}.
2006-07-22classes/base.bbclass: adapt to monotone 0.27Koen Kooi1
2006-06-12base.bbclass: added gnutls mirrorsMarcin Juszkiewicz1
2006-05-31base.bbclass: Fix COMPATIBLE_MACHINE to cope when MACHINE isn't setRichard Purdie1
2006-05-27openembedded/classes/base.bbclass: Add CTAN mirrorHolger Freyther1
Add CTAN mirror. A German/Berlin, Japan and an Australian one.
2006-05-27base.bbclass: Move manifest code into manifest.bbclass and fix a bug in it ↵Richard Purdie1
(import bb.manifest)
2006-05-24classes/base.bbclass: Add GnuPG mirrorHolger Freyther1
Add two european and one north american mirror for gnupg.
2006-05-21base.bbclass: fix all patches being classified as "outdated" when SRCDATE > DATEMichael Lauer1
2006-05-20base.bbclass: add support for 'min/max' date for patchesMarcin Juszkiewicz1
- SRC_URI = "file//something.patch;patch=1;mindate=20050312;maxdate=20060302 means that patch should be applied if SRCDATE > 20050312 and SRCDATE < 20060302
2006-05-09base.bbclass: remove bogus debug out. thanks koen for spotting.Michael Lauer1
2006-05-09base.bbclass: fix showing MT revision by using rindex instead of index to ↵Michael Lauer1
get the position of the MT directory
2006-05-08base.bbclass: add DISTRO_VERSION to the summaryKoen Kooi1
* it isn't a mandatory var, but very usefull for debugging user problems
2006-05-04base.bbclass: fix .la file fixup rule in oe_libinstallPhilipp Zabel1
- attach 'g' to the s/${WORKDIR}/${STAGING_LIBDIR}/ sed rule to fix up multiple references to yet unstaged .la files
2006-04-24base.bbclass: Add COMPATIBLE_MACHINE to list machines any given package/file isRichard Purdie1
compatible with. Update documentation.conf accordingly.
2006-04-16base class: make base_read_file not raise an exception if the file to read ↵Michael Lauer1
is not present This is necessary due to the new RDEPENDS handling. I don't feel 100% comfortable with it, but until we rework the complete staging-shouldn't-contain-dependency-information, this is our way.
2006-04-04base.bbclass: make oe_libinstall fix references to .la files in Philipp Zabel1
2006-02-28base.bbclass: Handle crlf with DOS ZIP file, courtesy Raymond DanksKoen Kooi1
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to ↵Richard Purdie1
x.x.x+cvsYYYYMMDD format and some includes some minor whitespace cleanup.
2005-12-26autotools.bbclass, base.bbclass: modify autotools_stage_all to use ↵Philipp Zabel1
oe_libinstall and install aclocal macros, too
2005-11-23base.bbclass: attempt to fix the staging .la problemJohn Bowler1
- when using oe_libinstall to install a libtool library (.la file - present) into the staging directory (${STAGING_LIBDIR}) fix up the - installed .lai file so that it contains 'installed=no' - this - prevents libtool from subsequently using a copy of the build system - library if it exists in the final (target) installation directory - on the build machine (typically /usr/lib). Remove the patches from - pcre_4.4.bb to match (it now seems to work without them), add - cherokee to the openslug (etc) build (it was failing because of this - problem.)
2005-09-19GNU cp has a nice -a switch, sadly the BSD tools lack itHolger Freyther1
update our descriptions to work with any version of cp. Patches that include cp -a are not changed. They seem to work and I'm too scared busybox cp is more like GNU cp than BSD cp. (e.g do not know about P)
2005-09-05classes/base: show BitBake version and Monotone Revision (if working on a ↵Michael Lauer1
valid MT repository) in OE Build Configuration
2005-07-21classes/base.bbclass:Holger Freyther1
Change oe_libinstall (watch carefully): If the user requires the installation of a static library and it does not exist we want the user to notice and fail. I assume this was then intended purpose for the requirestatic variable. The matter for the dotlai (.lai) is a bit different. The system automatically detects the .la file and assumes it is libtool generated and wants to install the .lai file even if it does not exist. I think this is wrong and I change it to do the following: If it decides it has libtool it installs the .lai if it is present. (change the -o to -a) At least Qt Version 3 has a .la but no .lai in its library directory and oe_libinstall fails to install.