mediatek: mt7623: build SD card without all filesystems
[openwrt/staging/ldir.git] / target / linux / bcm27xx / modules / hwmon.mk
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2019 OpenWrt.org
4
5 define KernelPackage/hwmon-raspberrypi
6 TITLE:=Raspberry Pi voltage monitor
7 KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
8 FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
9 AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
10 $(call AddDepends/hwmon,@TARGET_bcm27xx)
11 endef
12
13 define KernelPackage/hwmon-raspberrypi/description
14 Kernel module for voltage sensor on the Raspberry Pi
15 endef
16
17 $(eval $(call KernelPackage,hwmon-raspberrypi))