Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sets Need to check MKCOMPATMODULES as well.



details:   https://anonhg.NetBSD.org/src/rev/5c357aa644c5
branches:  trunk
changeset: 809160:5c357aa644c5
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jun 22 14:17:04 2015 +0000

description:
Need to check MKCOMPATMODULES as well.

diffstat:

 distrib/sets/mkvars.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r afc4ec67b59f -r 5c357aa644c5 distrib/sets/mkvars.mk
--- a/distrib/sets/mkvars.mk    Mon Jun 22 10:35:00 2015 +0000
+++ b/distrib/sets/mkvars.mk    Mon Jun 22 14:17:04 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mkvars.mk,v 1.20 2015/06/22 08:51:42 martin Exp $
+# $NetBSD: mkvars.mk,v 1.21 2015/06/22 14:17:04 matt Exp $
 
 MKEXTRAVARS= \
        MACHINE \
@@ -53,7 +53,7 @@
 COMPATARCHDIRS:=${ARCHDIR_SUBDIR:T}
 .endif
 
-.if ${MKKMOD} != "no"
+.if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
 ARCHDIR_SUBDIR:=
 .include "${NETBSDSRCDIR}/sys/modules/arch/archdirs.mk"
 KMODARCHDIRS:=${ARCHDIR_SUBDIR:T}
@@ -99,7 +99,7 @@
 .if ${MKCOMPAT} != "no"
        @echo COMPATARCHDIRS=${COMPATARCHDIRS} | ${TOOL_SED} -e's/ /,/'
 .endif
-.if ${MKKMOD} != "no"
+.if ${MKKMOD} != "no" && ${MKCOMPATMODULES} != "no"
        @echo KMODARCHDIRS=${KMODARCHDIRS} | ${TOOL_SED} -e's/ /,/'
 .endif
 



Home | Main Index | Thread Index | Old Index