mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 02:20:51 +01:00
Add warning to the Linuxulator makefiles that building it outside of a
kernel does not make sence. PR: 222861 MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20179
This commit is contained in:
parent
c5156c7785
commit
6e4cf32e95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347540
@ -7,4 +7,8 @@ SRCS= vnode_if.h \
|
||||
device_if.h bus_if.h \
|
||||
linprocfs.c
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.warning Building Linuxulator outside of a kernel does not make sense
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -7,4 +7,8 @@ SRCS= vnode_if.h \
|
||||
device_if.h bus_if.h pci_if.h \
|
||||
linsysfs.c
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.warning Building Linuxulator outside of a kernel does not make sense
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -80,4 +80,8 @@ ${VDSO}.so: linux${SFX}_locore.o
|
||||
linux${SFX}_genassym.o: offset.inc
|
||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC}
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.warning Building Linuxulator outside of a kernel does not make sense
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -55,4 +55,8 @@ linux_support.o: assym.inc linux_assym.h
|
||||
linux_genassym.o: offset.inc
|
||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC}
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.warning Building Linuxulator outside of a kernel does not make sense
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -15,4 +15,8 @@ EXPORT_SYMS+= linux_ioctl_unregister_handler
|
||||
EXPORT_SYMS+= linux_get_osname
|
||||
EXPORT_SYMS+= linux_get_osrelease
|
||||
|
||||
.if !defined(KERNBUILDDIR)
|
||||
.warning Building Linuxulator outside of a kernel does not make sense
|
||||
.endif
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user