Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk factor out expression.
details: https://anonhg.NetBSD.org/src/rev/2ebfd9c2a013
branches: trunk
changeset: 349345:2ebfd9c2a013
user: christos <christos%NetBSD.org@localhost>
date: Thu Dec 08 03:25:35 2016 +0000
description:
factor out expression.
diffstat:
share/mk/bsd.obj.mk | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r a706d21e7b93 -r 2ebfd9c2a013 share/mk/bsd.obj.mk
--- a/share/mk/bsd.obj.mk Thu Dec 08 03:22:36 2016 +0000
+++ b/share/mk/bsd.obj.mk Thu Dec 08 03:25:35 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.obj.mk,v 1.49 2010/01/25 00:43:00 christos Exp $
+# $NetBSD: bsd.obj.mk,v 1.50 2016/12/08 03:25:35 christos Exp $
.if !defined(_BSD_OBJ_MK_)
_BSD_OBJ_MK_=1
@@ -37,10 +37,11 @@
.else
PAWD?= /bin/pwd
-__objdir= obj${OBJMACHINE:D.${MACHINE}}
+__objdirsuffix= ${OBJMACHINE:D.${MACHINE}}
+__objdir= obj${__objdirsuffix}
__usrobjdir= ${BSDOBJDIR}${USR_OBJMACHINE:D.${MACHINE}}
-__usrobjdirpf= ${USR_OBJMACHINE:D:U${OBJMACHINE:D.${MACHINE}}}
+__usrobjdirpf= ${USR_OBJMACHINE:D:U${__objdirsuffix}}
.if defined(BUILDID)
__objdir:= ${__objdir}.${BUILDID}
Home |
Main Index |
Thread Index |
Old Index