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-07 15:47:09 +0100
commitb36c40b5b6650f8470fc1cf8423fa60bf7ef7ce7 (patch)
tree866c035a09a4833c8807140b95e05ade6c9206b3
parentf96fcc1967408aae5df20713c655368cdb6acbd3 (diff)
downloadmeta-raspberrypi-b36c40b5b6650f8470fc1cf8423fa60bf7ef7ce7.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"