1 include $(TOPDIR
)/rules.mk
7 PKG_MAINTAINER
:=Nuno Goncalves
<nunojpg@gmail.com
>
8 PKG_LICENSE
:=GPL-3.0
-or-later
10 include $(INCLUDE_DIR
)/package.mk
11 include $(INCLUDE_DIR
)/cmake.mk
13 define Package
/gl-puli-mcu
16 TITLE
:=GL.iNet GL-XE300
(Puli
) power monitoring support
17 DEPENDS
:=+kmod-usb-serial-ch341
+libubus
+libubox
20 define Package
/gl-puli-mcu
/description
21 Interfaces with GL-XE300
(Puli
) power monitoring MCU over
22 a USB to UART adapter present on the device and provides
23 battery SOC
, temperature
, charging state and cycle count at
27 define Package
/gl-puli-mcu
/install
29 $(INSTALL_DIR
) $(1)/usr
/sbin
30 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/gl-puli-mcu
$(1)/usr
/sbin
/
33 $(eval
$(call BuildPackage
,gl-puli-mcu
))