Module Name: src
Committed By: uebayasi
Date: Sun Sep 6 07:17:14 UTC 2015
Modified Files:
src/sys/arch/amd64/conf: Makefile.amd64 files.amd64
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/amd64/conf/Makefile.amd64
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/amd64/conf/files.amd64
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/conf/Makefile.amd64
diff -u src/sys/arch/amd64/conf/Makefile.amd64:1.52 src/sys/arch/amd64/conf/Makefile.amd64:1.53
--- src/sys/arch/amd64/conf/Makefile.amd64:1.52 Thu Sep 3 12:33:11 2015
+++ src/sys/arch/amd64/conf/Makefile.amd64 Sun Sep 6 07:17:14 2015
@@ -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 @@ KERN_AS= library
##
## (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
Index: src/sys/arch/amd64/conf/files.amd64
diff -u src/sys/arch/amd64/conf/files.amd64:1.86 src/sys/arch/amd64/conf/files.amd64:1.87
--- src/sys/arch/amd64/conf/files.amd64:1.86 Mon Dec 15 02:01:41 2014
+++ src/sys/arch/amd64/conf/files.amd64 Sun Sep 6 07:17:14 2015
@@ -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 @@ defparam opt_physmem.h PHYSMEM_MAX_ADDR
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