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>
2017.08.x
Adam Duskett 2017-06-15 08:13:13 -04:00 committed by Thomas Petazzoni
parent 0c14c1f5e6
commit 6842b6774a
2 changed files with 10 additions and 0 deletions

View File

@ -81,6 +81,10 @@ config BR2_PACKAGE_JANUS_REST
comment "REST transport needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_JANUS_UNIX_SOCKETS
bool "Unix Sockets"
default y
config BR2_PACKAGE_JANUS_WEBSOCKETS
bool "WebSockets"
depends on BR2_USE_MMU

View File

@ -104,6 +104,12 @@ else
JANUS_GATEWAY_CONF_OPTS += --disable-rest
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)
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
JANUS_GATEWAY_CONF_OPTS += --enable-websockets