* Fix machine search string for imx6 targets Likely all imx6 target boards will be prefixed with "imx6", this change allows to append -DLINUX flag.
Signed-off-by: Adrian Alonso <[email protected]> --- recipes-graphics/layer-management/layer-management_0.9.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-graphics/layer-management/layer-management_0.9.5.bb b/recipes-graphics/layer-management/layer-management_0.9.5.bb index 90ad25c..71d8646 100644 --- a/recipes-graphics/layer-management/layer-management_0.9.5.bb +++ b/recipes-graphics/layer-management/layer-management_0.9.5.bb @@ -17,7 +17,7 @@ SRC_URI = "git://git.genivi.org/srv/git/layer_management;protocol=git \ " # Needed this for imx6 boards to use precompiled EGL libraries python () { - if ((d.getVar("MACHINE", True) or "").find("imx6sabre") != -1): + if ((d.getVar("MACHINE", True) or "").find("imx6") != -1): flags = d.getVar("OECMAKE_CXX_FLAGS", True) flags += " -DLINUX" d.setVar('OECMAKE_CXX_FLAGS', flags) -- 1.7.11.4 _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
