check_app_exist function must support cases when "app" variable defined as "progname --keys". For example BUILD_CC="gcc -march=x86-64" must pass sanity check.
Signed-off-by: Nikolay Merinov <[email protected]> --- meta/classes/utils.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 081e662da1..8e07eac07a 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass @@ -320,7 +320,7 @@ hardlinkdir () { def check_app_exists(app, d): - app = d.expand(app).strip() + app = d.expand(app).split()[0].strip() path = d.getVar('PATH') return bool(bb.utils.which(path, app)) -- 2.14.2 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
