Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/stand/libsa Use .PATH.S instead of giving a ...



details:   https://anonhg.NetBSD.org/src/rev/4914c224b59a
branches:  trunk
changeset: 747629:4914c224b59a
user:      he <he%NetBSD.org@localhost>
date:      Fri Sep 25 11:19:35 2009 +0000

description:
Use .PATH.S instead of giving a source file with fully qualified path.
This should avoid the sun3 port contaminating its source tree during build
with .d and .o files corresponding to ctrlsp.S.

diffstat:

 sys/arch/sun68k/stand/libsa/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r ff713bd91ed4 -r 4914c224b59a sys/arch/sun68k/stand/libsa/Makefile.inc
--- a/sys/arch/sun68k/stand/libsa/Makefile.inc  Fri Sep 25 06:07:06 2009 +0000
+++ b/sys/arch/sun68k/stand/libsa/Makefile.inc  Fri Sep 25 11:19:35 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.1 2009/03/20 11:42:25 tsutsui Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2009/09/25 11:19:35 he Exp $
 
 S!=    cd ${SA_EXTRADIR}/../../../..; pwd
 
@@ -11,7 +11,8 @@
        promboot.c promcons.c promdev.c putstr.c \
        sun2.c sun3.c sun3x.c xxboot.c
 
-SRCS+= ${S}/arch/sun68k/sun68k/ctrlsp.S
+.PATH.S: ${S}/arch/sun68k/sun68k
+SRCS+= ctrlsp.S
 
 # XXX libkern builds these only on m68000
 .PATH.S: ${S}/../common/lib/libc/arch/m68k/gen



Home | Main Index | Thread Index | Old Index