mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-19 15:51:15 +01:00
iwinfo: drop @!WIFI_SCRIPTS_UCODE dependency
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
Make the package empty if ucode wifi scripts are being used (since iwinfo is provided by wifi-scripts in that case). This fixes packages that explicitly select iwinfo Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
37770c503b
commit
30b35ff5ae
1 changed files with 9 additions and 3 deletions
|
|
@ -63,7 +63,7 @@ define Package/iwinfo
|
|||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Generalized Wireless Information utility
|
||||
DEPENDS:=+libiwinfo @!WIFI_SCRIPTS_UCODE
|
||||
DEPENDS:=+@!WIFI_SCRIPTS_UCODE:libiwinfo
|
||||
endef
|
||||
|
||||
define Package/iwinfo/description
|
||||
|
|
@ -111,10 +111,16 @@ define Package/libiwinfo-data/install
|
|||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/devices.txt $(1)/usr/share/libiwinfo/devices.txt
|
||||
endef
|
||||
|
||||
define Package/iwinfo/install
|
||||
ifdef CONFIG_WIFI_SCRIPTS_UCODE
|
||||
define Package/iwinfo/install
|
||||
:
|
||||
endef
|
||||
else
|
||||
define Package/iwinfo/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iwinfo $(1)/usr/bin/iwinfo
|
||||
endef
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(call BuildPackage,libiwinfo))
|
||||
$(eval $(call BuildPackage,libiwinfo-lua))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue