janus-gateway: add unix-sockets to transport section
Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: alphabetic ordering.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0c14c1f5e6
commit
6842b6774a
|
@ -81,6 +81,10 @@ config BR2_PACKAGE_JANUS_REST
|
||||||
comment "REST transport needs a toolchain w/ threads"
|
comment "REST transport needs a toolchain w/ threads"
|
||||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||||
|
|
||||||
|
config BR2_PACKAGE_JANUS_UNIX_SOCKETS
|
||||||
|
bool "Unix Sockets"
|
||||||
|
default y
|
||||||
|
|
||||||
config BR2_PACKAGE_JANUS_WEBSOCKETS
|
config BR2_PACKAGE_JANUS_WEBSOCKETS
|
||||||
bool "WebSockets"
|
bool "WebSockets"
|
||||||
depends on BR2_USE_MMU
|
depends on BR2_USE_MMU
|
||||||
|
|
|
@ -104,6 +104,12 @@ else
|
||||||
JANUS_GATEWAY_CONF_OPTS += --disable-rest
|
JANUS_GATEWAY_CONF_OPTS += --disable-rest
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_JANUS_UNIX_SOCKETS),y)
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --enable-unix-sockets
|
||||||
|
else
|
||||||
|
JANUS_GATEWAY_CONF_OPTS += --disable-unix-sockets
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_JANUS_WEBSOCKETS),y)
|
ifeq ($(BR2_PACKAGE_JANUS_WEBSOCKETS),y)
|
||||||
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
|
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
|
||||||
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
|
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
|
||||||
|
|
Loading…
Reference in a new issue