package.bbclass: drop unnecessary and broken packages.remove()
authorChristopher Larson <chris_larson@mentor.com>
Mon, 21 Jan 2013 02:34:26 +0000 (19:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Jan 2013 10:22:08 +0000 (10:22 +0000)
(From OE-Core rev: 5480371d0473482437ce4350e6593f006101ef40)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass

index 4794f0e..8e07168 100644 (file)
@@ -948,7 +948,6 @@ python populate_packages () {
     for pkg in packages.split():
         if d.getVar('LICENSE_EXCLUSION-' + pkg, True):
             bb.warn("%s has an incompatible license. Excluding from packaging." % pkg)
-            packages.remove(pkg)
         else:
             if pkg in package_list:
                 bb.error("%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg)