]> git.openpandora.org Git - openembedded.git/commitdiff
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 eb3a0349cb7d7cd4f2a0869924dca94d224d7c2e..39e6a06b413cf2066c3a6a142943752c1a89b4af 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 () {