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