summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-03-02 21:01:25 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-03-02 21:01:25 +0000
commit0fb628651b3c2fa5e0eb6894c82cad0d1485dfe9 (patch)
tree1d7c837bfdd5ddb3ae06a4dc4dc21eacb2549b28 /share
parent33a341d85aeb3dbcd72243ed57220887796d8f99 (diff)
Define directory and modes for LKM installs
Correct installation rule for LKM installs
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.lkm.mk4
-rw-r--r--share/mk/bsd.own.mk7
2 files changed, 8 insertions, 3 deletions
diff --git a/share/mk/bsd.lkm.mk b/share/mk/bsd.lkm.mk
index e8efcd16037..80d6a764317 100644
--- a/share/mk/bsd.lkm.mk
+++ b/share/mk/bsd.lkm.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.lkm.mk,v 1.1 1996/02/25 19:02:33 mickey Exp $
+# $OpenBSD: bsd.lkm.mk,v 1.2 1996/03/02 21:01:23 tholo Exp $
# @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
.if exists(${.CURDIR}/../Makefile.inc)
@@ -55,7 +55,7 @@ afterinstall:
realinstall:
.if defined(LKM)
install ${COPY} ${STRIP} -o ${LKMOWN} -g ${LKMGRP} -m ${LKMMODE} \
- ${LKM} ${DESTDIR}${BINDIR}
+ ${COMBINED} ${DESTDIR}${LKMDIR}/${LKM}.o
.endif
.endif
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 05786a1630c..1b060277216 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.4 1996/02/25 19:02:35 mickey Exp $
+# $OpenBSD: bsd.own.mk,v 1.5 1996/03/02 21:01:24 tholo Exp $
# Defining `SKEY' causes support for S/key authentication to be compiled in.
SKEY= yes
@@ -38,6 +38,11 @@ DOCGRP?= bin
DOCOWN?= bin
DOCMODE?= ${NONBINMODE}
+LKMDIR?= /usr/lkm
+LKMGRP?= ${BINGRP}
+LKMOWN?= ${BINOWN}
+LKMMODE?= ${NONBINMODE}
+
NLSDIR?= /usr/share/nls
NLSGRP?= bin
NLSOWN?= bin