hwmon.mk 515 B

1234567891011121314151617
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Copyright (C) 2019 OpenWrt.org
  4. define KernelPackage/hwmon-raspberrypi
  5. TITLE:=Raspberry Pi voltage monitor
  6. KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
  7. FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
  8. AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
  9. $(call AddDepends/hwmon,@TARGET_bcm27xx)
  10. endef
  11. define KernelPackage/hwmon-raspberrypi/description
  12. Kernel module for voltage sensor on the Raspberry Pi
  13. endef
  14. $(eval $(call KernelPackage,hwmon-raspberrypi))