janus-gateway: add unix-sockets to transport section
authorAdam Duskett <Aduskett@gmail.com>
Thu, 15 Jun 2017 12:13:13 +0000 (08:13 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Jun 2017 21:09:49 +0000 (23:09 +0200)
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: alphabetic ordering.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/janus-gateway/Config.in
package/janus-gateway/janus-gateway.mk

index b0e4ae9260590325170fa8ddbf4b1099e2a61a76..5bd4e9586bde54903a772657a0682f5a49d45c64 100644 (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
index b19ed54d91942949849a23ce38b552b908b4a811..b32fc9ac5695b65aeaa223fdb0331a8cd85ce84f 100644 (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