diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 21:35:48 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-12 21:35:48 +0100 |
| commit | 6c7bc9e2eb8149d83bc2cd869c9e4bbf9c8b2dae (patch) | |
| tree | b6fcff1d9f0279c3b2275152a20e3439123f006d /meta/classes/package.bbclass | |
| parent | 268b8cf26301b0da8868cdca0c73cc644194f945 (diff) | |
| download | poky-6c7bc9e2eb8149d83bc2cd869c9e4bbf9c8b2dae.tar.gz | |
package.bbclass: Document the process followed in the class from a high level
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
| -rw-r--r-- | meta/classes/package.bbclass | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index fa47cd0eb6..9787a81fda 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
| @@ -1,6 +1,31 @@ | |||
| 1 | # | 1 | # |
| 2 | # General packaging help functions | 2 | # Packaging process |
| 3 | # | 3 | # |
| 4 | # Executive summary: This class iterates over the functions listed in PACKAGEFUNCS | ||
| 5 | # Taking D and spliting it up into the packages listed in PACKAGES, placing the | ||
| 6 | # resulting output in PKGDEST. | ||
| 7 | # | ||
| 8 | # There are the following default steps but PACKAGEFUNCS can be extended: | ||
| 9 | # | ||
| 10 | # a) perform_packagecopy - Copy D into PKGD | ||
| 11 | # | ||
| 12 | # b) package_do_split_locales - Split out the locale files, updates FILES and PACKAGES | ||
| 13 | # | ||
| 14 | # c) populate_packages - Split the files in PKGD into separate packages in PKGDEST/<pkgname> | ||
| 15 | # Also triggers the binary stripping code to put files in -dbg packages. | ||
| 16 | # | ||
| 17 | # d) package_do_shlibs - Look at the shared libraries generated and autotmatically add any | ||
| 18 | # depenedencies found. Also stores the package name so anyone else using this library | ||
| 19 | # knows which package to depend on. | ||
| 20 | # | ||
| 21 | # e) package_do_pkgconfig - Keep track of which packages need and provide which .pc files | ||
| 22 | # | ||
| 23 | # f) read_shlibdeps - Reads the stored shlibs information into the metadata | ||
| 24 | # | ||
| 25 | # g) package_depchains - Adds automatic dependencies to -dbg and -dev packages | ||
| 26 | # | ||
| 27 | # h) emit_pkgdata - saves the packaging data into PKGDATA_DIR for use in later | ||
| 28 | # packaging steps | ||
| 4 | 29 | ||
| 5 | inherit packagedata | 30 | inherit packagedata |
| 6 | 31 | ||
