Makefile 892 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #
  2. # Copyright (C) 2024 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=wifi-scripts
  9. PKG_VERSION:=1.0
  10. PKG_RELEASE:=1
  11. PKG_LICENSE:=GPL-2.0
  12. PKG_MAINTAINER:=Felix Fietkau <[email protected]>
  13. include $(INCLUDE_DIR)/package.mk
  14. define Package/wifi-scripts
  15. SECTION:=utils
  16. CATEGORY:=Base system
  17. DEPENDS:=+netifd +ucode +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uci
  18. TITLE:=Wi-Fi configuration scripts
  19. PKGARCH:=all
  20. endef
  21. define Package/wifi-scripts/description
  22. A set of scripts that handle setup and configuration of Wi-Fi devices.
  23. endef
  24. define Build/Prepare
  25. endef
  26. define Build/Configure
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/wifi-scripts/install
  31. $(INSTALL_DIR) $(1)
  32. $(CP) ./files/* $(1)/
  33. endef
  34. $(eval $(call BuildPackage,wifi-scripts))