Changes for building with YP 2.1.1 'krogoth'
[AGL/meta-agl.git] / templates / machine / porter / 50_local.conf.inc
1 MACHINE = "porter"
2
3 # For running GStreamer on wayland (experimental).
4 #
5 # Uncoment below if want to use multimedia acceleration on wayland
6 #
7 IMAGE_INSTALL_append_porter = " \
8     gstreamer1.0-plugins-bad-waylandsink \
9     "
10
11 # Additional plugins to test multimedia acceleration (experimental)
12 #
13 # Uncoment below if want to use multimedia acceleration
14 #
15 IMAGE_INSTALL_append_porter = " \
16     gstreamer1.0-plugins-base-videorate \
17     gstreamer1.0-plugins-base-videotestsrc \
18     gstreamer1.0-plugins-base-audiotestsrc \
19     gstreamer1.0-plugins-base-alsa \
20     gstreamer1.0-plugins-good-autodetect \
21     gstreamer1.0-plugins-good-isomp4 \
22     gstreamer1.0-plugins-good-videocrop \
23     gstreamer1.0-plugins-bad-asfmux \
24     gstreamer1.0-plugins-bad-fbdevsink \
25     gstreamer1.0-plugins-bad-faad \
26     gstreamer1.0-plugins-bad-videoparsersbad \
27 "
28 #    gstreamer1.0-plugins-good-video4linux2  (temp disabled)
29
30 # for graphics acceleration
31 #
32 # Uncoment below if want to use multimedia acceleration
33 #
34 IMAGE_INSTALL_append_porter = " \
35     libegl libegl-dev libgbm-dev \
36     gles-kernel-module gles-user-module \
37     libdrm-tests \
38    libdrm-kms \
39     "
40
41 # for multimedia acceleration
42 #
43 # Uncoment below if want to use multimedia acceleration
44 #
45 IMAGE_INSTALL_append_porter = " \
46     packagegroup-rcar-gen2-multimedia \
47     packagegroup-lcb-oss-codecs \
48     alsa-utils alsa-utils-config alsa-tools \
49 "
50
51 # For Bluetooth hardware support
52 BT_KERNEL_MODULES = " \
53     kernel-module-btusb \
54     kernel-module-bnep \
55     kernel-module-rfcomm \
56     kernel-module-rfkill \
57     "
58
59 # Distribution-specific runtime components
60 IMAGE_INSTALL_append = " \
61     ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
62     "
63
64 # TODO: When booting weston, someone try to load 'libgbm_kms.so' then
65 # fail to boot. It should be 'libgbm_kms.so.1'.
66 # Tentatively, it is to install 'libgbm-dev' pkg.
67 #IMAGE_INSTALL_append = "libgbm-dev"
68 # this is not recommended and should be done in the recipe requiring this module (gles-user-module)
69
70 LICENSE_FLAGS_WHITELIST = "commercial"
71
72 # Define the name of multimedia, dtv, graphic test, multimedia-test for bbmask
73 BB_MULTIMEDIA_KERNEL_MODULE = "fdpm-kernel-module|mmngr-kernel-module|\
74                                mmngrbuf-kernel-module|s3ctl-kernel-module|\
75                                uvcs-kernel-module|vspm-kernel-module"
76 BB_MULTIMEDIA_USER_MODULE = "fdpm-user-module|mmngr-user-module|\
77                              mmngrbuf-user-module|omx-user-module|\
78                              s3ctl-user-module|vspm-user-module|libmemcpy"
79 BB_MULTIMEDIA_TEST_MODULE = "fdpm-tp-user-module|mmngr-tp-user-module|\
80                              mmngrbuf-tp-user-module|s3ctl-tp-user-module|\
81                              vspm-tp-user-module"
82 BB_GST_PLUGINS = "meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer"
83 MULTIMEDIA_BB = "${BB_MULTIMEDIA_KERNEL_MODULE}|${BB_MULTIMEDIA_USER_MODULE}|\
84                  ${BB_MULTIMEDIA_TEST_MODULE}|${BB_GST_PLUGINS}"
85
86 # Enable Multimedia standard pkg
87 MACHINE_FEATURES_append = " multimedia"
88
89 # UnMask the multimedia kernel modules
90 #BBMASK .= "|${BB_MULTIMEDIA_KERNEL_MODULE}"
91
92 # UnMask the multimedia user modules
93 #BBMASK .= "|${BB_MULTIMEDIA_USER_MODULE}"
94
95 # Include static library in SDK
96 SDKIMAGE_FEATURES_append = " staticdev-pkgs"
97
98 # Mask the DTV pkgs
99 #MACHINE_FEATURES_append = " dtv"
100 BBMASK = "dtv-module|ssp-module|scu-module"
101
102 # Enable graphic pkgs
103 #BBMASK .= "|gles-kernel-module|gles-user-module"
104
105 # Mask the multimedia-test
106 BBMASK .= "|${BB_MULTIMEDIA_TEST_MODULE}"
107
108 # Mask the graphic test
109 BBMASK .= "|gles-test-module"
110
111 #DISTRO_FEATURES_append = " mm-test"
112 #DISTRO_FEATURES_append = " gles-test"
113
114 # Enable Gfx Pkgs
115 MACHINE_FEATURES_append = " sgx"
116 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
117
118 # for Wayland/Weston
119
120 PREFERRED_PROVIDER_virtual/libgles1 = ""
121 PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
122 PREFERRED_PROVIDER_virtual/egl = "libegl"
123 PREFERRED_PROVIDER_virtual/libgl = ""
124 PREFERRED_PROVIDER_virtual/mesa = ""
125 PREFERRED_PROVIDER_libgbm = "libgbm"
126 PREFERRED_PROVIDER_libgbm-dev = "libgbm"
127
128 # Setting for u-boot Wayland
129 UBOOT_MACHINE = "porter_vin_config"
130
131 # Addtional Configurations of Optional OMX modules
132
133 # OMX Media Component H263 Decoder Library
134 #DISTRO_FEATURES_append = " h263dec_lib"
135 # OMX Media Component VC-1 Decoder Library
136 #DISTRO_FEATURES_append = " vc1dec_lib"
137 # OMX Media Component MPEG-4 Decoder Library
138 #DISTRO_FEATURES_append = " mpeg4dec_lib"
139 # VCP3 Driver Adapted for Linux MPEG-2 Decoder Library
140 #DISTRO_FEATURES_append = " mpeg2dec_lib"
141 # DivX Decoder Library for Linux
142 #DISTRO_FEATURES_append = " divxdec_lib"
143 # Encoder Library for Linux
144 DISTRO_FEATURES_append = " h264avcenc_lib"
145
146 # Configurations of Optional Audio Decoders
147 # ARM 5.1ch aacPlus V2 Decoder for Linux
148 #DISTRO_FEATURES_append = " aacp2dec_lib"
149 # ARM MP3 Decoder for Linux
150 #DISTRO_FEATURES_append = " mp3dec_lib"
151 # ARM WMA Decoder for Linux
152 #DISTRO_FEATURES_append = " wmadec_lib"
153 # ARM 5.1ch Dolby Digital Decoder for Linux
154 #DISTRO_FEATURES_append = " ddddec_lib"
155 # ARM ALAC Decoder for Linux
156 #DISTRO_FEATURES_append = " alacdec_lib"
157 # ARM FLAC Decoder for Linux
158 #DISTRO_FEATURES_append = " flacdec_lib"
159 # ARM AAC-LC Decoder Library Sample for Linux
160 #DISTRO_FEATURES_append = " aaclcsdec_lib"
161 # ARM AAC Encoder for Linux
162 #DISTRO_FEATURES_append = " aacenc_lib"
163
164 # Configurations of Optional Audio Middlewares
165 # ARM 5.1ch aacPlus V2 Decode Middleware for Linux
166 #DISTRO_FEATURES_append = " armaccp2dec_mdw"
167 # ARM MP3 Decode Middleware for Linux
168 #DISTRO_FEATURES_append = " mp3dec_mdw"
169 # ARM WMA Decode Middleware for Linux
170 #DISTRO_FEATURES_append = " wmadec_mdw"
171 # ARM 5.1ch Dolby Digital Decode Middleware for Linux
172 #DISTRO_FEATURES_append = " ddddec_mdw"
173 # ARM ALAC Decode Middleware for Linux
174 #DISTRO_FEATURES_append = " alacdec_mdw"
175 # ARM FLAC Decode Middleware for Linux
176 #DISTRO_FEATURES_append = " flacdec_mdw"
177 # ARM AAC Decode Middleware Sample for Linux
178 #DISTRO_FEATURES_append = " aacsdec_mdw"
179 # ARM AAC Encode Middleware for Linux
180 #DISTRO_FEATURES_append = " aacenc_mdw"