Move feature code into the meta recipes
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_porter-nogfx.inc
1 MACHINE = "porter"
2
3 # For Bluetooth hardware support
4 BT_KERNEL_MODULES = " \
5     kernel-module-btusb \
6     kernel-module-bnep \
7     kernel-module-rfcomm \
8     kernel-module-rfkill \
9     "
10
11 # Distribution-specific runtime components
12 IMAGE_INSTALL_append = " \
13     ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
14     "
15
16 # Setting for u-boot Wayland
17 UBOOT_MACHINE = "porter_vin_config"
18
19 PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
20 PREFERRED_PROVIDER_virtual/egl = "mesa"
21
22 # Commit united image to OSTree, not just uImage
23 OSTREE_KERNEL = "uImage+dtb"
24
25 # OTA-enabled live image
26 IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-porter-ota"
27 IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota  ', '', d)}"
28