summaryrefslogtreecommitdiff
path: root/classes
AgeCommit message (Collapse)AuthorFiles
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.
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-26rootfs_ipk, package-index: Fix an error introduced in a previous commit - ↵Richard Purdie1
make sure the Packages file exists
2006-07-25classes/kernel-arch.bbclass: Update the kernel arch selection so thatJamie Lenehan1
sh3 and sh4 use the sh architecture. Without this building add on kernel modules (madwifi-ng for example) for sh3 or sh4 fails due to the inability to determine the kernel arch to use.
2006-07-24rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no ↵Richard Purdie1
need to remove the old Packages file when regenerating the Packages index. This gives a big speed improvement when regenerating images as it doesn't have to open every ipk for its metadata. (from poky)
2006-07-24Add automatic generation of -dbg packages. These contain the debug symbols ↵Richard Purdie1
that are stripped from binaries and the symbols are linked to the original binaries via the gnu-debuglink section.If the -dbg packages are installed, oprofile and gdb will use them for symbol lookup.
2006-07-22classes/base.bbclass: adapt to monotone 0.27Koen Kooi1
2006-07-15sanity.bbclass: relax the DISTRO check a bit, taking into account that some ↵Michael Lauer1
DISTRO configurations override DISTRO before sanity.bbclass gets a chance to see it. By definition, in this case $RENAMED_DISTRO needs to be present in distro/include/ though, so we have a second chance for the test to succeed.
2006-07-08class/tinderclient.bbclass: Send bigger files in smaller chunks to avoid ↵Holger Freyther1
broken firewalls Thanks to the firewall fascists of A???? longer HTTP requests were lost in the corporate firewall. Avoid this situation by sending the data in smaller chunks.
2006-07-08rootfs_ipk.bbclass: add make_zimage_symlink_relativeKoen Kooi1
2006-07-07rootfs_ipk.bbclass: show which packages are lacking - may require GNU grepMarcin Juszkiewicz1
before: | Collected errors: | ERROR: Cannot satisfy the following dependencies for gpe-task-base: | + '[' -f /home/hrw/devel/build/3541/tmp/rootfs/usr/lib/ipkg/info/libgpg-error0.postinst ']' after: | Collected errors: | ERROR: Cannot satisfy the following dependencies for gpe-task-base: | gpe-session-scripts | -- taken from .oz354x
2006-07-06classes/image_ipk: Add support for multiple device tables. The original codeJamie Lenehan1
support a single value as IMAGE_DEVICE_TABLE which needed to be an absolute value. If that is definied it'll be used as is and this change will have no effect. If is is not definied it'll check for IMAGE_DEVICE_TABLES which can be a list of device images tables which are searched for relative to the BBPATH and it'll apply each one in turn. If neither of these are definied it'll use the default of files/device_table-minimal.txt