Commit Graph

3050 Commits

Author SHA1 Message Date
Richard Purdie 0d59c10f98 kernel.bbclass: Sync with updates in OE to work with kernels >= 2.6.18
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@851 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-02 10:18:03 +00:00
Richard Purdie 6312385927 lib_package.bbclass: Fix .debug packaging (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@829 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-28 19:01:38 +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
Chris Larson d726bba0e0 package.bbclass: depchains: don't -destructively- set the pkg's RRECOMMENDS.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@823 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-27 19:25:05 +00:00
Chris Larson 002f491523 patch.bbclass: fix bug where it failed to detect that the user did not 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
2006-10-25 18:19:39 +00:00
Richard Purdie 7759703169 package.bbclass: Partially fix another dubious use of packages[0]
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@812 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-22 12:06:41 +00:00
Richard Purdie 2af3b213e5 package.bbclass: Fix split_locales to remove spurious references to -dbg 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
2006-10-21 22:03:13 +00:00
Richard Purdie ec30e86122 image.bbclass: Fix image task dependencies after package.bbclass updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@809 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 22:19:42 +00:00
Richard Purdie 866ab593a0 package.bbclass: Sync with OE upstream
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@808 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-20 16:09:53 +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
Matthew Allum 5713649ceb Add check for gawk, needed by x86 glic build
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@794 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-12 12:48:46 +00:00
Ross Burton dade587c81 Don't nest os.path.join() calls
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@784 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-10-02 16:06:08 +00:00
Matthew Allum f27a0caa85 Update sanity checking to report all missing instead of one per run. Add a check for gcc 3.x
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@769 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-28 09:18:17 +00:00
Richard Purdie 2ea41da820 rootfs_ipk: Remove extra rm command to ensure /dev is correctly created
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@762 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-26 09:47:06 +00:00
Richard Purdie a45581c29f rootfs_ipk.bbclass: Fix function names and exports
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@745 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-22 15:46:35 +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 5cacd3ea7e Remove unneeded classes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@742 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 15:17:23 +00:00
Richard Purdie a48da11aca Clean up and correct MAINTAINERS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@739 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-21 14:48:08 +00:00
Chris Larson dd9ff71de4 Package.bbclass: sync with upstream oe legitimize_package_name.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@730 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-20 16:40:07 +00:00
Chris Larson 4fa2d11bb1 Sync up.. all the deb/dpkg changes which I have locally are now in svn.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@728 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-19 09:04:09 +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 81971a2766 patch.bbclass: sync with upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@713 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-15 07:54:58 +00:00
Chris Larson 5027d8f8f2 patch.bbclass: updates from upstream oe.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@691 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-09-01 08:36:17 +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 c48931146d devshell.bbclass: Run after do_patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@684 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-31 08:19:26 +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 874a642961 Patch.bbclass: add NOOPResolver class for use in unattended builds, which 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
2006-08-30 07:25:59 +00:00
Richard Purdie b1d72c5762 image.bbclass: Add symlinks to the latest images for a given machine
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@677 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-29 22:12:42 +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
Chris Larson d717d4f196 Patch.bbclass: fix bug resulting in a failure to md5 the local path.. it broke when localpath() included variable references.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@662 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-27 22:29:46 +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 056b43353e Fix the patch.bbclass error handling in a couple of the error paths by changing the semantics of the PatchError exception.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-23 08:50:26 +00:00
Chris Larson 7aa52d7fd9 Clean up the way patch.bbclass's runcmd handles the directory not existing.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@624 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-22 08:58:02 +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 0f5e8d268a multimachine: HOST_OS should be TARGET_OS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@604 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-08-14 00:31:00 +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 25f46620dd Update debug packages to place symbol files in a .debug directory - fixes certain packaging problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@578 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-28 15:12:05 +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 60493a3359 rootfs_ipk.bbclass: Add context to reported errors
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@557 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-26 21:28:32 +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 2ca73b57dc Add automatic generation of -dbg packages. These contain the debug symbols 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
2006-07-24 08:35:37 +00:00
Richard Purdie 23b93ceb82 rootfs_ipk.bbclass, package-index: With the fixed ipkg-utils there is no 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.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@545 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-24 08:27:13 +00:00
Richard Purdie f75754d05b tinderclient.bbclass: Update from .dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@543 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-07-23 17:57:13 +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