64c10ae691
Commit 182520a8af
adds rpcbind as a dependency
without properly caring for the thread dependency.
rpcbind adds libtirpc as a dependendency which fails:
fatal error: pthread.h: No such file or directory
Since we probably don't care much about using nfs-utils in a non-threaded
scenario, we simply disable nfs-utils for toolchains without thread support.
Fixes:
http://autobuild.buildroot.net/results/803/80321de8d4c6c0a00439b07289a5818962128b43/
Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
38 lines
806 B
Plaintext
38 lines
806 B
Plaintext
comment "nfs-utils needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_NFS_UTILS
|
|
bool "nfs-utils"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
|
|
select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
|
select BR2_PACKAGE_RPCBIND # runtime
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
The NFS Linux kernel server.
|
|
|
|
http://sourceforge.net/projects/nfs
|
|
|
|
if BR2_PACKAGE_NFS_UTILS
|
|
|
|
menu "NFS utilities selection"
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPCDEBUG
|
|
bool "rpcdebug"
|
|
help
|
|
The RPC debugging utility
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD
|
|
bool "rpc.lockd"
|
|
help
|
|
NFS lock manager for Linux kernels older than 2.4
|
|
|
|
config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD
|
|
bool "rpc.rquotad"
|
|
help
|
|
NFS remote quota server
|
|
|
|
endmenu
|
|
|
|
endif
|