Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/conf Define MD start code at the top of files...



details:   https://anonhg.NetBSD.org/src/rev/686fe0e2f1cd
branches:  trunk
changeset: 340457:686fe0e2f1cd
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sun Sep 06 07:17:14 2015 +0000

description:
Define MD start code at the top of files.${MACHINE} relying on config(1)'s
deterministic file output order.  No need to define ${MD_OBJS} and its useless,
explicit compile rules.

diffstat:

 sys/arch/amd64/conf/Makefile.amd64 |  21 +--------------------
 sys/arch/amd64/conf/files.amd64    |   8 +++++++-
 2 files changed, 8 insertions(+), 21 deletions(-)

diffs (57 lines):

diff -r ebe8d8ed809e -r 686fe0e2f1cd sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Sun Sep 06 06:41:14 2015 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Sun Sep 06 07:17:14 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.52 2015/09/03 12:33:11 uebayasi Exp $
+#      $NetBSD: Makefile.amd64,v 1.53 2015/09/06 07:17:14 uebayasi Exp $
 
 # Makefile for NetBSD
 #
@@ -56,25 +56,6 @@
 ##
 ## (4) local objects, compile rules, and dependencies
 ##
-MD_OBJS=       arch/amd64/amd64/locore.o arch/amd64/amd64/vector.o \
-               arch/amd64/amd64/copy.o arch/amd64/amd64/spl.o
-MD_CFILES=
-MD_SFILES=     ${AMD64}/amd64/locore.S ${AMD64}/amd64/vector.S \
-               ${AMD64}/amd64/copy.S ${AMD64}/amd64/spl.S
-
-.if !defined(___USE_SUFFIX_RULES___)
-locore.o: ${AMD64}/amd64/locore.S assym.h
-       ${NORMAL_S}
-
-vector.o: ${AMD64}/amd64/vector.S assym.h
-       ${NORMAL_S}
-
-copy.o: ${AMD64}/amd64/copy.S assym.h
-       ${NORMAL_S}
-
-spl.o: ${AMD64}/amd64/spl.S assym.h
-       ${NORMAL_S}
-.endif # ___USE_SUFFIX_RULES___
 
 ##
 ## (5) link settings
diff -r ebe8d8ed809e -r 686fe0e2f1cd sys/arch/amd64/conf/files.amd64
--- a/sys/arch/amd64/conf/files.amd64   Sun Sep 06 06:41:14 2015 +0000
+++ b/sys/arch/amd64/conf/files.amd64   Sun Sep 06 07:17:14 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.amd64,v 1.86 2014/12/15 02:01:41 christos Exp $
+#      $NetBSD: files.amd64,v 1.87 2015/09/06 07:17:14 uebayasi Exp $
 #
 # new style config file for amd64 architecture
 #
@@ -27,6 +27,12 @@
 defflag                        USER_LDT
 defflag eisa.h EISA
 
+# Start code
+file   arch/amd64/amd64/locore.S               machdep
+file   arch/amd64/amd64/vector.S               machdep
+file   arch/amd64/amd64/copy.S                 machdep
+file   arch/amd64/amd64/spl.S                  machdep
+
 file   arch/amd64/amd64/amd64func.S            machdep
 file   arch/amd64/amd64/autoconf.c             machdep
 file   arch/amd64/amd64/busfunc.S              machdep



Home | Main Index | Thread Index | Old Index