Source-Changes-HG archive

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

[src/trunk]: src/sys Build conf/param.c normally.



details:   https://anonhg.NetBSD.org/src/rev/49aad0ef77da
branches:  trunk
changeset: 340388:49aad0ef77da
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Sep 03 01:09:38 2015 +0000

description:
Build conf/param.c normally.

diffstat:

 sys/conf/Makefile.kern.inc |  14 ++------------
 sys/kern/files.kern        |   3 ++-
 2 files changed, 4 insertions(+), 13 deletions(-)

diffs (50 lines):

diff -r 02fcb9579be9 -r 49aad0ef77da sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Thu Sep 03 00:54:39 2015 +0000
+++ b/sys/conf/Makefile.kern.inc        Thu Sep 03 01:09:38 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.225 2015/09/02 23:03:41 uebayasi Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.226 2015/09/03 01:09:38 uebayasi Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -195,22 +195,12 @@
 ##
 
 .if !defined(___USE_SUFFIX_RULES___)
-MI_CFILES=     param.c
-MI_CFILES+=    devsw.c ioconf.c
-.else
-MI_CFILES=     conf/param.c
+MI_CFILES=     devsw.c ioconf.c
 .endif
 
 # the need for a MI_SFILES variable is dubitable at best
 MI_OBJS=${MI_CFILES:S/.c/.o/}
 
-.if !defined(___USE_SUFFIX_RULES___)
-param.c: $S/conf/param.c
-       ${_MKTARGET_CREATE}
-       rm -f param.c
-       cp $S/conf/param.c .
-.endif
-
 ##
 ## (5) link settings
 ##
diff -r 02fcb9579be9 -r 49aad0ef77da sys/kern/files.kern
--- a/sys/kern/files.kern       Thu Sep 03 00:54:39 2015 +0000
+++ b/sys/kern/files.kern       Thu Sep 03 01:09:38 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.kern,v 1.8 2015/08/21 02:18:18 uebayasi Exp $
+#      $NetBSD: files.kern,v 1.9 2015/09/03 01:09:38 uebayasi Exp $
 
 #
 # kernel sources
@@ -9,6 +9,7 @@
 file   compat/common/compat_sysv_mod.c (compat_netbsd | compat_netbsd32) &
                                        (sysvshm | sysvsem | sysvmsg)
 file   conf/debugsyms.c                kern
+file   conf/param.c                    kern
 file   kern/bufq_disksort.c            bufq_disksort
 file   kern/bufq_fcfs.c                bufq_fcfs
 file   kern/bufq_priocscan.c           bufq_priocscan



Home | Main Index | Thread Index | Old Index