mirror of
https://github.com/opnsense/src.git
synced 2026-03-28 05:33:12 -04:00
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
13 lines
336 B
Makefile
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>
|