aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2017-06-15 08:13:13 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-20 23:09:49 +0200
commit6842b6774a2c7661af23ea681fcd3ae088160f34 (patch)
treeab5edce80165989a7eacf55786b7fb1345024b93
parent0c14c1f5e679a2009f9253d051ea6e274d54e367 (diff)
downloadbuildroot-6842b6774a2c7661af23ea681fcd3ae088160f34.tar.gz
buildroot-6842b6774a2c7661af23ea681fcd3ae088160f34.tar.bz2
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>
-rw-r--r--package/janus-gateway/Config.in4
-rw-r--r--package/janus-gateway/janus-gateway.mk6
2 files changed, 10 insertions, 0 deletions
diff --git a/package/janus-gateway/Config.in b/package/janus-gateway/Config.in
index b0e4ae9260..5bd4e9586b 100644
--- a/package/janus-gateway/Config.in
+++ b/package/janus-gateway/Config.in
@@ -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
diff --git a/package/janus-gateway/janus-gateway.mk b/package/janus-gateway/janus-gateway.mk
index b19ed54d91..b32fc9ac56 100644
--- a/package/janus-gateway/janus-gateway.mk
+++ b/package/janus-gateway/janus-gateway.mk
@@ -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