Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/compat Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX
details: https://anonhg.NetBSD.org/src/rev/07c29bb1707b
branches: trunk
changeset: 761209:07c29bb1707b
user: matt <matt%NetBSD.org@localhost>
date: Thu Jan 20 18:43:52 2011 +0000
description:
Change to use MAKEOBJDIR instead of MAKEOBJDIRPREFIX
diffstat:
compat/compatsubdir.mk | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r c35c2566c8b6 -r 07c29bb1707b compat/compatsubdir.mk
--- a/compat/compatsubdir.mk Thu Jan 20 18:41:39 2011 +0000
+++ b/compat/compatsubdir.mk Thu Jan 20 18:43:52 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: compatsubdir.mk,v 1.5 2010/12/03 21:38:48 plunky Exp $
+# $NetBSD: compatsubdir.mk,v 1.6 2011/01/20 18:43:52 matt Exp $
# Build netbsd libraries.
@@ -10,8 +10,7 @@
# make sure we get an objdir built early enough
.include <bsd.prog.mk>
-# XXX make this use MAKEOBJDIR
-MAKEDIRTARGETENV= MAKEOBJDIRPREFIX=${.OBJDIR} MKOBJDIRS=yes MKSHARE=no BSD_MK_COMPAT_FILE=${BSD_MK_COMPAT_FILE}
+MAKEDIRTARGETENV= MAKEOBJDIR='$${.CURDIR:C,^${NETBSDSRCDIR},${.OBJDIR},}' MKOBJDIRS=yes MKSHARE=no BSD_MK_COMPAT_FILE=${BSD_MK_COMPAT_FILE}
.if defined(BOOTSTRAP_SUBDIRS)
SUBDIR= ${BOOTSTRAP_SUBDIRS}
Home |
Main Index |
Thread Index |
Old Index