82967ff0b8
Otherwise a kernel build would break in the coda5 module if the main kernel conf file enabled CODA_COMPAT_5, too. Redefined symbols are strictly disallowed by -Werror. To overcome this issue, introduce a different symbol indicating coda5 build, CODA5_MODULE, and translate it to CODA_COMPAT_5 appropriately in /sys/coda/coda.h. MFC after: 3 days
14 lines
235 B
Makefile
14 lines
235 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../coda
|
|
|
|
KMOD= coda5
|
|
SRCS= vnode_if.h \
|
|
coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
|
|
coda_venus.c coda_vfsops.c coda_vnops.c \
|
|
opt_coda.h
|
|
|
|
CFLAGS+= -DCODA5_MODULE
|
|
|
|
.include <bsd.kmod.mk>
|