Commit Graph

20 Commits

Author SHA1 Message Date
Richard Purdie 8aee6b32a0 classes: Standardise whitespace in anonymous python methods and factor out 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
2006-11-20 09:16:34 +00:00
Chris Larson a67d36b533 base.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@824 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-27 19:26:50 +00:00
Richard Purdie e2b821a834 package.bbclass: Split into two tasks, one which prepares the packages and 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
2006-10-20 16:09:05 +00:00
Richard Purdie 49d42d9fe6 base.bbclass, package.bbclass: Clean up and document. Should be no actual code changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@806 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 14:31:06 +00:00
Richard Purdie b6959cf8d3 base.bbclass: Add fetchall task to fetch all sources for all the given task and all its dependencies (requires bitbake trunk)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@803 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-16 23:19:19 +00:00
Chris Larson 8d804ea40a Merge devgen branch to trunk.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@743 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 16:29:02 +00:00
Richard Purdie 04f6953333 classes: Reorder tasks so staging occurs after packaging. Add do_install 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
2006-09-18 20:31:39 +00:00
Richard Purdie 1f0424a2d3 base.bbclass: Remove do_fetch[nostamp] so we don't run the fetch tasks 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
2006-09-18 20:22:47 +00:00
Chris Larson 99da426eb5 base.bbclass: Add a new 'rebuild' convenience task, which simply does a 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
2006-08-31 09:20:47 +00:00
Richard Purdie b9f06d1671 devshell: Convert to its own class and add to poky.conf by default. Export EXTRA_OEMAKE to devshell.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@683 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-30 22:11:12 +00:00
Richard Purdie c1ab349f63 base.bbclass: Add devshell task. Trigger as bitbake somepackage -c devshell 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
2006-08-30 21:28:55 +00:00
Chris Larson ecb32bdee7 Patch failure handling updates, added a 'patch' concrete class, so we can apply patches to quilt-native itself.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@670 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-28 20:36:36 +00:00
Richard Purdie 93a8d0662e classes: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@651 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 16:01:33 +00:00
Richard Purdie 3b50962e83 Tweaks to work with bitbake trunk: add BB_DEFAULT_TASK, add 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
2006-08-23 09:42:43 +00:00
Chris Larson fe7c8c26ed Changes for ticket:8, with fixes for the bugs reported by Richard.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@622 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-21 00:50:19 +00:00
Richard Purdie 283e9868e7 classes/base.bbclass:
* 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
2006-08-14 00:38:08 +00:00
Richard Purdie c5b80f33c5 Add projects.o-hand.com/sources/kernel as a mirror for rpsys.net's patches
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@582 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 16:57:17 +00:00
Richard Purdie 36a7962e74 base.bbclass: Add base_both_contains function for use in task files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@561 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 22:17:08 +00:00
Richard Purdie 3e472bb56d base.bbclass: Add base_contains function - Can be used to check if a string is present in a variable.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@547 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-24 09:22:17 +00:00
Richard Purdie b2f192faab Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-21 10:10:31 +00:00