ptest.bbclass: don't add to PACKAGES if disabled
authorChristopher Larson <chris_larson@mentor.com>
Wed, 16 Jan 2013 20:31:36 +0000 (13:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Jan 2013 13:28:04 +0000 (13:28 +0000)
commitc84819ca72740c2e62d51a2763220cefac5da2d2
tree5809ab304b82f0b968f4ed56739e5b90f4a32440
parent99b07908327babcf9a0858a8be2436466ad46992
ptest.bbclass: don't add to PACKAGES if disabled

Without this, we have excessive dependencies leaking into the build. In
particular, glib-2.0 was sucking in python modules even if ptest wasn't in
DISTRO_FEATURES.

(From OE-Core rev: 7bf5ee91aa84a6fa85d6da361b64139889faa172)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ptest.bbclass