Backout my last commit.

Find another way to get the LKM's rebuild.
This commit is contained in:
Søren Schmidt 1998-09-26 01:30:36 +00:00
parent 2fc3f8fb29
commit 5ca77c0764
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39663

View file

@ -82,7 +82,7 @@ SUBDIR+= usr.sbin
.if exists(secure) && !defined(NOCRYPT) && !defined(NOSECURE)
SUBDIR+= secure
.endif
.if exists(lkm) && !defined(NOLKM)
.if exists(lkm) && !defined(NOLKM) && ${OBJFORMAT} == "aout"
SUBDIR+= lkm
.endif
@ -741,7 +741,7 @@ _perl= gnu/usr.bin/perl/miniperl
.if !defined(NOSHARE) && exists(${.CURDIR}/share)
_scrnmaps= share/syscons/scrnmaps
.endif
.if !defined(NOLKM) && exists(${.CURDIR}/lkm)
.if !defined(NOLKM) && exists(${.CURDIR}/lkm) && ${OBJFORMAT} == "aout"
_linux= lkm/linux
.endif
.if ${OBJFORMAT} == "aout"