Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf use commands() instead of target() because assym.mk...
details: https://anonhg.NetBSD.org/src/rev/78dcea350dd4
branches: trunk
changeset: 812032:78dcea350dd4
user: christos <christos%NetBSD.org@localhost>
date: Fri Nov 27 20:59:47 2015 +0000
description:
use commands() instead of target() because assym.mk creates all the targets
unconditionally.
diffstat:
sys/conf/Makefile.kern.inc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0264d1d5d87c -r 78dcea350dd4 sys/conf/Makefile.kern.inc
--- a/sys/conf/Makefile.kern.inc Fri Nov 27 20:33:55 2015 +0000
+++ b/sys/conf/Makefile.kern.inc Fri Nov 27 20:59:47 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.kern.inc,v 1.248 2015/11/27 20:33:55 christos Exp $
+# $NetBSD: Makefile.kern.inc,v 1.249 2015/11/27 20:59:47 christos Exp $
#
# This file contains common `MI' targets and definitions and it is included
# at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -367,7 +367,7 @@
.if !defined(___USE_SUFFIX_RULES___)
.for _s in ${SSRCS}
-.if !target(${_s:T:R}.d)
+.if !commands(${_s:T:R}.d)
${_s:T:R}.d: ${_s}
${_MKTARGET_CREATE}
${MKDEP} -f ${.TARGET}.tmp -- ${MKDEP_AFLAGS} \
@@ -377,7 +377,7 @@
.endfor
.for _s in ${CSRCS}
-.if !target(${_s:T:R}.d)
+.if !commands(${_s:T:R}.d)
${_s:T:R}.d: ${_s}
${_MKTARGET_CREATE}
${MKDEP} -f ${.TARGET}.tmp -- ${MKDEP_CFLAGS} \
Home |
Main Index |
Thread Index |
Old Index