mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Introduce dm-framework.mk providing reusable build macros for packages that integrate with the DM Framework: - Build/Compile/DM: Generates C code and shared libraries from JSON data models using json2code.js, compiles them, and creates package-specific .so files - Build/Install/DM: Installs generated libraries, JS handlers, and data model files to the dm-framework directory(dmf) Also adds bridgemngr as the first package utilizing these helpers to implement bridge data model with dm-framework, which can be enabled through flag CONFIG_BRIDGEMNGR_USE_DM_FRAMEWORK. The commit also include changes in bbfdm dm-framework adaption.
28 lines
693 B
Text
28 lines
693 B
Text
if PACKAGE_bridgemngr
|
|
|
|
config BRIDGEMNGR_BRIDGE_VLAN
|
|
bool "Use bridge-vlan backend"
|
|
help
|
|
Set this option to use bridge-vlan as backend for VLAN objects.
|
|
|
|
config BRIDGEMNGR_COPY_PBITS
|
|
bool "Copy pbits from cvlan to svlan"
|
|
default y
|
|
help
|
|
Set this option to copy cvlan pbits to svlan pbits by default (driver vlan).
|
|
|
|
config BRIDGEMNGR_BRIDGE_VENDOR_EXT
|
|
bool "Use bridge BBF vendor extensions"
|
|
default y
|
|
help
|
|
Set this option to use bridge BBF vendor extensions.
|
|
|
|
config BRIDGEMNGR_BRIDGE_VENDOR_PREFIX
|
|
string "Package specific datamodel Vendor Prefix for TR181 extensions"
|
|
default ""
|
|
|
|
config BRIDGEMNGR_USE_DM_FRAMEWORK
|
|
bool "Use new DM framework support"
|
|
default n
|
|
|
|
endif
|