[yocto] [meta-ivi][PATCH 3/3] layer-management: fix machine search string for imx6 targets

Adrian Alonso aalonso at freescale.com
Wed Sep 19 14:51:56 PDT 2012


* 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 <aalonso at freescale.com>
---
 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





More information about the yocto mailing list