aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.com>2018-09-07 15:38:28 +0100
committerAndrei Gherzan <andrei@gherzan.com>2018-09-11 15:50:33 +0100
commitc7330ac5e4e4e9e4ed97b8dffb59b14cbc460e5f (patch)
tree6d4d47e538e9c004deddd3c8e9aa8b25e1460bb9
parentaea27ba4c7d5bc123db089f1b6e95963457b658a (diff)
downloadmeta-raspberrypi-c7330ac5e4e4e9e4ed97b8dffb59b14cbc460e5f.tar.gz
meta-raspberrypi-c7330ac5e4e4e9e4ed97b8dffb59b14cbc460e5f.tar.bz2
meta-raspberrypi-c7330ac5e4e4e9e4ed97b8dffb59b14cbc460e5f.zip
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.cfg1
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc2
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 65c2ab7..03acfb4 100644
--- a/recipes-kernel/linux/linux-raspberrypi.inc
+++ b/recipes-kernel/linux/linux-raspberrypi.inc
@@ -11,6 +11,8 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
inherit kernel siteinfo
require recipes-kernel/linux/linux-yocto.inc
+SRC_URI += "file://rpi-kernel-misc.cfg"
+
KCONFIG_MODE = "--alldefconfig"
KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig"
KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig"