Define _LKM so that these are more likely to compile.
This commit is contained in:
parent
5b75863870
commit
dd50ce9f3d
|
@ -33,7 +33,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.7 1997/10/23 23:16:51 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1999/11/10 00:44:22 wrstuden Exp $
|
||||
#
|
||||
|
||||
SRCS=miscmod.c
|
||||
|
@ -45,7 +45,7 @@ KOBJS=misccall.o
|
|||
MODOBJ=combined.o
|
||||
|
||||
KMOD=miscmod
|
||||
CFLAGS= -D_KERNEL -I/sys
|
||||
CFLAGS= -D_LKM -D_KERNEL -I/sys
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.7 1997/10/23 23:16:52 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.8 1999/11/10 00:44:22 wrstuden Exp $
|
||||
#
|
||||
|
||||
SRCS=newsyscall.c
|
||||
|
@ -45,7 +45,7 @@ KOBJS=mycall.o
|
|||
MODOBJ=combined.o
|
||||
|
||||
KMOD=newsyscall
|
||||
CFLAGS= -D_KERNEL -I/sys
|
||||
CFLAGS= -D_LKM -D_KERNEL -I/sys
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.9 1997/11/08 08:09:05 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.10 1999/11/10 00:44:22 wrstuden Exp $
|
||||
#
|
||||
|
||||
SRCS=kernfsmod.c
|
||||
|
@ -45,7 +45,7 @@ KOBJS=kernfs_vfsops.o kernfs_vnops.o
|
|||
MODOBJ=combined.o
|
||||
|
||||
KMOD=kernfsmod
|
||||
CFLAGS= -D_KERNEL -I/sys -I.
|
||||
CFLAGS= -D_LKM -D_KERNEL -I/sys -I.
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
|
Loading…
Reference in New Issue