Fix for image format dependencies during parsing
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_raspberrypi2.inc
1 # Maximum memory allowed to be assigned
2 GPU_MEM = "255"
3
4 ENABLE_CMA = "1"
5 CMA_LWM = "16"
6 CMA_HWM = "32"
7
8 CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
9
10 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
11
12 KERNEL_IMAGETYPE = "Image"
13 KERNEL_DEVICETREE_append = " overlays/vc4-kms-v3d-overlay.dtb"
14 PREFERRED_VERSION_linux-raspberrypi = "4.4.%"
15 PREFERRED_VERSION_mesa = "12.%"
16
17 PREFERRED_PROVIDER_virtual/egl = "mesa"
18 PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
19 PREFERRED_PROVIDER_virtual/libgl = "mesa"
20 PREFERRED_PROVIDER_virtual/mesa = "mesa"
21 PREFERRED_PROVIDER_jpeg = "jpeg"
22
23 MACHINE_FEATURES += "vc4graphics"
24
25 # For libomxil
26 #LICENSE_FLAGS_WHITELIST = "commercial"
27
28 IMAGE_INSTALL_append = " kernel-modules linux-firmware "
29
30 # Psplash causes crash on first boot on RPi
31 IMAGE_FEATURES_remove = "splash"
32
33 # Build updatable image. Only takes effect when sota.bbclass is inherited
34 DISTRO_FEATURES_append = " sota"
35
36 # Add the custom rpi-sdimg output format
37 AGL_EXTRA_IMAGE_FSTYPES  = " rpi-sdimg.xz"
38
39 # Use the AGL default ext4.xz to generate the rpi-sdimg
40 SDIMG_ROOTFS_TYPE = "ext4.xz"