Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

NFSD: Add instructions on how to deal with xdrgen files

xdrgen requires a number of Python packages on the build system. We
don't want to add these to the kernel build dependency list, which
is long enough already.

The generated files are generated manually using

$ cd fs/nfsd && make xdrgen

whenever the .x files are modified, then they are checked into the
kernel repo so others do not need to rebuild them.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

+9 -1
+9 -1
fs/nfsd/Makefile
··· 26 26 nfsd-$(CONFIG_NFS_LOCALIO) += localio.o 27 27 nfsd-$(CONFIG_DEBUG_FS) += debugfs.o 28 28 29 - 29 + # 30 + # XDR code generation (requires Python and additional packages) 31 + # 32 + # The generated *xdr_gen.{h,c} files are checked into git. Normal kernel 33 + # builds do not require the xdrgen tool or its Python dependencies. 34 + # 35 + # Developers modifying .x files in Documentation/sunrpc/xdr/ should run 36 + # "make xdrgen" to regenerate the affected files. 37 + # 30 38 .PHONY: xdrgen 31 39 32 40 xdrgen: ../../include/linux/sunrpc/xdrgen/nfs4_1.h nfs4xdr_gen.h nfs4xdr_gen.c