diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2020-06-24 14:37:58 +0300 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-06-24 17:01:17 +0100 |
| commit | cdee89b0a0b16da5187656f837f047f43b2503b7 (patch) | |
| tree | b8a95247b5cf6cfa0246a478092025e4a022bd18 | |
| parent | c482e2cc7c80de7c61075c9e9b3ab073190ece40 (diff) | |
| download | meta-raspberrypi-cdee89b0a0b16da5187656f837f047f43b2503b7.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>
| -rw-r--r-- | conf/machine/include/rpi-base.inc | 1 |
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 | ||
| 81 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi" | 81 | MACHINE_EXTRA_RRECOMMENDS += "kernel-modules udev-rules-rpi" |
| 82 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_I2C', '1', 'kernel-module-i2c-dev kernel-module-i2c-bcm2708', '', d)}" | 82 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "${@oe.utils.conditional('ENABLE_I2C', '1', 'kernel-module-i2c-dev kernel-module-i2c-bcm2708', '', d)}" |
| 83 | MACHINE_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 |
