mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
userinterface: vendor extension for FirstLogin
This commit is contained in:
parent
dfe2af4643
commit
0cb9aac1f1
2 changed files with 23 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue