mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
timemngr: package specific vendor extension
This commit is contained in:
parent
a733e610b4
commit
9f54857be0
2 changed files with 12 additions and 2 deletions
|
|
@ -32,4 +32,8 @@ config TIMEMNGR_VENDOR_EXTENSIONS
|
||||||
bool "Iopsys vendor extensions for Device.Time."
|
bool "Iopsys vendor extensions for Device.Time."
|
||||||
depends on PACKAGE_timemngr
|
depends on PACKAGE_timemngr
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config TIMEMNGR_VENDOR_PREFIX
|
||||||
|
string "Package specific datamodel Vendor Prefix for TR181 extensions"
|
||||||
|
default ""
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=timemngr
|
PKG_NAME:=timemngr
|
||||||
PKG_VERSION:=1.1.5
|
PKG_VERSION:=1.1.6
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
|
@ -50,7 +50,13 @@ define Build/Prepare
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET_CFLAGS += -DBBF_VENDOR_PREFIX=\\\"$(CONFIG_BBF_VENDOR_PREFIX)\\\"
|
ifeq ($(CONFIG_TIMEMNGR_VENDOR_PREFIX),"")
|
||||||
|
VENDOR_PREFIX = $(CONFIG_BBF_VENDOR_PREFIX)
|
||||||
|
else
|
||||||
|
VENDOR_PREFIX = $(CONFIG_TIMEMNGR_VENDOR_PREFIX)
|
||||||
|
endif
|
||||||
|
|
||||||
|
TARGET_CFLAGS += -DBBF_VENDOR_PREFIX=\\\"$(VENDOR_PREFIX)\\\"
|
||||||
|
|
||||||
define Package/$(PKG_NAME)/install
|
define Package/$(PKG_NAME)/install
|
||||||
$(INSTALL_DIR) $(1)/etc/timemngr/
|
$(INSTALL_DIR) $(1)/etc/timemngr/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue