1
0

Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=umbim
  3. PKG_RELEASE:=24
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=$(PROJECT_GIT)/umbim.git
  6. PKG_SOURCE_DATE:=2022-08-13
  7. PKG_SOURCE_VERSION:=146bc77c98ace3d1cc672986669650d2e1da71f3
  8. PKG_MIRROR_HASH:=3cf04858ff5c3f529904f9789b094aa9645ad41c91f553e6fc3fcd3cb341d359
  9. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  10. PKG_LICENSE:=GPL-2.0
  11. PKG_LICENSE_FILES:=
  12. PKG_FLAGS:=nonshared
  13. PKG_BUILD_FLAGS:=gc-sections
  14. include $(INCLUDE_DIR)/package.mk
  15. include $(INCLUDE_DIR)/cmake.mk
  16. define Package/umbim
  17. SECTION:=net
  18. CATEGORY:=Network
  19. SUBMENU:=WWAN
  20. DEPENDS:=+libubox +kmod-usb-net +kmod-usb-net-cdc-mbim +wwan
  21. TITLE:=Control utility for mobile broadband modems
  22. endef
  23. define Package/umbim/description
  24. umbim is a command line tool for controlling mobile broadband modems using
  25. the MBIM-protocol.
  26. endef
  27. TARGET_CFLAGS += \
  28. -I$(STAGING_DIR)/usr/include
  29. define Package/umbim/install
  30. $(INSTALL_DIR) $(1)/sbin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/umbim $(1)/sbin/
  32. $(CP) ./files/* $(1)/
  33. endef
  34. $(eval $(call BuildPackage,umbim))