2 # Copyright (C) 2024 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=wifi-scripts
15 PKG_MAINTAINER
:=Felix Fietkau
<nbd@nbd.name
>
16 PKG_CONFIG_DEPENDS
:=CONFIG_WIFI_SCRIPTS_UCODE
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/wifi-scripts
23 DEPENDS
:=+netifd
+ucode
+ucode-mod-nl80211
+ucode-mod-rtnl
+ucode-mod-ubus
+ucode-mod-uci
+ucode-mod-digest
24 TITLE
:=Wi-Fi configuration scripts
28 define Package
/wifi-scripts
/config
29 source
"$(SOURCE)/Config.in"
32 define Package
/wifi-scripts
/description
33 A set of scripts that handle setup and configuration of Wi-Fi devices.
39 define Build
/Configure
45 define Package
/wifi-scripts
/install
48 ifeq ($(CONFIG_WIFI_SCRIPTS_UCODE
),y
)
49 $(CP
) .
/files-ucode
/* $(1)/
53 $(eval
$(call BuildPackage
,wifi-scripts
))