[oe-commits] Richard Purdie : package.bbclass: Add the option to declare package preprocess function hooks (from Poky)

git version control git at git.openembedded.org
Mon Nov 9 22:16:05 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 6111d7132a0c7aa0b4827a3bcca05156a7d20d57
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6111d7132a0c7aa0b4827a3bcca05156a7d20d57

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Fri Oct 30 00:31:21 2009 +0000

package.bbclass: Add the option to declare package preprocess function hooks (from Poky)

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>

---

 classes/package.bbclass |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/classes/package.bbclass b/classes/package.bbclass
index 03618ba..1c14908 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 \





More information about the Openembedded-commits mailing list