summaryrefslogtreecommitdiffstats
path: root/sys/modules/linux
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-01 17:53:56 +0000
committerbde <bde@FreeBSD.org>1998-02-01 17:53:56 +0000
commitc9dfcc430a4693865e51588e8699d35e2621135d (patch)
treea508c3e6cc10e8d375f44e6edf24e3b9d8938318 /sys/modules/linux
parent88e9a981725144a84636aa162d99b03a6fb8f141 (diff)
downloadFreeBSD-src-c9dfcc430a4693865e51588e8699d35e2621135d.zip
FreeBSD-src-c9dfcc430a4693865e51588e8699d35e2621135d.tar.gz
Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
Diffstat (limited to 'sys/modules/linux')
-rw-r--r--sys/modules/linux/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile
index 656dda2..e5f786f 100644
--- a/sys/modules/linux/Makefile
+++ b/sys/modules/linux/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.11 1997/02/22 12:48:23 peter Exp $
+# $Id: Makefile,v 1.12 1997/12/16 18:45:50 eivind Exp $
.PATH: ${.CURDIR}/../../sys/i386/linux
KMOD= linux_mod
@@ -9,9 +9,9 @@ SRCS= linux.c linux_file.c linux_ioctl.c linux_misc.c linux_signal.c \
OBJS= linux_locore.o
MAN8= linux.8
-CFLAGS+= -DLKM -I. -DCOMPAT_LINUX #-DDEBUG
+CFLAGS+= -DLKM -DCOMPAT_LINUX #-DDEBUG
EXPORT_SYMS=_linux_mod
-CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym machine \
+CLEANFILES+= vnode_if.h vnode_if.c linux_genassym.o linux_genassym \
linux_assym.h opt_compat.h
linux_assym.h: linux_genassym
@@ -27,14 +27,9 @@ linux_genassym.o: linux_genassym.c linux.h
linux_genassym: linux_genassym.o
${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}
-machine:
- ln -fs ${.CURDIR}/../../sys/i386/include machine
-
opt_compat.h:
echo "#define COMPAT_43 1" > opt_compat.h
-vnode_if.h: machine
-
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/linux ${DESTDIR}/usr/bin
OpenPOWER on IntegriCloud