Source-Changes-HG archive

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

[src/trunk]: src/sys Use opt_*.h to not polute CPPFLAGS.



details:   https://anonhg.NetBSD.org/src/rev/0aef575a103c
branches:  trunk
changeset: 332821:0aef575a103c
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Oct 10 09:01:01 2014 +0000

description:
Use opt_*.h to not polute CPPFLAGS.

Attribute dependency is not yet.  Revert a definition.

diffstat:

 sys/conf/files    |  5 +++--
 sys/uvm/files.uvm |  3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r fe6c215de6bb -r 0aef575a103c sys/conf/files
--- a/sys/conf/files    Fri Oct 10 08:34:30 2014 +0000
+++ b/sys/conf/files    Fri Oct 10 09:01:01 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.1107 2014/10/10 08:24:54 uebayasi Exp $
+#      $NetBSD: files,v 1.1108 2014/10/10 09:01:01 uebayasi Exp $
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
 version        20140824
@@ -1489,7 +1489,8 @@
 #
 # kernel sources
 #
-define kern:   uvm
+define kern
+defflag        opt_kern.h                      KERN
 file   compat/common/compat_mod.c      compat_netbsd | compat_netbsd32
 file   conf/debugsyms.c
 file   dev/auconv.c                    auconv | mulaw
diff -r fe6c215de6bb -r 0aef575a103c sys/uvm/files.uvm
--- a/sys/uvm/files.uvm Fri Oct 10 08:34:30 2014 +0000
+++ b/sys/uvm/files.uvm Fri Oct 10 09:01:01 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.uvm,v 1.21 2014/10/10 08:24:54 uebayasi Exp $
+#      $NetBSD: files.uvm,v 1.22 2014/10/10 09:01:01 uebayasi Exp $
 
 #
 # UVM options
@@ -14,6 +14,7 @@
 defflag opt_uvm_page_trkown.h  UVM_PAGE_TRKOWN
 
 define uvm
+defflag        opt_uvm.h                       UVM
 file   uvm/uvm_amap.c                  uvm
 file   uvm/uvm_anon.c                  uvm
 file   uvm/uvm_aobj.c                  uvm



Home | Main Index | Thread Index | Old Index