diff options
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 735837667f..26a20d1ff5 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1119,6 +1119,18 @@ python package_fixsymlinks () { | |||
1119 | d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) | 1119 | d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) |
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | |||
1123 | python package_package_name_hook() { | ||
1124 | """ | ||
1125 | A package_name_hook function can be used to rewrite the package names by | ||
1126 | changing PKG. For an example, see debian.bbclass. | ||
1127 | """ | ||
1128 | pass | ||
1129 | } | ||
1130 | |||
1131 | EXPORT_FUNCTIONS package_name_hook | ||
1132 | |||
1133 | |||
1122 | PKGDESTWORK = "${WORKDIR}/pkgdata" | 1134 | PKGDESTWORK = "${WORKDIR}/pkgdata" |
1123 | 1135 | ||
1124 | python emit_pkgdata() { | 1136 | python emit_pkgdata() { |