summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-24 14:37:58 +0300
committerAndrei Gherzan <andrei@gherzan.ro>2020-07-14 18:27:52 +0100
commiteddf28ecc4450fef4f083e7dfb97f2c106d36695 (patch)
tree969b0aa312433879318cf3849395a4ffbc425960
parent3d04b1ccfe66b0cb56e16963ca16aea00f28290f (diff)
downloadmeta-raspberrypi-eddf28ecc4450fef4f083e7dfb97f2c106d36695.tar.gz
rpi-base.inc: Include modules if IR is enabled
Add kernel modules gpio-ir and gpio-ir-tx to variable MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS if ENABLE_IR is set to 1. Variable ENABLE_IR enables infrared support (for LIRC). This change affects images based on packagegroup-core-boot, including the core-image-minimal image. For other images (based on packagegroup-base) kernel modules are provide through variable MACHINE_EXTRA_RRECOMMENDS. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/machine/include/rpi-base.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index a8ede4c..044f09d 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -80,6 +80,7 @@ MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
80 80
81MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi" 81MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi"
82MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_I2C', '1', 'kernel-module-i2c-dev kernel-module-i2c-bcm2708', '', d)}" 82MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_I2C', '1', 'kernel-module-i2c-dev kernel-module-i2c-bcm2708', '', d)}"
83MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_IR', '1', 'kernel-module-gpio-ir kernel-module-gpio-ir-tx', '', d)}"
83 84
84 85
85# Set Raspberrypi splash image 86# Set Raspberrypi splash image