diff options
author | Andrei Gherzan <andrei@gherzan.com> | 2018-09-07 15:38:28 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2018-09-07 15:47:09 +0100 |
commit | b36c40b5b6650f8470fc1cf8423fa60bf7ef7ce7 (patch) | |
tree | 866c035a09a4833c8807140b95e05ade6c9206b3 | |
parent | f96fcc1967408aae5df20713c655368cdb6acbd3 (diff) | |
download | meta-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.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" |