wifimngr: 17.7.4

This commit is contained in:
Janusz Dziedzic 2025-05-28 05:24:40 +00:00
parent 879b473d20
commit ece7e8f22c
2 changed files with 20 additions and 2 deletions

10
wifimngr/Config.in Normal file
View file

@ -0,0 +1,10 @@
if (PACKAGE_wifimngr)
menu "Configurations"
config WIFIMNGR_CACHE_SCANRESULTS
bool "Cache scan results"
default y
endmenu
endif

View file

@ -5,12 +5,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=wifimngr
PKG_VERSION:=17.7.3
PKG_VERSION:=17.7.4
LOCAL_DEV=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=c12a4de29004c4eb9b69fef65b74ead2ce65ab3f
PKG_SOURCE_VERSION:=ec83dbdd4a538b004af72290997573dd36d37969
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/wifimngr.git
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)_$(PKG_SOURCE_VERSION).tar.xz
@ -48,6 +48,10 @@ TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE
ifeq ($(CONFIG_WIFIMNGR_CACHE_SCANRESULTS),y)
TARGET_CFLAGS += -DWIFI_CACHE_SCANRESULTS
endif
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
rsync -r --exclude=.* ~/git/wifimngr/ $(PKG_BUILD_DIR)/
@ -60,4 +64,8 @@ define Package/wifimngr/install
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wifimngr $(1)/usr/sbin/
endef
define Package/wifimngr/config
source "$(SOURCE)/Config.in"
endef
$(eval $(call BuildPackage,wifimngr))