]> code.ossystems Code Review - openembedded-core.git/commit
oe-run-native: print more error messages
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 14 Apr 2017 09:22:25 +0000 (02:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Apr 2017 09:26:10 +0000 (10:26 +0100)
commitba2884f6ad3a4e746fc80cbd707f83fa8abd4210
treec33fc364ccb88979f8b71f804960a9e6a763219f
parent949214761998a93fc6b8b009f1cdad0db3bfa5db
oe-run-native: print more error messages

Fixed:
$ bitbake bmap-tools-native -ccleansstate && bitbake bmap-tools-native && oe-run-native bmap-tools-native bmaptool --help
[snip]
Error: Unable to find '' in <PATH>
[snip]

Note the blank '' word, it was because "tools" was overrided, now fix it.

And also check whether the recipe is a native one or not.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-run-native