Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config Steal -M to enable "modular" build.
details: https://anonhg.NetBSD.org/src/rev/084f580484d6
branches: trunk
changeset: 332796:084f580484d6
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Oct 09 19:20:56 2014 +0000
description:
Steal -M to enable "modular" build.
diffstat:
usr.bin/config/defs.h | 3 ++-
usr.bin/config/main.c | 8 ++++++--
usr.bin/config/mkmakefile.c | 4 ++--
3 files changed, 10 insertions(+), 5 deletions(-)
diffs (64 lines):
diff -r b6dfb17be5ae -r 084f580484d6 usr.bin/config/defs.h
--- a/usr.bin/config/defs.h Thu Oct 09 18:34:24 2014 +0000
+++ b/usr.bin/config/defs.h Thu Oct 09 19:20:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: defs.h,v 1.50 2014/10/09 15:25:26 uebayasi Exp $ */
+/* $NetBSD: defs.h,v 1.51 2014/10/09 19:20:56 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -606,6 +606,7 @@
int mkioconf(void);
/* mkmakefile.c */
+extern int usekobjs;
int mkmakefile(void);
/* mkswap.c */
diff -r b6dfb17be5ae -r 084f580484d6 usr.bin/config/main.c
--- a/usr.bin/config/main.c Thu Oct 09 18:34:24 2014 +0000
+++ b/usr.bin/config/main.c Thu Oct 09 19:20:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.57 2014/10/09 16:08:36 uebayasi Exp $ */
+/* $NetBSD: main.c,v 1.58 2014/10/09 19:20:56 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -161,7 +161,7 @@
pflag = 0;
xflag = 0;
- while ((ch = getopt(argc, argv, "D:LPU:dgpvb:s:x")) != -1) {
+ while ((ch = getopt(argc, argv, "D:LMPU:dgpvb:s:x")) != -1) {
switch (ch) {
#ifndef MAKE_BOOTSTRAP
@@ -171,6 +171,10 @@
break;
#endif
+ case 'M':
+ usekobjs = 1;
+ break;
+
case 'L':
Lflag = 1;
break;
diff -r b6dfb17be5ae -r 084f580484d6 usr.bin/config/mkmakefile.c
--- a/usr.bin/config/mkmakefile.c Thu Oct 09 18:34:24 2014 +0000
+++ b/usr.bin/config/mkmakefile.c Thu Oct 09 19:20:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mkmakefile.c,v 1.20 2014/10/09 17:36:10 uebayasi Exp $ */
+/* $NetBSD: mkmakefile.c,v 1.21 2014/10/09 19:20:56 uebayasi Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -83,7 +83,7 @@
static int selectopt(const char *, void *);
/* Generate Makefile to build things per-attribute *.ko (a.k.a modular build). */
-int usekobjs = 0; /* XXX */
+int usekobjs = 0;
int
mkmakefile(void)
Home |
Main Index |
Thread Index |
Old Index