mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
Move the NETLINK define into opt_global.h so we can rely on it being
set correctly, without having to remember to include opt_netlink.h.
This ensures that the NETLINK define is correctly set. If not we
may end up with unloadable modules, due to missing symbols (such as
nlmsg_get_group_writer).
PR: 274306
Reviewed by: imp, markj
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D42179
(cherry picked from commit ab393e9548)
12 lines
169 B
Makefile
12 lines
169 B
Makefile
|
|
PACKAGE= tests
|
|
|
|
SYSDIR?=${SRCTOP}/sys
|
|
.include "${SYSDIR}/conf/kern.opts.mk"
|
|
|
|
.PATH: ${SYSDIR}/tests
|
|
|
|
KMOD= ktest_example
|
|
SRCS= ktest_example.c
|
|
|
|
.include <bsd.kmod.mk>
|