native: fix duplicating virtclass-native entries in OVERRIDES
authorChris Larson <chris_larson@mentor.com>
Wed, 16 Feb 2011 21:48:57 +0000 (14:48 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 16 Feb 2011 21:56:25 +0000 (14:56 -0700)
commit4b134d69dcb1d429727d9664672d060f822106dd
tree2562d154c43e1c0d451ff146a48075f8ee4fc532
parentc3910373895f5285b25281a6ef2190b1f187af7c
native: fix duplicating virtclass-native entries in OVERRIDES

A function was called from ${@} in OVERRIDES which was supposed to return the
bits to prepend when in virtclass context, yet it *set* overrides instead,
returning None.  This resulted in 1) adding an extra virtclass-native to
OVERRIDES each time it was expanded, and 2) appending None, causing
'localNone' to be in overrides rather than the expected 'local'.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/native.bbclass