Files
luci/modules/luci-mod-battstatus/Makefile
Coia Prant d42dce3ea2 luci-mod-battstatus: preparing for other devices
For standard devices, we can read from `/sys/class/power_supply`

Add board checks to implement different solutions for different boards

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-09-29 17:40:44 +02:00

20 lines
407 B
Makefile

#
# Copyright (C) 2020 Russell Morris <rmorris@rkmorris.us>
#
# This is free software, licensed under the Apache License, Version 2.0 .
#
include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI Battery Status
LUCI_DESCRIPTION:=Provides a battery charge indicator in LuCI.
LUCI_DEPENDS:=+luci-base +libi2c +i2c-tools
PKG_LICENSE:=Apache-2.0
include ../../luci.mk
# call BuildPackage - OpenWrt buildroot signature