mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
d5c4f24b2a
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
18 lines
515 B
Makefile
18 lines
515 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2019 OpenWrt.org
|
|
|
|
define KernelPackage/hwmon-raspberrypi
|
|
TITLE:=Raspberry Pi voltage monitor
|
|
KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
|
|
FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
|
|
AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
|
|
$(call AddDepends/hwmon,@TARGET_bcm27xx)
|
|
endef
|
|
|
|
define KernelPackage/hwmon-raspberrypi/description
|
|
Kernel module for voltage sensor on the Raspberry Pi
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,hwmon-raspberrypi))
|