Commit Graph

202 Commits

Author SHA1 Message Date
Richard Purdie 320be50c50 base.bbclass: Improve .la file conversion from installed=yes to installed=no
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3140 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-11-13 17:17:37 +00:00
Richard Purdie 454311f20f base.bbclass: Fix hardcoded staging references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3030 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 21:38:28 +00:00
Richard Purdie 82e5d0de4d base.bbclass: Add note from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3018 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:20:25 +00:00
Richard Purdie c107af790f base.bbclass: Clean up staging references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3017 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-29 15:16:19 +00:00
Marcin Juszkiewicz 734f511ddb base.bbclass: add checksums.ini generator
If file is fetched via HTTP or FTP and we do not have its checksum in
metadata (conf/checksums.ini) then we generate checksums into
TMPDIR/checksums.ini file. Content of that file can be then added into
metadata one.


git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2898 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-17 09:54:00 +00:00
Marcin Juszkiewicz 15080afba3 base.bbclass: merge checksums.ini warning from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2890 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-10-16 14:57:43 +00:00
Richard Purdie 451ef8b574 base.bbclass: Swicth to use cleandirs flag for install task
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2694 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-05 08:41:10 +00:00
Ross Burton 6fa51c276d base.bbclass: Remove and re-create when installing to ensure that it is empty
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2680 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-03 13:05:32 +00:00
Richard Purdie 411cd0c6ae base.bbclass: Further tweaks from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2629 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 15:06:04 +00:00
Richard Purdie 19e113c67f base.bbclass: Remove legacy code which hides bugs
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2628 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 14:53:48 +00:00
Richard Purdie 1bc8eee458 base.bbclass: Remove showdata task (its broken and bitbake -e is equivalent and not broken), tweak URI checksum messages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2627 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-09-01 14:49:03 +00:00
Richard Purdie 2ed6d9cf28 base.bbclass: Make populate_staging run after install to avoid conflicts
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2534 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 15:22:06 +00:00
Richard Purdie 4a705e9b1a base.bbclass: populate_staging after do_compile. Any packages staging implementation can change this
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2529 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 11:33:08 +00:00
Richard Purdie f041a4d9ab base.bbclass: Set pkgdata location to something machine specific when needed so multimachine builds don't break.
NOTE: People will have to rerun the install/package tasks after this change on existing builds

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2527 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-21 10:40:55 +00:00
Richard Purdie fc136f0b4c base.bbclass: Improve performance with SRC_URI_OVERRIDES_PACKAGE_ARCH enabled (14% parsing speedup)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2483 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-12 11:36:37 +00:00
Richard Purdie c9c5d36d35 base.bbclass: Fix SRC_URI_OVERRIDES_PACKAGE_ARCH handling
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2482 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-11 22:46:16 +00:00
Richard Purdie 9c900768c4 base.bbclass: Sync with OE.dev (mainly download checksumming code)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2411 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-08 21:04:28 +00:00
Richard Purdie 029c2a1575 base.bbclass: Correct git-native autodependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2351 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 14:42:18 +00:00
Richard Purdie 4c75040fc6 base.bbclass: Auto add dependency on git-native when needed
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2349 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-03 14:28:42 +00:00
Richard Purdie 41228de5fb base.bbclass: Fix base_get_srcrev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2278 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 13:13:59 +00:00
Richard Purdie 09e3f98f7e base.bbclass: Minor performance tweak, add base_get_srcrev()
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2249 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-08-01 11:24:50 +00:00
Richard Purdie 8b1fff0aa4 base.bbclass: Revert quoting changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2129 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-07 08:33:13 +00:00
Richard Purdie 91bbcd4ffa base.bbclass: Start to fix quoting
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2126 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-07-06 12:45:26 +00:00
Richard Purdie 409335beae classes: Rework core dependencies to work properly at the task level
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1427 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-04-03 11:31:02 +00:00
Richard Purdie 1d48528c36 base.bbclass: unexport DISTRO to prevent application compile failures
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1380 311d38ba-8fff-0310-9ca6-ca027cbcb966
2007-03-21 16:30:33 +00:00
Richard Purdie f5b38f9db0 Remove DISTRO_TYPE, replacing with IMAGE_FEATURES. Documentation is in local.conf.sample
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1053 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-20 00:00:03 +00:00
Richard Purdie 82dd73248d base.bbclass: unexport MACHINE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@957 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-25 09:58:34 +00:00
Richard Purdie e4bb4ba86b base.bbclass: Make sure MACHINE isn't exported fixing failures in binutils when MACHINE is an envirionmental variable
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@951 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-23 17:51:39 +00:00
Richard Purdie 01b1dbaefd base.bbclass: Fix errors in none libtooled packages
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@935 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 17:46:14 +00:00
Richard Purdie 634232e696 Site file handling update: Instead of one site file per target, allow entries to be shared. Handled through siteinfo.bbclass
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@931 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-21 14:34:40 +00:00
Richard Purdie e09dab0614 classes: Sync with OE - mainly quoting fixes or other minor updates
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@885 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 15:19:39 +00:00
Richard Purdie 95febfd333 base.bbclass: Sync with OE (remove broken mirrors, fix fetchall task)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@880 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-11-20 12:51:14 +00:00
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