Error out early if people try to build mount with nfs support
using uClibc, but have not enabled UCLIBC_HAS_RPC... -Erik
This commit is contained in:
parent
680ec6eeae
commit
d9fe958921
@ -54,6 +54,12 @@
|
||||
#include <ctype.h>
|
||||
#include "busybox.h"
|
||||
|
||||
#ifdef CONFIG_NFSMOUNT
|
||||
#if defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
|
||||
#error "You need to build uClibc with UCLIBC_HAS_RPC for busybox mount with NFS support to compile."
|
||||
#endif
|
||||
#endif
|
||||
|
||||
enum {
|
||||
MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
|
||||
MS_RDONLY = 1, /* Mount read-only */
|
||||
|
Loading…
Reference in New Issue
Block a user