meta-agl-bsp: fix building weston for rcar3 nogfx machines
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_m3ulcb-nogfx.inc
1 require conf/include/agl_rcar-nogfx.inc
2 SOC_FAMILY = "r8a7796"
3 BOARD_NAME = "m3ulcb"
4
5 DTB_SUFFIX = "r8a77960-ulcb"
6
7 # Mask graphic Pkgs
8 BBMASK += "gles-user-module|kernel-module-gles|wayland-kms|libgbm"
9 # Mask MMP recipes
10 BBMASK += "kernel-module-uvcs-drv|omx-user-module"
11
12 # Work around use of obsolete Weston backend-fbdev in meta-rcar-gen3
13 # when building without the proprietary driver stack.  Masking out the
14 # weston_%.bbappend seems the simplest approach for now, as forcing
15 # USE_GLES = "1" to disable the adding of -Dbackend-default="fbdev" to
16 # EXTRA_OEMESON triggers adding "libgbm" to DEPENDS, which breaks due
17 # to that being a component specific to the proprietary stack we are
18 # explicitly disabling.  If the "libgbm" usage in the bbappend was
19 # instead "virtual/libgbm" as is now used in poky, it might be possible
20 # to just tweak PREFERRED_PROVIDER_virtual/libgbm = "mesa".
21 BBMASK += "meta-rcar-gen3/recipes-graphics/wayland/weston_%.bbappend"
22
23 # do use software rendering to display the compositor
24 # used for images w/o binary-only driver
25 WESTON_USE_PIXMAN = "1"
26
27 DISTRO_FEATURES:append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen', '', d)}"
28 IMAGE_INSTALL:append = "${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen-base xen-mkimage', '', d)}"