dra7xx-evm: Fix the kernel provider
[AGL/meta-agl.git] / templates / machine / dra7xx-evm / 50_local.conf.inc
1 MACHINE = "dra7xx-evm"
2
3 #-------------------------------------------------
4 ## Graphics section ##
5 #-------------------------------------------------
6 PACKAGES_GFX_${MACHINE} = "omapdrm-pvr"
7
8 # Enable Gfx Pkgs
9 MACHINE_FEATURES_append = " sgx"
10 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
11
12 DEPENDS_remove = "virtual/libgl"
13
14 # Preferred providers
15 PREFERRED_PROVIDER_virtual/libgles1 = ""
16 PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
17 PREFERRED_PROVIDER_virtual/egl      = "ti-sgx-ddk-um"
18 PREFERRED_PROVIDER_virtual/mesa     = "mesa-gl"
19 PREFERRED_PROVIDER_libgbm           = "libgbm"
20
21 #Preferred versions
22 PREFERRED_VERSION_libgbm            = "10.0.0"
23
24 #-------------------------------------------------
25 ## Multimedia section ##
26 #-------------------------------------------------
27
28 GSTREAMER_PLUGINS = " \
29      gstreamer1.0-plugins-bad-meta \
30      gstreamer1.0-plugins-ducati \
31      gstreamer1.0-plugins-vpe \
32 "
33 PACKAGES_MULTIMEDIA   = " \
34     ipumm-fw \
35     pulseaudio-misc      \
36     ${GSTREAMER_PLUGINS} \
37 "
38
39 PREFERRED_VERSION_ipumm-fw          = "3.00.08.02"
40
41 PREFERRED_PROVIDER_virtual/kernel  = "linux-ti-staging"
42 PREFERRED_VERSION_virtual/kernel  = "4.4"
43
44 # Distribution-specific runtime components
45 IMAGE_INSTALL_append = " \
46      ${PACKAGES_GFX}     \
47      ${PACKAGES_MULTIMEDIA}     \
48      cmem \
49 "
50
51 ## ATTENTION, this is needed right now to build meta-ti with AGL: ##
52 ## due to meta-ti being based on YP 1.8 instead of YP 2.0
53 BBMASK  = "meta-ti/.*eudev"
54
55
56
57 IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-dra7xx-evm-ota"
58 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'dra7xx-evm-sdimg-ota  ', '', d)}"