opnsense-src/sys/modules/fusefs/Makefile
Alan Somers 43d1e6ee29 Use symlinks for kernel modules rather than hardlinks
When aliasing a kernel module to a different name (ie if_igb for if_em),
it's better to use symlinks than hard links. kldxref will omit entries for
the links, ensuring that the loaded module has the correct name.

Reviewed by:	imp
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19979
2019-04-20 12:51:05 +00:00

13 lines
336 B
Makefile

# $FreeBSD$
.PATH: ${SRCTOP}/sys/fs/fuse
KMOD= fusefs
SRCS= vnode_if.h \
fuse_node.c fuse_io.c fuse_device.c fuse_ipc.c fuse_file.c \
fuse_vfsops.c fuse_vnops.c fuse_internal.c fuse_main.c
# Symlink for backwards compatibility with systems installed at 12.0 or older
SYMLINKS= ${KMOD}.ko ${KMODDIR}/fuse.ko
.include <bsd.kmod.mk>