mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
janus-gateway: add websockets to transport section
Signed-off-by: Adam Duskett <aduskett@codeblue.com> [Thomas: propagate BR2_USE_MMU dependency.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
2083c40b54
commit
b447ed4a84
@@ -64,6 +64,11 @@ config BR2_PACKAGE_JANUS_REST
|
||||
comment "REST transport needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_JANUS_WEBSOCKETS
|
||||
bool "WebSockets"
|
||||
depends on BR2_USE_MMU
|
||||
select BR2_PACKAGE_LIBWEBSOCKETS
|
||||
|
||||
endif
|
||||
|
||||
comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar"
|
||||
|
||||
@@ -84,13 +84,6 @@ else
|
||||
JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y)
|
||||
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
|
||||
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
|
||||
else
|
||||
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JANUS_REST),y)
|
||||
JANUS_GATEWAY_DEPENDENCIES += libmicrohttpd
|
||||
JANUS_GATEWAY_CONF_OPTS += --enable-rest
|
||||
@@ -98,6 +91,13 @@ else
|
||||
JANUS_GATEWAY_CONF_OPTS += --disable-rest
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JANUS_WEBSOCKETS),y)
|
||||
JANUS_GATEWAY_DEPENDENCIES += libwebsockets
|
||||
JANUS_GATEWAY_CONF_OPTS += --enable-websockets
|
||||
else
|
||||
JANUS_GATEWAY_CONF_OPTS += --disable-websockets
|
||||
endif
|
||||
|
||||
# Parallel build broken
|
||||
JANUS_GATEWAY_MAKE = $(MAKE1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user