diff options
| author | Andrei Gherzan <andrei@gherzan.com> | 2018-09-07 15:38:28 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2018-09-11 11:36:35 +0100 |
| commit | 9bfbd7a26acf9de560b72a746982bd4412a4c9a6 (patch) | |
| tree | 866c035a09a4833c8807140b95e05ade6c9206b3 | |
| parent | 19be0e76a29fa5a470d982398ac3fa185367cebe (diff) | |
| download | meta-raspberrypi-9bfbd7a26acf9de560b72a746982bd4412a4c9a6.tar.gz | |
linux-raspberrypi: Build rpi poe fan driver
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
| -rw-r--r-- | recipes-kernel/linux/files/rpi-kernel-misc.cfg | 1 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/rpi-kernel-misc.cfg b/recipes-kernel/linux/files/rpi-kernel-misc.cfg new file mode 100644 index 0000000..07b1437 --- /dev/null +++ b/recipes-kernel/linux/files/rpi-kernel-misc.cfg | |||
| @@ -0,0 +1 @@ | |||
| CONFIG_SENSORS_RPI_POE_FAN=m | |||
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index 586dabd..01f2425 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
| @@ -11,6 +11,8 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
| 11 | inherit kernel siteinfo | 11 | inherit kernel siteinfo |
| 12 | require recipes-kernel/linux/linux-yocto.inc | 12 | require recipes-kernel/linux/linux-yocto.inc |
| 13 | 13 | ||
| 14 | SRC_URI += "file://rpi-kernel-misc.cfg" | ||
| 15 | |||
| 14 | KCONFIG_MODE = "--alldefconfig" | 16 | KCONFIG_MODE = "--alldefconfig" |
| 15 | KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig" | 17 | KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig" |
| 16 | KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" | 18 | KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" |
