[meta-freescale] SOC_FAMILY, MACHINEOVERRIDES and weston (Morty / Krogoth)

richard_allen at keysight.com richard_allen at keysight.com
Mon Nov 28 09:18:40 PST 2016


Being new, I am somewhat confused by SOC_FAMILY and MACHINEOVERRIDES
I have a custom imx6q board
In my machine .conf
The documentation seems to say

SOC_FAMILY = "mx6:mx6q:mx6dl"
require conf/machine/include/soc-family.inc

is 'same' as
MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"
[Note: in the Morty branch, the SOC_FAMILY seems to have dissappeared from the various freescale  layers]

For Krogoth, I can build weston with either

But for Morty
Only
SOC_FAMILY = "mx6:mx6q:mx6dl"
will build
Adding

SOC_FAMILY = "mx6:mx6q:mx6dl"
require conf/machine/include/soc-family.inc

or just using
MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"

Weston will not build
(looks like a want  -DLINUX but not defined)

I don't know if this is a issue with the Weston in Morty or my configuration.
Thanks
Richard Allen


...
/tmp/sysroots/imx6qdl-p600-imx= -c ../weston-1.11.0/src/libbacklight.c  -fPIC -DPIC -o src/.libs/drm_backend_la-libbacklight.o
| In file included from ../weston-1.11.0/src/g2d-renderer.c:41:0:
| /home/rcallen/beta/morty/tmp/sysroots/imx6qdl-p600-imx/usr/include/HAL/gc_hal_eglplatform.h:208:2: error: #error "Platform not recognized"
|  #error "Platform not recognized"
|   ^~~~~
| Makefile:4445: recipe for target 'src/g2d_renderer_la-g2d-renderer.lo' failed
| make[1]: *** [src/g2d_renderer_la-g2d-renderer.lo] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/rcallen/beta/morty/tmp/work/cortexa9hf-neon-mx6qdl-keysight-linux-gnueabi/weston/1.11.0-r0/build'
| Makefile:3031: recipe for target 'all' failed
| make: *** [all] Error 2
| 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)
ERROR: Task (/opt/yocto/morty/poky/meta/recipes-graphics/wayland/weston_1.11.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1561 tasks of which 1559 didn't need to be rerun and 1 failed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20161128/655155e6/attachment.html>


More information about the meta-freescale mailing list