Jump kernel of rasb3 from V4.4.16 to V4.4.43
[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 IMAGE_INSTALL_append_porter = " \
52     gles-kernel-module \
53     libegl \
54     libgbm-dev \
55     "
56
57 # For Bluetooth hardware support
58 BT_KERNEL_MODULES = " \
59     kernel-module-btusb \
60     kernel-module-bnep \
61     kernel-module-rfcomm \
62     kernel-module-rfkill \
63     "
64
65 # Distribution-specific runtime components
66 IMAGE_INSTALL_append = " \
67     ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
68     "
69
70 # TODO: When booting weston, someone try to load 'libgbm_kms.so' then
71 # fail to boot. It should be 'libgbm_kms.so.1'.
72 # Tentatively, it is to install 'libgbm-dev' pkg.
73 #IMAGE_INSTALL_append = "libgbm-dev"
74 # this is not recommended and should be done in the recipe requiring this module (gles-user-module)
75
76 LICENSE_FLAGS_WHITELIST = "commercial"
77
78 # Define the name of multimedia, dtv, graphic test, multimedia-test for bbmask
79 BB_MULTIMEDIA_KERNEL_MODULE = "fdpm-kernel-module|mmngr-kernel-module|\
80                                mmngrbuf-kernel-module|s3ctl-kernel-module|\
81                                uvcs-kernel-module|vspm-kernel-module"
82 BB_MULTIMEDIA_USER_MODULE = "fdpm-user-module|mmngr-user-module|\
83                              mmngrbuf-user-module|omx-user-module|\
84                              s3ctl-user-module|vspm-user-module|libmemcpy"
85 BB_MULTIMEDIA_TEST_MODULE = "fdpm-tp-user-module|mmngr-tp-user-module|\
86                              mmngrbuf-tp-user-module|s3ctl-tp-user-module|\
87                              vspm-tp-user-module"
88 BB_GST_PLUGINS = "meta-renesas/meta-rcar-gen2/recipes-multimedia/gstreamer"
89 MULTIMEDIA_BB = "${BB_MULTIMEDIA_KERNEL_MODULE}|${BB_MULTIMEDIA_USER_MODULE}|\
90                  ${BB_MULTIMEDIA_TEST_MODULE}|${BB_GST_PLUGINS}"
91
92 # Enable Multimedia standard pkg
93 MACHINE_FEATURES_append = " multimedia"
94
95 # UnMask the multimedia kernel modules
96 #BBMASK .= "|${BB_MULTIMEDIA_KERNEL_MODULE}"
97
98 # UnMask the multimedia user modules
99 #BBMASK .= "|${BB_MULTIMEDIA_USER_MODULE}"
100
101 # Include static library in SDK
102 SDKIMAGE_FEATURES_append = " staticdev-pkgs"
103
104 # Mask the DTV pkgs
105 #MACHINE_FEATURES_append = " dtv"
106 BBMASK = "dtv-module|ssp-module|scu-module"
107
108 # Enable graphic pkgs
109 #BBMASK .= "|gles-kernel-module|gles-user-module"
110
111 # Mask the multimedia-test
112 BBMASK .= "|${BB_MULTIMEDIA_TEST_MODULE}"
113
114 # Mask the graphic test
115 BBMASK .= "|gles-test-module"
116
117 #DISTRO_FEATURES_append = " mm-test"
118 #DISTRO_FEATURES_append = " gles-test"
119
120 # Enable Gfx Pkgs
121 MACHINE_FEATURES_append = " sgx"
122 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
123
124 # for Wayland/Weston
125
126 PREFERRED_PROVIDER_virtual/libgles1 = ""
127 PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
128 PREFERRED_PROVIDER_virtual/egl = "libegl"
129 PREFERRED_PROVIDER_virtual/libgl = ""
130 PREFERRED_PROVIDER_virtual/mesa = "mesa"
131 PREFERRED_PROVIDER_libgbm = "libgbm"
132 PREFERRED_RPROVIDER_libgbm-dev = "libgbm"
133
134 # Setting for u-boot Wayland
135 UBOOT_MACHINE = "porter_vin_config"
136
137 # Addtional Configurations of Optional OMX modules
138
139 # OMX Media Component H263 Decoder Library
140 #DISTRO_FEATURES_append = " h263dec_lib"
141 # OMX Media Component VC-1 Decoder Library
142 #DISTRO_FEATURES_append = " vc1dec_lib"
143 # OMX Media Component MPEG-4 Decoder Library
144 #DISTRO_FEATURES_append = " mpeg4dec_lib"
145 # VCP3 Driver Adapted for Linux MPEG-2 Decoder Library
146 #DISTRO_FEATURES_append = " mpeg2dec_lib"
147 # DivX Decoder Library for Linux
148 #DISTRO_FEATURES_append = " divxdec_lib"
149 # Encoder Library for Linux
150 DISTRO_FEATURES_append = " h264avcenc_lib"
151
152 # Configurations of Optional Audio Decoders
153 # ARM 5.1ch aacPlus V2 Decoder for Linux
154 #DISTRO_FEATURES_append = " aacp2dec_lib"
155 # ARM MP3 Decoder for Linux
156 #DISTRO_FEATURES_append = " mp3dec_lib"
157 # ARM WMA Decoder for Linux
158 #DISTRO_FEATURES_append = " wmadec_lib"
159 # ARM 5.1ch Dolby Digital Decoder for Linux
160 #DISTRO_FEATURES_append = " ddddec_lib"
161 # ARM ALAC Decoder for Linux
162 #DISTRO_FEATURES_append = " alacdec_lib"
163 # ARM FLAC Decoder for Linux
164 #DISTRO_FEATURES_append = " flacdec_lib"
165 # ARM AAC-LC Decoder Library Sample for Linux
166 #DISTRO_FEATURES_append = " aaclcsdec_lib"
167 # ARM AAC Encoder for Linux
168 #DISTRO_FEATURES_append = " aacenc_lib"
169
170 # Configurations of Optional Audio Middlewares
171 # ARM 5.1ch aacPlus V2 Decode Middleware for Linux
172 #DISTRO_FEATURES_append = " armaccp2dec_mdw"
173 # ARM MP3 Decode Middleware for Linux
174 #DISTRO_FEATURES_append = " mp3dec_mdw"
175 # ARM WMA Decode Middleware for Linux
176 #DISTRO_FEATURES_append = " wmadec_mdw"
177 # ARM 5.1ch Dolby Digital Decode Middleware for Linux
178 #DISTRO_FEATURES_append = " ddddec_mdw"
179 # ARM ALAC Decode Middleware for Linux
180 #DISTRO_FEATURES_append = " alacdec_mdw"
181 # ARM FLAC Decode Middleware for Linux
182 #DISTRO_FEATURES_append = " flacdec_mdw"
183 # ARM AAC Decode Middleware Sample for Linux
184 #DISTRO_FEATURES_append = " aacsdec_mdw"
185 # ARM AAC Encode Middleware for Linux
186 #DISTRO_FEATURES_append = " aacenc_mdw"
187
188 # Commit united image to OSTree, not just uImage
189 OSTREE_KERNEL = "uImage+dtb"
190
191 # OTA-enabled live image
192 IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-porter-ota"
193 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota  ', '', d)}"
194