Source-Changes-HG archive

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

[src/trunk]: src/share/mk Make it possible to specify a directory for the .io...



details:   https://anonhg.NetBSD.org/src/rev/2aa1ba4deaa1
branches:  trunk
changeset: 790129:2aa1ba4deaa1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Sep 20 16:39:14 2013 +0000

description:
Make it possible to specify a directory for the .ioconf file.
Still default to .CURDIR

diffstat:

 share/mk/bsd.ioconf.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f4cf1386cc44 -r 2aa1ba4deaa1 share/mk/bsd.ioconf.mk
--- a/share/mk/bsd.ioconf.mk    Fri Sep 20 12:20:01 2013 +0000
+++ b/share/mk/bsd.ioconf.mk    Fri Sep 20 16:39:14 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.ioconf.mk,v 1.3 2010/03/25 20:37:36 pooka Exp $
+#      $NetBSD: bsd.ioconf.mk,v 1.4 2013/09/20 16:39:14 pooka Exp $
 #
 
 .include <bsd.own.mk>
@@ -18,7 +18,7 @@
 CONFIGDEP=${TOOL_CONFIG}
 .endif
 ioconf.c: ${IOCONF} ${CONFIGDEP}
-       ${TOOL_CONFIG} -b ${.OBJDIR} -s ${S} ${.CURDIR}/${IOCONF}
+       ${TOOL_CONFIG} -b ${.OBJDIR} -s ${S} ${IOCONFDIR:U${.CURDIR}}/${IOCONF}
        # config doesn't change the files if they're unchanged.  however,
        # here we want to satisfy our make dependency, so force a
        # timestamp update



Home | Main Index | Thread Index | Old Index