Convert to new override syntax
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_rcar.inc
1 require conf/include/agl_rcar-nogfx.inc
2
3 # Enable AGL virtualization features
4 MACHINE_FEATURES:append = " agl-egvirt"
5
6 # Enable Gfx Pkgs
7 MACHINE_FEATURES:append = " gsx"
8 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
9
10 # for Wayland/Weston
11 PREFERRED_PROVIDER_virtual/libgles1 = ""
12 PREFERRED_PROVIDER_virtual/libgles2 = "virtual-gles-user-module"
13 PREFERRED_PROVIDER_virtual/egl = "virtual-gles-user-module"
14 PREFERRED_PROVIDER_virtual/libgl = ""
15 PREFERRED_PROVIDER_virtual/mesa = "mesa"
16 PREFERRED_PROVIDER_libgbm = "libgbm"
17 PREFERRED_RPROVIDER_libgbm-dev = "libgbm"
18
19 PREFERRED_RPROVIDER_libomxil = "omx-user-module"
20 PREFERRED_PROVIDER_virtual/libomxil = "omx-user-module"
21
22 # Add for gstreamer plugins ugly
23 LICENSE_FLAGS_WHITELIST = "commercial"
24
25 MACHINE_FEATURES:append = " multimedia"
26
27 DISTRO_FEATURES:append = " use_eva_pkg"
28
29 #DISTRO_FEATURES:append = " h265dec_lib mpeg2dec_lib"
30 DISTRO_FEATURES:append = " h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw"
31
32 # Mask out meta-renesas-rcar-gen3's tweaks to weston-init, as they do
33 # not seem necessary for anything in AGL, and the addition of
34 # dbus.service and multi-user.target dependencies to the weston systemd
35 # unit that is done is problematic with respect to potentially blocking
36 # weston if any user units like application framework "platform"
37 # services fail. They also likely affect boot up speed with respect to
38 # getting weston started.  There is no clear rationale expressed in the
39 # meta-renesas-rcar-gen3 commit history for the extra dependencies, and
40 # testing shows no issues on H3ULCB when not having them.
41 BBMASK += "meta-rcar-gen3/recipes-graphics/wayland/weston-init.bbappend"
42
43 # Add graphics and decoder drivers to packagegroup-machine-base
44 # recommendation.
45 MACHINE_EXTRA_RRECOMMENDS:append:rcar-gen3 = " \
46     kernel-module-pvrsrvkm \
47     kernel-module-vsp2 \
48     kernel-module-vspm  \
49     kernel-module-vspm-if \
50     omx-user-module \
51 "