Source-Changes-HG archive

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

[src/trunk]: src/lib/csu use of .PARSEDIR just doesn't work with .OBJDIR, rep...



details:   https://anonhg.NetBSD.org/src/rev/ade252312698
branches:  trunk
changeset: 761539:ade252312698
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Jan 31 17:54:20 2011 +0000

description:
use of .PARSEDIR just doesn't work with .OBJDIR, replace with .CURDIR

diffstat:

 lib/csu/Makefile            |  6 +++---
 lib/csu/common/Makefile.inc |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 25c3958eae06 -r ade252312698 lib/csu/Makefile
--- a/lib/csu/Makefile  Mon Jan 31 16:30:48 2011 +0000
+++ b/lib/csu/Makefile  Mon Jan 31 17:54:20 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2010/11/28 18:40:56 skrll Exp $
+#      $NetBSD: Makefile,v 1.29 2011/01/31 17:54:20 drochner Exp $
 
 .include <bsd.own.mk>
 
@@ -6,11 +6,11 @@
 
 .if ${USE_COMPILERCRTSTUFF} != "yes"
 
-ARCHDIR:=      ${.PARSEDIR}/arch/${CSU_MACHINE_ARCH}
+ARCHDIR:=      ${.CURDIR}/arch/${CSU_MACHINE_ARCH}
 .PATH: ${ARCHDIR}
 .  include "${ARCHDIR}/Makefile.inc"
 
-.  include "${.PARSEDIR}/common/Makefile.inc"
+.  include "${.CURDIR}/common/Makefile.inc"
 
 .else
 
diff -r 25c3958eae06 -r ade252312698 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Mon Jan 31 16:30:48 2011 +0000
+++ b/lib/csu/common/Makefile.inc       Mon Jan 31 17:54:20 2011 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile.inc,v 1.2 2010/12/07 19:51:02 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2011/01/31 17:54:20 drochner Exp $
 
 .include <bsd.own.mk>
 
-COMMON_DIR:=   ${.PARSEDIR}
+COMMON_DIR:=   ${.CURDIR}/common
 .PATH:         ${COMMON_DIR}
 
 CPPFLAGS+=     -I${NETBSDSRCDIR}/libexec/ld.elf_so -I${COMMON_DIR} -I.



Home | Main Index | Thread Index | Old Index