mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
b6cfbecafb
The AFS filesystem depends at the moment on /proc for configuration and also presents information that way - however, this causes a compilation failure if procfs is disabled. Fix it so that the procfs bits aren't compiled in if procfs is disabled. This means that you can't configure the AFS filesystem directly, but it is still usable provided that an up-to-date keyutils is installed to look up cells by SRV or AFSDB DNS records. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: David Howells <dhowells@redhat.com>
38 lines
527 B
Makefile
38 lines
527 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Red Hat Linux AFS client.
|
|
#
|
|
|
|
afs-cache-$(CONFIG_AFS_FSCACHE) := cache.o
|
|
|
|
kafs-y := \
|
|
$(afs-cache-y) \
|
|
addr_list.o \
|
|
callback.o \
|
|
cell.o \
|
|
cmservice.o \
|
|
dir.o \
|
|
dir_edit.o \
|
|
dynroot.o \
|
|
file.o \
|
|
flock.o \
|
|
fsclient.o \
|
|
inode.o \
|
|
main.o \
|
|
misc.o \
|
|
mntpt.o \
|
|
rotate.o \
|
|
rxrpc.o \
|
|
security.o \
|
|
server.o \
|
|
server_list.o \
|
|
super.o \
|
|
netdevices.o \
|
|
vlclient.o \
|
|
volume.o \
|
|
write.o \
|
|
xattr.o
|
|
|
|
kafs-$(CONFIG_PROC_FS) += proc.o
|
|
obj-$(CONFIG_AFS_FS) := kafs.o
|