From 728ab18f8aed809dbf0652feacc9d9540038c79f Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Fri, 28 Jul 2006 13:50:43 +0000 Subject: classes/package.bbclass: Only set PACKAGEFUNCS once! Set PACKAGEFUNCS only once. Now if more than one bbclass inherits package both additional functions will be executed. The new packagefuncs will be appended to the list and the old ones will not be lost --- classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/package.bbclass b/classes/package.bbclass index eb3a0349cb..39e6a06b41 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -723,7 +723,7 @@ python package_do_split_locales() { bb.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d) } -PACKAGEFUNCS = "do_install package_do_split_locales \ +PACKAGEFUNCS ?= " do_install package_do_split_locales \ populate_packages package_do_shlibs \ package_do_pkgconfig read_shlibdeps" python package_do_package () { -- cgit v1.2.3