From ece7e8f22cb90df94817de4d8da0035fc85773de Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic Date: Wed, 28 May 2025 05:24:40 +0000 Subject: [PATCH] wifimngr: 17.7.4 --- wifimngr/Config.in | 10 ++++++++++ wifimngr/Makefile | 12 ++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 wifimngr/Config.in diff --git a/wifimngr/Config.in b/wifimngr/Config.in new file mode 100644 index 000000000..6a9477b68 --- /dev/null +++ b/wifimngr/Config.in @@ -0,0 +1,10 @@ +if (PACKAGE_wifimngr) + +menu "Configurations" + +config WIFIMNGR_CACHE_SCANRESULTS + bool "Cache scan results" + default y + +endmenu +endif diff --git a/wifimngr/Makefile b/wifimngr/Makefile index 69b5abf18..87e8d79e9 100644 --- a/wifimngr/Makefile +++ b/wifimngr/Makefile @@ -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 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))