package/libwebsockets: remove dependency on mmu

Six years ago, commit b6b5bb518d added the MMU
dependency for the libwebsockets package. However, according to the git
history of the CMakeLists.txt file, libwebsockets has supported the vfork
function for at least the last five years.

After testing with the qemu_arm_versatile_nommu_defconfig and the
br-arm-cortex-m4-full.config file, no errors occurred when building
libwebsockets without MMU support.

Remove the dependency; it is no longer necessary. Update the reverse
dependencies as needed.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Adam Duskett 2020-07-25 19:28:57 -07:00 committed by Thomas Petazzoni
parent e90729b5b1
commit ad953b0149
3 changed files with 1 additions and 3 deletions

View File

@ -84,7 +84,6 @@ config BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS
config BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS
bool "WebSockets"
depends on BR2_USE_MMU
select BR2_PACKAGE_LIBWEBSOCKETS
endif

View File

@ -1,6 +1,5 @@
config BR2_PACKAGE_LIBWEBSOCKETS
bool "libwebsockets"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_ZLIB
help
Libwebsockets is a lightweight pure C library built to use

View File

@ -3,7 +3,7 @@ config BR2_PACKAGE_TTYD
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv, json-c
depends on BR2_USE_MMU # libuv, libwebsockets
depends on BR2_USE_MMU # libuv
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_LIBUV
select BR2_PACKAGE_LIBWEBSOCKETS