classes/package.bbclass: Only set PACKAGEFUNCS once!
authorHolger Freyther <zecke@selfish.org>
Fri, 28 Jul 2006 13:50:43 +0000 (13:50 +0000)
committerHolger Freyther <zecke@selfish.org>
Fri, 28 Jul 2006 13:50:43 +0000 (13:50 +0000)
    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

index eb3a034..39e6a06 100644 (file)
@@ -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 () {