summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-30 00:31:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-09 12:32:22 +0000
commit6111d7132a0c7aa0b4827a3bcca05156a7d20d57 (patch)
tree27167b653a7c41c2a001a376e2406f138fc652fb
parent29c7d3351f43678c6e93b707b301832009f64b31 (diff)
package.bbclass: Add the option to declare package preprocess function hooks (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--classes/package.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 03618ba6fc..1c14908f1a 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -991,8 +991,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 \