Source-Changes-HG archive

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

[src/trunk]: src/tools/binutils No need to specify ${.OBJDIR} for target files.



details:   https://anonhg.NetBSD.org/src/rev/6c0dcfe83a15
branches:  trunk
changeset: 326734:6c0dcfe83a15
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat Feb 15 13:34:28 2014 +0000

description:
No need to specify ${.OBJDIR} for target files.

It rather fails if MKHOSTOBJ=yes.

diffstat:

 tools/binutils/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r f43f4dcf7ee1 -r 6c0dcfe83a15 tools/binutils/Makefile
--- a/tools/binutils/Makefile   Sat Feb 15 10:11:14 2014 +0000
+++ b/tools/binutils/Makefile   Sat Feb 15 13:34:28 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2014/01/29 23:35:13 joerg Exp $
+#      $NetBSD: Makefile,v 1.24 2014/02/15 13:34:28 tsutsui Exp $
 
 .include <bsd.own.mk>
 
@@ -16,12 +16,12 @@
                --disable-werror \
                ${BRANDING}
 
-${.OBJDIR}/build/gas/m68k-parse.c: ${GNUHOSTDIST}/gas/m68k-parse.c
+build/gas/m68k-parse.c: ${GNUHOSTDIST}/gas/m68k-parse.c
        @mkdir build 2>/dev/null || true
        @mkdir build/gas 2>/dev/null || true
        cat ${GNUHOSTDIST}/gas/m68k-parse.c > ${.TARGET}
 
-.configure_done: ${.OBJDIR}/build/gas/m68k-parse.c
+.configure_done: build/gas/m68k-parse.c
 
 MAKE_ARGS=     MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
 



Home | Main Index | Thread Index | Old Index