<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Being new, I am somewhat confused by SOC_FAMILY and MACHINEOVERRIDES</div>
<div>I have a custom imx6q board </div>
<div>In my machine .conf</div>
<div>The documentation seems to say</div>
<div> </div>
<div>SOC_FAMILY = "mx6:mx6q:mx6dl"</div>
<div>require conf/machine/include/soc-family.inc</div>
<div> </div>
<div>is ‘same’ as </div>
<div>MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"</div>
<div>[Note: in the Morty branch, the SOC_FAMILY seems to have dissappeared from the various freescale  layers]</div>
<div> </div>
<div>For Krogoth, I can build weston with either</div>
<div> </div>
<div>But for Morty</div>
<div>Only</div>
<div>SOC_FAMILY = "mx6:mx6q:mx6dl"</div>
<div>will build</div>
<div>Adding </div>
<div> </div>
<div>SOC_FAMILY = "mx6:mx6q:mx6dl"</div>
<div>require conf/machine/include/soc-family.inc</div>
<div> </div>
<div>or just using</div>
<div>MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"</div>
<div> </div>
<div>Weston will not build </div>
<div>(looks like a want  -DLINUX but not defined)</div>
<div> </div>
<div>I don’t know if this is a issue with the Weston in Morty or my configuration.</div>
<div>Thanks</div>
<div>Richard Allen</div>
<div> </div>
<div> </div>
<div>…</div>
<div>/tmp/sysroots/imx6qdl-p600-imx= -c ../weston-1.11.0/src/libbacklight.c  -fPIC -DPIC -o src/.libs/drm_backend_la-libbacklight.o</div>
<div>| In file included from ../weston-1.11.0/src/g2d-renderer.c:41:0:</div>
<div>| /home/rcallen/beta/morty/tmp/sysroots/imx6qdl-p600-imx/usr/include/HAL/gc_hal_eglplatform.h:208:2: error: #error "Platform not recognized"</div>
<div>|  #error "Platform not recognized"</div>
<div>|   ^~~~~</div>
<div>| Makefile:4445: recipe for target 'src/g2d_renderer_la-g2d-renderer.lo' failed</div>
<div>| make[1]: *** [src/g2d_renderer_la-g2d-renderer.lo] Error 1</div>
<div>| make[1]: *** Waiting for unfinished jobs....</div>
<div>| make[1]: Leaving directory '/home/rcallen/beta/morty/tmp/work/cortexa9hf-neon-mx6qdl-keysight-linux-gnueabi/weston/1.11.0-r0/build'</div>
<div>| Makefile:3031: recipe for target 'all' failed</div>
<div>| make: *** [all] Error 2</div>
<div>| ERROR: Function failed: do_compile (log file is located at /home/rcallen/beta/morty/tmp/work/cortexa9hf-neon-mx6qdl-keysight-linux-gnueabi/weston/1.11.0-r0/temp/log.do_compile.125590)</div>
<div>ERROR: Task (/opt/yocto/morty/poky/meta/recipes-graphics/wayland/weston_1.11.0.bb:do_compile) failed with exit code '1'</div>
<div>NOTE: Tasks Summary: Attempted 1561 tasks of which 1559 didn't need to be rerun and 1 failed.</div>
<div> </div>
</span></font>
</body>
</html>