mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
ne10: use bb.debug for debug messages
Moreover, the messages are misleading, saying "Building for arch blah", even when this recipe is not being built. It merely checks if the recipe is cmaptible with the currently used architecture. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
0d28aba9fa
commit
e317d955ba
|
|
@ -20,10 +20,10 @@ COMPATIBLE_MACHINE_armv7a = "(.*)"
|
|||
python () {
|
||||
if any(t.startswith('armv7') for t in d.getVar('TUNE_FEATURES', True).split()):
|
||||
d.setVar('NE10_TARGET_ARCH', 'armv7')
|
||||
bb.note('Building Ne10 for armv7')
|
||||
bb.debug(2, 'Building Ne10 for armv7')
|
||||
elif any(t.startswith('aarch64') for t in d.getVar('TUNE_FEATURES', True).split()):
|
||||
d.setVar('NE10_TARGET_ARCH', 'aarch64')
|
||||
bb.note('Building Ne10 for aarch64')
|
||||
bb.debug(2, 'Building Ne10 for aarch64')
|
||||
else:
|
||||
raise bb.parse.SkipPackage("Incompatible with archs other than armv7 and aarch64")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user