Module Name:    src
Committed By:   uebayasi
Date:           Thu Sep  3 12:33:12 UTC 2015

Modified Files:
        src/sys/arch/amd64/conf: Makefile.amd64

Log Message:
Define ${MD_OBJS} as relative path.  This change makes amd64 kernel buildable
for `-S' mode.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amd64/conf/Makefile.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.51 src/sys/arch/amd64/conf/Makefile.amd64:1.52
--- src/sys/arch/amd64/conf/Makefile.amd64:1.51	Mon Aug 24 14:04:24 2015
+++ src/sys/arch/amd64/conf/Makefile.amd64	Thu Sep  3 12:33:11 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.amd64,v 1.51 2015/08/24 14:04:24 uebayasi Exp $
+#	$NetBSD: Makefile.amd64,v 1.52 2015/09/03 12:33:11 uebayasi Exp $
 
 # Makefile for NetBSD
 #
@@ -56,11 +56,13 @@ KERN_AS=	library
 ##
 ## (4) local objects, compile rules, and dependencies
 ##
-MD_OBJS=	locore.o vector.o copy.o spl.o
+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}
 
@@ -72,6 +74,7 @@ copy.o: ${AMD64}/amd64/copy.S assym.h
 
 spl.o: ${AMD64}/amd64/spl.S assym.h
 	${NORMAL_S}
+.endif # ___USE_SUFFIX_RULES___
 
 ##
 ## (5) link settings

Reply via email to