Hi NXP,
We are using version yocto 2.5, kernel 4.14.98.
Following the recommendation, we applied the patch '[weston,2/4] weston: Move output position setting to compositor.' After compiling, an error occurs as follows:
compositor/weston-main.o: In function `wet_set_output_position':
| /usr/src/debug/weston/5.0.0.imx-r0/git/compositor/main.c:431: undefined reference to `weston_output_transform_scale_init'
| collect2: error: ld returned 1 exit status
| Makefile:4375: recipe for target 'weston' failed
| make[1]: *** [weston] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/adv/BSP/build_all_1004/tmp/work/aarch64-mx8m-poky-linux/weston/5.0.0.imx-r0/build'
| Makefile:3460: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/adv/BSP/build_all_1004/tmp/work/aarch64-mx8m-poky-linux/weston/5.0.0.imx-r0/temp/log.do_compile.11310)
ERROR: Task (/home/adv/BSP/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-graphics/wayland/weston_5.0.0.imx.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2638 tasks of which 2631 didn't need to be rerun and 1 failed.
The following is our version of 'compositor/main.c':
Thank you for your help