Source-Changes-HG archive

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

[src/trunk]: src Define kernel dependency in Makefile.kern.inc.



details:   https://anonhg.NetBSD.org/src/rev/88a2af55a9da
branches:  trunk
changeset: 340399:88a2af55a9da
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Sep 03 06:09:46 2015 +0000

description:
Define kernel dependency in Makefile.kern.inc.

diffstat:

 sys/conf/Makefile.kern.inc  |  6 +++++-
 sys/conf/files              |  4 ++--
 usr.bin/config/defs.h       |  4 ++--
 usr.bin/config/mkmakefile.c |  6 ++----
 4 files changed, 11 insertions(+), 9 deletions(-)

diffs (78 lines):

diff -r e0c5376ce501 -r 88a2af55a9da sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Sep 03 06:08:38 2015 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Sep 03 06:09:46 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.230 2015/09/03 04:17:55 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.231 2015/09/03 06:09:46 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -493,6 +493,10 @@
 CPPFLAGS+=     ${CPPFLAGS.${.IMPSRC:T}}
 CWARNFLAGS+=   ${CWARNFLAGS.${.IMPSRC:T}}
 
+.for k in ${KERNELS}
+${k}: ${SYSTEM_DEP} vers.o build_kernel
+.endfor
+
 .if !defined(COPY_SYMTAB)
 build_kernel: .USE
        ${SYSTEM_LD_HEAD}
diff -r e0c5376ce501 -r 88a2af55a9da sys/conf/files
--- a/sys/conf/files    Thu Sep 03 06:08:38 2015 +0000
+++ b/sys/conf/files    Thu Sep 03 06:09:46 2015 +0000
@@ -1,7 +1,7 @@
-#      $NetBSD: files,v 1.1146 2015/09/02 14:17:03 uebayasi Exp $
+#      $NetBSD: files,v 1.1147 2015/09/03 06:09:46 uebayasi Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
-version        20150842
+version        20150843
 
 #
 # device classes
diff -r e0c5376ce501 -r 88a2af55a9da usr.bin/config/defs.h
--- a/usr.bin/config/defs.h     Thu Sep 03 06:08:38 2015 +0000
+++ b/usr.bin/config/defs.h     Thu Sep 03 06:09:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.86 2015/09/02 14:17:03 uebayasi Exp $       */
+/*     $NetBSD: defs.h,v 1.87 2015/09/03 06:09:46 uebayasi Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -107,7 +107,7 @@
  * The next two lines define the current version of the config(1) binary,
  * and the minimum version of the configuration files it supports.
  */
-#define CONFIG_VERSION         20150842
+#define CONFIG_VERSION         20150843
 #define CONFIG_MINVERSION      0
 
 /*
diff -r e0c5376ce501 -r 88a2af55a9da usr.bin/config/mkmakefile.c
--- a/usr.bin/config/mkmakefile.c       Thu Sep 03 06:08:38 2015 +0000
+++ b/usr.bin/config/mkmakefile.c       Thu Sep 03 06:09:46 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mkmakefile.c,v 1.60 2015/09/02 16:29:44 uebayasi Exp $ */
+/*     $NetBSD: mkmakefile.c,v 1.61 2015/09/03 06:09:46 uebayasi Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -45,7 +45,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: mkmakefile.c,v 1.60 2015/09/02 16:29:44 uebayasi Exp $");
+__RCSID("$NetBSD: mkmakefile.c,v 1.61 2015/09/03 06:09:46 uebayasi Exp $");
 
 #include <sys/param.h>
 #include <ctype.h>
@@ -572,8 +572,6 @@
                            cf->cf_name);
                }
                fprintf(fp, "KERNELS+=%s\n", cf->cf_name);
-               fprintf(fp, "%s: ${SYSTEM_DEP}%s vers.o build_kernel\n",
-                   cf->cf_name, swapobj);
        }
        fputs("\n", fp);
 }



Home | Main Index | Thread Index | Old Index