Ticket refs #14209: TR-069: add support for compiling both TR-098 and TR-181 support and make it UCI configurable

This commit is contained in:
Amin Ben Ramdhane 2018-03-01 10:25:29 +01:00 committed by Sukru Senli
parent 55e39205dc
commit 5ea9066e73
2 changed files with 1 additions and 13 deletions

View file

@ -1,14 +1,4 @@
if PACKAGE_libdatamodel
choice
prompt "Select Data Model"
default tr098
config DATAMODEL_TR098
bool "TR-098"
config DATAMODEL_TR181
bool "TR-181"
endchoice
config UPNP_TR064
bool "Compile with tr064 features"

View file

@ -111,9 +111,7 @@ ifeq ($(CONFIG_XMPP_ENABLE),y)
CONFIGURE_ARGS += \
--enable-xmpp
endif
CONFIGURE_ARGS += $(if $(CONFIG_DATAMODEL_TR181),--enable-datamodel=tr181,--enable-datamodel=tr098)
ifeq ($(BUILD_VARIANT),zstream)
CONFIGURE_ARGS += \
--enable-http=zstream \