summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-30 00:31:30 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:22 +0000
commit7501b625b66be5c6ccf48ba262b67bfbb3441dc4 (patch)
tree807045e1beed38fef37db7fad2ea5dd96f829a18 /meta
parent4b0332c4319feb701aa54b3ed11cfacb2cf3b0a9 (diff)
downloadopenembedded-core-7501b625b66be5c6ccf48ba262b67bfbb3441dc4.tar.gz
openembedded-core-7501b625b66be5c6ccf48ba262b67bfbb3441dc4.tar.bz2
openembedded-core-7501b625b66be5c6ccf48ba262b67bfbb3441dc4.zip
package.bbclass: Add the option to declare package preprocess function hooks
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 2f1727440e..41eeb8d3d1 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -973,8 +973,9 @@ python package_depchains() {
pkg_addrrecs(pkg, base, suffix, func, rdeps, d)
}
-
+PACKAGE_PREPROCESS_FUNCS ?= ""
PACKAGEFUNCS ?= "perform_packagecopy \
+ ${PACKAGE_PREPROCESS_FUNCS} \
package_do_split_locales \
populate_packages \
package_do_shlibs \