Module Name: src
Committed By: pooka
Date: Fri Sep 20 16:39:14 UTC 2013
Modified Files:
src/share/mk: bsd.ioconf.mk
Log Message:
Make it possible to specify a directory for the .ioconf file.
Still default to .CURDIR
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/mk/bsd.ioconf.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.ioconf.mk
diff -u src/share/mk/bsd.ioconf.mk:1.3 src/share/mk/bsd.ioconf.mk:1.4
--- src/share/mk/bsd.ioconf.mk:1.3 Thu Mar 25 20:37:36 2010
+++ src/share/mk/bsd.ioconf.mk Fri Sep 20 16:39:14 2013
@@ -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