summaryrefslogtreecommitdiffstats
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 11:36:35 +0100
commit9bfbd7a26acf9de560b72a746982bd4412a4c9a6 (patch)
tree866c035a09a4833c8807140b95e05ade6c9206b3
parent19be0e76a29fa5a470d982398ac3fa185367cebe (diff)
downloadmeta-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.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 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}"
11inherit kernel siteinfo 11inherit kernel siteinfo
12require recipes-kernel/linux/linux-yocto.inc 12require recipes-kernel/linux/linux-yocto.inc
13 13
14SRC_URI += "file://rpi-kernel-misc.cfg"
15
14KCONFIG_MODE = "--alldefconfig" 16KCONFIG_MODE = "--alldefconfig"
15KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig" 17KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig"
16KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" 18KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig"