summaryrefslogtreecommitdiffstats
path: root/package/erlang/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-04 21:28:21 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-04 21:28:21 +0100
commitfe430adc2868f6317bab8e73625a0f32181b7ad7 (patch)
tree845e3f4ebc5a5f90673c422baaf10bb7732ea6e0 /package/erlang/Config.in
parent4a9df2942470241d7a96f326f0e7012aacd36f2e (diff)
downloadbuildroot-fe430adc2868f6317bab8e73625a0f32181b7ad7.tar.gz
buildroot-fe430adc2868f6317bab8e73625a0f32181b7ad7.zip
erlang: fix comment dependencies
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>
Diffstat (limited to 'package/erlang/Config.in')
-rw-r--r--package/erlang/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/erlang/Config.in b/package/erlang/Config.in
index 51c72cb2b5..625b7c1b82 100644
--- a/package/erlang/Config.in
+++ b/package/erlang/Config.in
@@ -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"
OpenPOWER on IntegriCloud