erlang: fix comment dependencies
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Jan 2015 20:28:21 +0000 (21:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Jan 2015 20:28:21 +0000 (21:28 +0100)
The comment was missing the dependency on BR2_USE_MMU, and was using
'depends on !BR2_TOOLCHAIN_HAS_THREADS && BR2_STATIC_LIBS' while it
should in fact be '!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS',
since we want show the comment *either* when we don't have threads
*or* when we are building a purely static lib system.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/erlang/Config.in

index 51c72cb2b50161ae13be144de8c78e6b49cab4ec..625b7c1b829fa951c50e6b842ce8051710e8a4c2 100644 (file)
@@ -1,6 +1,7 @@
 comment "erlang needs a toolchain w/ threads, shared library"
+       depends on BR2_USE_MMU # fork()
        depends on BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS && BR2_STATIC_LIBS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_ERLANG
        bool "erlang"