summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1998-09-26 01:30:36 +0000
committersos <sos@FreeBSD.org>1998-09-26 01:30:36 +0000
commitac22d58edf1712c91a71e643b18fed3ef6c05f09 (patch)
tree065f81f5f9bc4da298c7d922a146a02b1b6cb5c3 /Makefile.inc1
parentbfe7e4f7572eefc6234eee368fd053fb9cca3e4b (diff)
downloadFreeBSD-src-ac22d58edf1712c91a71e643b18fed3ef6c05f09.zip
FreeBSD-src-ac22d58edf1712c91a71e643b18fed3ef6c05f09.tar.gz
Backout my last commit.
Find another way to get the LKM's rebuild.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c768b0a..2ba2650 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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"
OpenPOWER on IntegriCloud