Source-Changes-HG archive

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

[src/trunk]: src/sys We use .BEGIN for our own cleanup and won't ever need DT...



details:   https://anonhg.NetBSD.org/src/rev/e614a525c37e
branches:  trunk
changeset: 357941:e614a525c37e
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 04 09:44:33 2017 +0000

description:
We use .BEGIN for our own cleanup and won't ever need DTS support - so
avoid inclusion of dts.mk by defining _SKIP_DTS

diffstat:

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

diffs (36 lines):

diff -r 596d949f4b71 -r e614a525c37e sys/arch/sparc64/conf/Makefile.sparc64
--- a/sys/arch/sparc64/conf/Makefile.sparc64    Mon Dec 04 09:29:42 2017 +0000
+++ b/sys/arch/sparc64/conf/Makefile.sparc64    Mon Dec 04 09:44:33 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sparc64,v 1.82 2016/03/19 18:50:25 martin Exp $
+#      $NetBSD: Makefile.sparc64,v 1.83 2017/12/04 09:44:33 martin Exp $
 
 #=========================================================================
 #
@@ -162,6 +162,7 @@
 ##
 ## (9) port independent kernel machinery
 ##
+_SKIP_DTS=yes
 .include "$S/conf/Makefile.kern.inc"
 
 ##
diff -r 596d949f4b71 -r e614a525c37e sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc        Mon Dec 04 09:29:42 2017 +0000
+++ b/sys/conf/Makefile.kern.inc        Mon Dec 04 09:44:33 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.kern.inc,v 1.260 2017/07/15 15:20:52 christos Exp $
+#      $NetBSD: Makefile.kern.inc,v 1.261 2017/12/04 09:44:33 martin Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -321,7 +321,9 @@
 .include "${S}/conf/cscope.mk"
 .include "${S}/conf/gdbinit.mk"
 .include "${S}/conf/ssp.mk"
+.if "${_SKIP_DTS}" != "yes"
 .include "${S}/conf/dts.mk"
+.endif
 
 ##
 ## (7) misc targets: install, clean(dir), depend(all), lint, links, tags,



Home | Main Index | Thread Index | Old Index