Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave...
details: https://anonhg.NetBSD.org/src/rev/cd197365b6f0
branches: trunk
changeset: 748800:cd197365b6f0
user: dyoung <dyoung%NetBSD.org@localhost>
date: Thu Nov 05 17:34:25 2009 +0000
description:
Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
modules set out of the list of NetBSD set lists, nlists. If
$MKKMOD == no, do not install modules tests.
diffstat:
distrib/sets/sets.subr | 8 +++++---
tests/Makefile | 4 ++--
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 5afd43eef14e -r cd197365b6f0 distrib/sets/sets.subr
--- a/distrib/sets/sets.subr Thu Nov 05 17:16:36 2009 +0000
+++ b/distrib/sets/sets.subr Thu Nov 05 17:34:25 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sets.subr,v 1.90 2009/11/03 00:38:56 dyoung Exp $
+# $NetBSD: sets.subr,v 1.91 2009/11/05 17:34:25 dyoung Exp $
#
#
@@ -200,7 +200,9 @@
setsdir=${0%/*}
obsolete=0
module=yes
-if [ "${MACHINE}" = "evbppc" ]; then
+if [ "${MKKMOD}" = "no" ]; then
+ module=no # MODULEs are off.
+elif [ "${MACHINE}" = "evbppc" ]; then
module=no # Turn off MODULEs for some ports.
fi
# Determine lib type. Do this first so stlib also gets set.
@@ -237,7 +239,7 @@
# In each file, a record consists of a path and a System Package name,
# separated by whitespace. E.g.,
#
-# # $NetBSD: sets.subr,v 1.90 2009/11/03 00:38:56 dyoung Exp $
+# # $NetBSD: sets.subr,v 1.91 2009/11/05 17:34:25 dyoung Exp $
# . base-sys-root [keyword[,...]]
# ./altroot base-sys-root
# ./bin base-sys-root
diff -r 5afd43eef14e -r cd197365b6f0 tests/Makefile
--- a/tests/Makefile Thu Nov 05 17:16:36 2009 +0000
+++ b/tests/Makefile Thu Nov 05 17:34:25 2009 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2009/09/24 21:33:45 pooka Exp $
+# $NetBSD: Makefile,v 1.18 2009/11/05 17:34:25 dyoung Exp $
.include <bsd.own.mk>
SUBDIR= crypto fs games ipf kernel lib libexec net rump syscall util
-.if ${MACHINE} != "evbppc"
+.if ${MACHINE} != "evbppc" && ${MKKMOD} != "no"
SUBDIR+= modules
.endif
Home |
Main Index |
Thread Index |
Old Index