mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
In this case, disable wrapping of fake opt_*.h targets in
"if defined(KERNBUILDDIR)" for now since the new way of building modules with the kernel can't handle dynamic SRCS depending on build options yet.
This commit is contained in:
parent
8cc2581b3d
commit
e462145e3b
1 changed files with 4 additions and 2 deletions
|
|
@ -9,7 +9,9 @@ SRCS= if_gif.c in_gif.c opt_inet.h opt_inet6.h opt_mac.h \
|
|||
SRCS+= in6_gif.c
|
||||
.endif
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
# XXX The new way of building modules with the kernel can't handle
|
||||
# dynamic SRCS depending on build options yet.
|
||||
##.if !defined(KERNBUILDDIR)
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > ${.TARGET}
|
||||
|
||||
|
|
@ -20,6 +22,6 @@ opt_inet6.h:
|
|||
|
||||
opt_mrouting.h:
|
||||
echo "#define MROUTING 1" > ${.TARGET}
|
||||
.endif
|
||||
##.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
|
|
|||
Loading…
Reference in a new issue