userinterface: vendor extension for FirstLogin

This commit is contained in:
Vivek Kumar Dutta 2025-10-21 12:08:44 +05:30
parent dfe2af4643
commit 0cb9aac1f1
No known key found for this signature in database
GPG key ID: 4E09F5AD8265FD4C
2 changed files with 23 additions and 2 deletions

View file

@ -20,4 +20,16 @@ config USERINTERFACE_HTTPACCESS_MIGRATE_NGINX_CONFIG
default n
help
Migrate nginx to userinterface on firmware upgrade
config USERINTERFACE_VENDOR_EXTENSIONS
bool "Include vendor extensions for UserInterface object"
default y
help
Includes datamodel Vendor extensions for UserIntercace object
config USERINTERFACE_VENDOR_PREFIX
depends on USERINTERFACE_VENDOR_EXTENSIONS
string "Vendor Prefix for userinterface datamodel extensions"
default ""
endif

View file

@ -5,13 +5,13 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=userinterface
PKG_VERSION:=1.1.8
PKG_VERSION:=1.1.9
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/userinterface.git
PKG_SOURCE_VERSION:=a5970a83b8ac79c4577edc6a994b850cdbe1c82f
PKG_SOURCE_VERSION:=52f8bff5941c5e91d7ed8eed33cf5adf364960c5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_MIRROR_HASH:=skip
endif
@ -42,6 +42,15 @@ define Package/$(PKG_NAME)/config
source "$(SOURCE)/Config.in"
endef
ifeq ($(CONFIG_USERINTERFACE_VENDOR_EXTENSIONS),y)
TARGET_CFLAGS += -DUSERINTERFACE_VENDOR_EXTENSIONS
ifeq ($(CONFIG_USERINTERFACE_VENDOR_PREFIX),"")
TARGET_CFLAGS += -DBBF_VENDOR_PREFIX=\\\"$(CONFIG_BBF_VENDOR_PREFIX)\\\"
else
TARGET_CFLAGS += -DBBF_VENDOR_PREFIX=\\\"$(CONFIG_USERINTERFACE_VENDOR_PREFIX)\\\"
endif
endif
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
$(CP) -rf ~/git/userinterface/* $(PKG_BUILD_DIR)/