summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* classes: Standardise whitespace in anonymous python methods and factor out ↵Richard Purdie2006-11-208-111/+132
| | | | | | functions for more efficent use by bitbake (as also patched in OE) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@875 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Unset MACHINE to avoid problemsRichard Purdie2006-11-201-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@874 311d38ba-8fff-0310-9ca6-ca027cbcb966
* sanity.bbclass: Merge with OE syncing improvements both waysRichard Purdie2006-11-161-24/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@855 311d38ba-8fff-0310-9ca6-ca027cbcb966
* kernel.bbclass: Sync with updates in OE to work with kernels >= 2.6.18Richard Purdie2006-11-022-27/+45
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@851 311d38ba-8fff-0310-9ca6-ca027cbcb966
* lib_package.bbclass: Fix .debug packaging (from OE)Richard Purdie2006-10-281-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@829 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.Chris Larson2006-10-271-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@824 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.Chris Larson2006-10-271-5/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@823 311d38ba-8fff-0310-9ca6-ca027cbcb966
* patch.bbclass: fix bug where it failed to detect that the user did not ↵Chris Larson2006-10-251-1/+8
| | | | | | modify the patches at all, add note about pressing ctrl+d to exit the resolver shell. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@822 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Partially fix another dubious use of packages[0]Richard Purdie2006-10-221-1/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@812 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Fix split_locales to remove spurious references to -dbg ↵Richard Purdie2006-10-211-0/+6
| | | | | | packages. The way it selects the principle package name needs totally reworking as the current code is flawed but apply a workaround for now (this is unrelated to other changes to package.bbclass) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@810 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Fix image task dependencies after package.bbclass updatesRichard Purdie2006-10-201-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@809 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Sync with OE upstreamRichard Purdie2006-10-201-63/+69
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@808 311d38ba-8fff-0310-9ca6-ca027cbcb966
* package.bbclass: Split into two tasks, one which prepares the packages and ↵Richard Purdie2006-10-207-14/+35
| | | | | | 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_install/do_package tasks (wipe the do_xyz stamps from the stamps dir). Everything will repackage anyway due to the new task. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@807 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass, package.bbclass: Clean up and document. Should be no actual ↵Richard Purdie2006-10-202-190/+219
| | | | | | code changes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@806 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add fetchall task to fetch all sources for all the given task ↵Richard Purdie2006-10-161-1/+7
| | | | | | and all its dependencies (requires bitbake trunk) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@803 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add check for gawk, needed by x86 glic buildMatthew Allum2006-10-121-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@794 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Don't nest os.path.join() callsRoss Burton2006-10-022-7/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@784 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update sanity checking to report all missing instead of one per run. Add a ↵Matthew Allum2006-09-281-10/+26
| | | | | | check for gcc 3.x git-svn-id: https://svn.o-hand.com/repos/poky/trunk@769 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk: Remove extra rm command to ensure /dev is correctly createdRichard Purdie2006-09-261-5/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Fix function names and exportsRichard Purdie2006-09-221-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@745 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Merge devgen branch to trunk.Chris Larson2006-09-213-41/+131
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@743 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove unneeded classesRichard Purdie2006-09-2118-729/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@742 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Clean up and correct MAINTAINERSRichard Purdie2006-09-211-1/+0
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@739 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Package.bbclass: sync with upstream oe legitimize_package_name.Chris Larson2006-09-201-0/+11
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@730 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Sync up.. all the deb/dpkg changes which I have locally are now in svn.Chris Larson2006-09-198-30/+379
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Reorder tasks so staging occurs after packaging. Add do_install ↵Richard Purdie2006-09-182-5/+4
| | | | | | into the task chain with dirs fix. Changes merged from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@727 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Remove do_fetch[nostamp] so we don't run the fetch tasks ↵Richard Purdie2006-09-181-1/+0
| | | | | | everytime we build an image. WARNING: This will cause all do_fetch's to rerun which will in turn trigger a complete rebuild of everything. To avoid, use http://www.rpsys.net/openzaurus/temp/make_fetch_stamps git-svn-id: https://svn.o-hand.com/repos/poky/trunk@726 311d38ba-8fff-0310-9ca6-ca027cbcb966
* patch.bbclass: sync with upstream oe.Chris Larson2006-09-151-12/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@713 311d38ba-8fff-0310-9ca6-ca027cbcb966
* patch.bbclass: updates from upstream oe.Chris Larson2006-09-011-5/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add a new 'rebuild' convenience task, which simply does a ↵Chris Larson2006-08-311-2/+12
| | | | | | clean and then runs the default task ('build'). git-svn-id: https://svn.o-hand.com/repos/poky/trunk@685 311d38ba-8fff-0310-9ca6-ca027cbcb966
* devshell.bbclass: Run after do_patchRichard Purdie2006-08-311-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@684 311d38ba-8fff-0310-9ca6-ca027cbcb966
* devshell: Convert to its own class and add to poky.conf by default. Export ↵Richard Purdie2006-08-302-9/+14
| | | | | | EXTRA_OEMAKE to devshell. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@683 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add devshell task. Trigger as bitbake somepackage -c devshell ↵Richard Purdie2006-08-301-1/+9
| | | | | | which will drop you into an interactive shell within the source (S) directory. The environment is as found internally to other tasks for the package (PATH includes the toolchain etc.). git-svn-id: https://svn.o-hand.com/repos/poky/trunk@682 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Patch.bbclass: add NOOPResolver class for use in unattended builds, which ↵Chris Larson2006-08-301-8/+18
| | | | | | does no actual patch resolution, simply passing the failure on up. Set PATCHRESOLVE='noop' to make use of it. Also pulls in the workaround for quilt's upward searching for a 'patches' dir from upstream oe. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@680 311d38ba-8fff-0310-9ca6-ca027cbcb966
* image.bbclass: Add symlinks to the latest images for a given machineRichard Purdie2006-08-291-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@677 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Patch failure handling updates, added a 'patch' concrete class, so we can ↵Chris Larson2006-08-282-93/+154
| | | | | | apply patches to quilt-native itself. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@670 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it ↵Chris Larson2006-08-271-1/+1
| | | | | | broke when localpath() included variable references. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2006-08-2712-77/+155
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Tweaks to work with bitbake trunk: add BB_DEFAULT_TASK, add ↵Richard Purdie2006-08-233-2/+2
| | | | | | do_rootfs[nostamp] back, remove image_ipk PR git-svn-id: https://svn.o-hand.com/repos/poky/trunk@630 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Fix the patch.bbclass error handling in a couple of the error paths by ↵Chris Larson2006-08-231-4/+3
| | | | | | changing the semantics of the PatchError exception. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@627 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Clean up the way patch.bbclass's runcmd handles the directory not existing.Chris Larson2006-08-221-4/+17
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@624 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Changes for ticket:8, with fixes for the bugs reported by Richard.Chris Larson2006-08-212-86/+410
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@622 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes/base.bbclass:Richard Purdie2006-08-145-4/+14
| | | | | | | | | | | | | | | | | | * Add stamps for do_fetch task * Remove empty NOTE messages * Add do_configure task dependecy for DEPENDS handling classes/debian.bbclass: * Add do_package task dependecy for RDEPENDS handling classes/image_ipk.bbclass: * Add do_package task dependecy for recursive RDEPENDS handling classes/package.bbclass: * Add do_package task dependecy for DEPENDS handling classes/rootfs_ipk.bbclass: * Derive image PR from DATE and TIME * Add stamps to do_rootfs task (PR changing will trigger rebuilds instead) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@605 311d38ba-8fff-0310-9ca6-ca027cbcb966
* multimachine: HOST_OS should be TARGET_OSRichard Purdie2006-08-141-3/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@604 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add projects.o-hand.com/sources/kernel as a mirror for rpsys.net's patchesRichard Purdie2006-07-281-0/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@582 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Update debug packages to place symbol files in a .debug directory - fixes ↵Richard Purdie2006-07-281-2/+4
| | | | | | certain packaging problems git-svn-id: https://svn.o-hand.com/repos/poky/trunk@578 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add base_both_contains function for use in task filesRichard Purdie2006-07-261-0/+7
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@561 311d38ba-8fff-0310-9ca6-ca027cbcb966
* rootfs_ipk.bbclass: Add context to reported errorsRichard Purdie2006-07-261-1/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@557 311d38ba-8fff-0310-9ca6-ca027cbcb966
* base.bbclass: Add base_contains function - Can be used to check if a string ↵Richard Purdie2006-07-241-0/+7
| | | | | | is present in a variable. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@547 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Add automatic generation of -dbg packages. These contain the debug symbols ↵Richard Purdie2006-07-241-9/+17
| | | | | | 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. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@546 311d38ba-8fff-0310-9ca6-ca027cbcb966