mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
userinterface: vendor extension for FirstLogin
(cherry picked from commit 0cb9aac1f1)
Co-authored-by: Vivek Kumar Dutta <vivek.dutta@iopsys.eu>
This commit is contained in:
parent
16d94a6628
commit
e4274b9c15
2 changed files with 22 additions and 1 deletions
|
|
@ -20,4 +20,16 @@ config USERINTERFACE_HTTPACCESS_MIGRATE_NGINX_CONFIG
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Migrate nginx to userinterface on firmware upgrade
|
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
|
endif
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/bbf/userinterface.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_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||||
PKG_MIRROR_HASH:=skip
|
PKG_MIRROR_HASH:=skip
|
||||||
endif
|
endif
|
||||||
|
|
@ -42,6 +42,15 @@ define Package/$(PKG_NAME)/config
|
||||||
source "$(SOURCE)/Config.in"
|
source "$(SOURCE)/Config.in"
|
||||||
endef
|
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)
|
ifeq ($(LOCAL_DEV),1)
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(CP) -rf ~/git/userinterface/* $(PKG_BUILD_DIR)/
|
$(CP) -rf ~/git/userinterface/* $(PKG_BUILD_DIR)/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue