Backout my last commit.

Find another way to get the LKM's rebuild.
This commit is contained in:
sos 1998-09-26 01:30:36 +00:00
parent bfe7e4f757
commit ac22d58edf

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"