summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-06-02 09:41:06 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-06-02 23:02:31 +0200
commit110a8d43c16390f949ec9131b30c24381757b1bf (patch)
tree1380d63e8ec65b795c9dc876fcc24891d091ce47
parenteb1256c4011949541c1566d653ba98ff95f8c2a3 (diff)
samba4: enable for uclibc-ng
uClibc-ng has the required functionality for samba 4.2.x without the need for any special tricks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/samba4/Config.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/samba4/Config.in b/package/samba4/Config.in
index 57adadd34..db8c91d78 100644
--- a/package/samba4/Config.in
+++ b/package/samba4/Config.in
@@ -1,10 +1,16 @@
-comment "samba4 needs an (e)glibc toolchain"
- depends on !BR2_TOOLCHAIN_USES_GLIBC
+comment "samba4 needs an (e)glibc or uClibc-ng toolchain w/ RPC, wchar"
+ depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_UCLIBC_VERSION_NG
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ depends on BR2_USE_MMU
config BR2_PACKAGE_SAMBA4
bool "samba4"
depends on !BR2_PACKAGE_SAMBA
- depends on BR2_TOOLCHAIN_USES_GLIBC # needs $ORIGIN support
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_WCHAR # e2fsprogs
+ depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ # needs $ORIGIN support
+ depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_UCLIBC_VERSION_NG
depends on !BR2_nios2 # binary too large, relocations don't fit
select BR2_PACKAGE_E2FSPROGS
select BR2_PACKAGE_POPT