summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
diff options
context:
space:
mode:
authorRonan <ronan.lemartret@iot.bzh>2017-01-20 16:57:00 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-26 14:15:04 +0000
commit5334d458c46533c51bc6879b1026181f9ac453ae (patch)
treee076c0f6663f08e20b9ba4a3c738a8b883a978f0 /meta-agl-bsp/conf/include/agl_porter-nogfx.inc
parented80d741150b6f29d72f028651ab0ab83734a2b9 (diff)
Move feature code into the meta recipes
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf Change-Id: I0bb0861f4c07a8b57cb59a03f6ffe9d2d693cbbe Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-agl-bsp/conf/include/agl_porter-nogfx.inc')
-rw-r--r--meta-agl-bsp/conf/include/agl_porter-nogfx.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-agl-bsp/conf/include/agl_porter-nogfx.inc b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
new file mode 100644
index 000000000..6bc517191
--- /dev/null
+++ b/meta-agl-bsp/conf/include/agl_porter-nogfx.inc
@@ -0,0 +1,28 @@
+MACHINE = "porter"
+
+# For Bluetooth hardware support
+BT_KERNEL_MODULES = " \
+ kernel-module-btusb \
+ kernel-module-bnep \
+ kernel-module-rfcomm \
+ kernel-module-rfkill \
+ "
+
+# Distribution-specific runtime components
+IMAGE_INSTALL_append = " \
+ ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "${BT_KERNEL_MODULES}", "", d)} \
+ "
+
+# Setting for u-boot Wayland
+UBOOT_MACHINE = "porter_vin_config"
+
+PREFERRED_PROVIDER_virtual/libgles2 = "mesa"
+PREFERRED_PROVIDER_virtual/egl = "mesa"
+
+# Commit united image to OSTree, not just uImage
+OSTREE_KERNEL = "uImage+dtb"
+
+# OTA-enabled live image
+IMAGE_CLASSES_append_sota = " image_types_uboot sdcard_image-porter-ota"
+IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-ota', 'porter-sdimg-ota ', '', d)}"
+