summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
2006-09-14nylon: added nylon-helpers.bbclass (helper functions for working on the svn ↵Martin Dietze1
trunk), updated preferred providers in nylon.conf.
2006-09-14package.bbclass: yank an unintentional change.Chris Larson1
2006-09-14package.bbclass:Chris Larson1
* Avoid premature use of the PKG_* variables. We don't need to make use of the debian.bbclass (or otherwise) renamed package names until the very end of the packaging. This was necessary in order to enhance my depchain/correspondantdeps stuff, and doesn't seem to harm anything.
2006-09-14binconfig.bbclass: Fix path rewriting for staged packages.Paul Sokolovsky1
* This bbclass does path rewriting within *-config scripts for packages being staged. However, it used to expect variable assignments in form foo=bar, whereas some packages (e.g. libpng) have foo="bar". Fixed to understand both formats. * Note: I consider this fix a workaround, as it uses overquoted regexps passed via command line. Instead, whole rewriting should be reimplemented in Python.
2006-09-12merge of '22712c8613b8a7c9e5bd16bc8a75a2445ce7294c'Paul Sokolovsky1
and '5db3d555762b1c8d96106bfae60bec656db47eba'
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-12merge of '3585034766082dee6be36ed64f840eaeee7eb14e'Paul Sokolovsky2
and 'c2682ec1dd418a696aa5cec3d278f7cfd4386443'
2006-09-12package.bbclass: Detect duplicates in PACKAGES properly.Paul Sokolovsky1
* Fix bug which caused non-detection. * Make visible error message for such condition. * But still recover and continue for now, while we don't have all occurances fixed in metadata. Note that while content of the package will be ok, metadata can be wrong. So, recover behavior should not be relied upon, this going to be fatal condition later. Oked-by: RP, hrw
2006-09-12classes/insanity.bbclass: Check for possible insecure RPATH, make it work ↵Holger Freyther1
with the funy BitBake scope The def methods are in a different scope that the PACKAGEFUNC and the result is only the packagefunc is able to use 'd' so we need to make this a parameter for the other methods. Use the installed scanelf to check for the RPATH of the files
2006-09-12merge of '9fa7d7e59941b8d15fcc1dc722bd3d781d3a4407'Holger Freyther1
and 'dbb377d00572c21544539346dc158feea2cfd1d6'
2006-09-12package.bbclass: Make "strippedness" check overridable.Paul Sokolovsky1
* Factor out "strippedness" substring as FILE_UNSTRIPPED_MATCH. * Allow FILE_UNSTRIPPED_MATCH to be overriden, useful to support other executable formats. * Also, don't complain if .debug directory already exist (can heppen if manually run BB tasks, e.g. for debugging).
2006-09-11classes/icecc.bbclass: Use split so we get the real version instead of a ↵Holger Freyther1
single charachter [2] will get us the 2nd charachter of the first line. This is not what we wanted. We want the version number which is the '2nd' column of the first line.
2006-09-11classes/insane.bbclass: Run the first test of the insanity.bbclassHolger Freyther1
2006-09-10gpe.bbclass: Provide default SECTION assignment.Paul Sokolovsky1
2006-09-08package.bbclass:Chris Larson1
Make legitimize_package_name also convert <U0123> style encoding of unicode codepoints into their utf-8 representation, as in glibc locale files.
2006-09-05Add 'rebuild' task to base.bbclass, as it's quite useful and simple to add.Chris Larson1
2006-09-05patch.bbclass: Fix bug in PatchTree.Import resulting in new patches being ↵Chris Larson1
imported -before- the current patch rather than -after-.
2006-09-05patch.bbclass: fix issue encountered by zecke, where PatchTree was only ↵Chris Larson1
doing a --dry-run, never actually applying the patch. Only quilt-native in oe was using that.
2006-09-03classes/sanity.bbclass: Check for bzip2 in the path as wellHolger Freyther1
2006-08-30patch.bbclass:Chris Larson1
* switch os.mkdir to os.makedirs. * pass on all errors from QuiltTree.Clean(), as it can fail in ways that do not need to be reported to the user, and a failure will end up being seen again during the Import/Push of the patches.
2006-08-30patch.bbclass:Chris Larson1
* Add NOOPResolver class, which simply passes the patch failure on up, not doing any actual patch resolution. Set PATCHRESOLVE = "noop" to make use of it. Most useful for unattended builds.
2006-08-30classes/patch.bbclass: Create a "patches" directory when initialisingJamie Lenehan1
the quilt patcher class. Without this quilt will search for a patches directory - starting from the current directory up to the root directory. If it finds an existing patches directory it will use it for its patches. This causes all sorts of problems since it is not where the patches are expected to be. Prior to the recent patcher changes this directory was being created.
2006-08-28Merge from poky:Chris Larson2
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-28rm_work.bbclass: stop cleaning out before populate_stagingPhilipp Zabel1
2006-08-27gtk-icon-cache.bbclass: Add from pokyRichard Purdie1
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-27gconf.bbclass: Add gconf to DEPENDS (from poky)Richard Purdie1
2006-08-27package.bbclass: remove do_install from PACKAGE_FUNCS, as noted by Philipp ZabelKoen Kooi1
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 Kooi2
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-21merge of df84e8f6ddb4607c824cd8dbc63c44ffbb308f9aFlorian Boor2
and 3608f3d5434271fde9ce2b2c787339675d8a532f
2006-08-20classes: Add task dependencies expressions, as required for the new ↵Richard Purdie4
multithreading version of bitbake. Also, set BB_DEFAULT_TASK to specify the default task (build) rather than hardcode into bitbake.
2006-08-20multimachine.bbclass: Should use TARGET_OS, not HOST_OSRichard Purdie1
2006-08-20classes/icecc.bbclass: Simplify, improve code creating a tar.bz2Holger Freyther1
For icecream we need to package a tar.bz2 containing our used toolchain. It must contain a gcc, g++ and cc1 and cc1plus and a spec file (if it is not built-in). Optionally it contains host libc.so and libfd.so (which we do not package). Simplify the code creating the tar.bz2 and make it work with any version of gcc/glibc/uclibc (untested).
2006-08-19classes/icecc.bbclass: Determine version of gcc by executing it, use ↵Holger Freyther1
os.path.join to create paths
2006-08-19classes/icecc.bbclass: Remove tabs, use inherit_class to check if we build a ↵Holger Freyther1
native or cross package
2006-08-19classes/tinderclient.bbclass: Send PF instead of only PHolger Freyther1
As requested by Marcin include the PR of the built package as well. This is already included in the PF variable.
2006-08-18classes/tinderclient.bbclass: Fix the getVar invocation and the test...Holger Freyther1
2006-08-17classes/tinderclient.bbclass: TINDER_AUTOBUILD=0 to disable running do_cleanHolger Freyther1
2006-08-17classes/tinderclient.bbclass: Fixes. truncate does not work this way...Holger Freyther1
Fixup truncate to forget the the status of previous runs. We will simply write("") to the file and empty it this way. int(f.read()) will fail then
2006-08-17classes/tinderclient.bbclass: Add workaround for bitbake -k and save the statusHolger Freyther1
Using the continue option of BitBake can lead to some issues with the Tinderbox. Even if one build failed the color of the result will be green as the BuildCompleted event will be send by BitBake. As a workaround we will store the failure in a tinder-status file in case of failure (e.g. no Provider or PkgFailed) and will reread on the start. When the build starts we will truncate the file and remove 'the' error
2006-08-12kernel.bbclass, module.bbclass: changed depmod -A into depmod -aFrans Meulenbroeks2
see http://www.handhelds.org/hypermail/oe/102/10225.html
2006-08-06clases/cpan.bbclass,packages/perl: add EXTRA_CPANFLAGS, fix nativeHolger Freyther1
Add EXTRA_CPANFLAGS to cpan.bbclass, similiar to EXTRA_OECONF and EXTRA_OEMAKE Use this in libxml-parser-perl-native to point to the expat include and libraries perl-native inherits native already. No need to use BUILD_CC, BUILD_FOO, BUILD_LDFLAGS but use LDFLAGS and CC directly. LDFLAGS has rpath already removed...
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-31Change -dbg objects to use .debug directory. Fixes various FILES issues.Richard Purdie1
2006-07-28classes/insane.bbclass: Add skeleton for the testsHolger Freyther1
Run each test from within the PACKAGEFUNC, add a special task for checking .la and .pc files from within staging.
2006-07-28classes/package.bbclass: Only set PACKAGEFUNCS once!Holger Freyther1
Set PACKAGEFUNCS only once. Now if more than one bbclass inherits package both additional functions will be executed. The new packagefuncs will be appended to the list and the old ones will not be lost
2006-07-28classes/insane.bbclass: Remove GPL text, add more planned checksHolger Freyther1
The initial idea was to use the shell magic from ebuild, but I do not plan this anymore and will do it using python. This is why I'm removing the GPL license. Add some more planned checks and assume they are already implemented.