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