Wrap changes from svn r212126 inside LOADER_NFS_SUPPORT such that
using LOADER_TFTP_SUPPORT excludes this code. Fixes compilation of pxeldr with -DLOADER_TFTP_SUPPORT Applicable to stable/9 and stable/8 now. This appears to not be needed on stable/7 as r212126 has not been MFC'd. Obtained from: Yahoo! Inc. MFC after: 2 weeks
This commit is contained in:
parent
e9eb3a867c
commit
142940515e
@ -405,6 +405,7 @@ pxe_perror(int err)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef LOADER_NFS_SUPPORT
|
||||
/*
|
||||
* Reach inside the libstand NFS code and dig out an NFS handle
|
||||
* for the root filesystem.
|
||||
@ -515,6 +516,7 @@ pxe_setnfshandle(char *rootpath)
|
||||
setenv("boot.nfsroot.nfshandlelen", buf, 1);
|
||||
}
|
||||
#endif /* OLD_NFSV2 */
|
||||
#endif /* LOADER_NFS_SUPPORT */
|
||||
|
||||
void
|
||||
pxenv_call(int func)
|
||||
|
Loading…
Reference in New Issue
Block a user