aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/conf/local.conf.sample
diff options
context:
space:
mode:
authorWalt Miner <wminer@linuxfoundation.org>2015-10-26 12:56:58 +0000
committerGerrit Code Review <gerrit@172.30.200.200>2015-10-26 12:56:59 +0000
commit437bea51272f8b27de9df7d577818ef4e95a8c65 (patch)
tree548dda1dd2d2fce07ab0db7afdcd55e827329df3 /meta-rcar-gen2/conf/local.conf.sample
parent8901cab884f9e4431781ca42291579cffc092b47 (diff)
parente232b907c1da205da7d603a68c597b70689b0b05 (diff)
Merge "r-car m2: support Bluetooth hardware" into agl-1.0-bsp-1.8.0
Diffstat (limited to 'meta-rcar-gen2/conf/local.conf.sample')
-rw-r--r--meta-rcar-gen2/conf/local.conf.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-rcar-gen2/conf/local.conf.sample b/meta-rcar-gen2/conf/local.conf.sample
index 43857ba..76c15e2 100644
--- a/meta-rcar-gen2/conf/local.conf.sample
+++ b/meta-rcar-gen2/conf/local.conf.sample
@@ -48,6 +48,19 @@ MACHINE = "porter"
# alsa-utils alsa-tools \
#"
+# 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)} \
+ "
+
# TODO: When booting weston, someone try to load 'libgbm_kms.so' then
# fail to boot. It should be 'libgbm_kms.so.1'.
# Tentatively, it is to install 'libgbm-dev' pkg.