package_rpm: don't run against native/cross recipes, explicitly
authorChris Larson <clarson@mvista.com>
Thu, 18 Jun 2009 19:41:50 +0000 (12:41 -0700)
committerChris Larson <clarson@mvista.com>
Wed, 19 Aug 2009 21:54:27 +0000 (14:54 -0700)
commite20e2ebb2a22138227b1420e625b8df8593c51b9
tree1e5628cea5de2f79ec312d054ce3d8cf297cadfe
parent7001e26671dc76aa5f6c4b4bc3a7d341d012b024
package_rpm: don't run against native/cross recipes, explicitly

In the past, it only avoided adding the rpm-native/fakeroot-native deps if
PACKAGES is empty, but unfortunately some native recipes have PACKAGES set to
non-empty, so let's explicitly check for native/cross.

Signed-off-by: Chris Larson <clarson@mvista.com>
classes/package_rpm.bbclass