From: Holger Freyther Date: Fri, 28 Jul 2006 13:50:43 +0000 (+0000) Subject: classes/package.bbclass: Only set PACKAGEFUNCS once! X-Git-Tag: Release-2010-05/1~9453^2~1070^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=728ab18f8aed809dbf0652feacc9d9540038c79f;p=openembedded.git 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 --- 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 () {