Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build.

This commit is contained in:
apb 2008-10-25 22:23:55 +00:00
parent 125b7c8cbb
commit 89799ead73
4 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2008/10/20 07:11:55 apb Exp $
# $NetBSD: Makefile,v 1.25 2008/10/25 22:23:55 apb Exp $
.include <bsd.own.mk>
@ -20,6 +20,7 @@ USETBL=
# Environment for scripts executed during build.
SCRIPT_ENV= \
AWK=${TOOL_AWK:Q} \
SED=${TOOL_SED:Q}
CLEANFILES+= siglist.out siglist.out.tmp
# two steps to prevent the creation of a bogus siglist.out

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.82 2008/10/19 22:05:19 apb Exp $
# $NetBSD: Makefile,v 1.83 2008/10/25 22:23:55 apb Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@ -26,6 +26,7 @@ YFLAGS= -d
# Environment for scripts executed during build.
SCRIPT_ENV= \
AWK=${TOOL_AWK:Q} \
SED=${TOOL_SED:Q}
# The .depend file can get references to these temporary files
.OPTIONAL: lex.yy.c y.tab.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.62 2008/10/19 22:05:20 apb Exp $
# $NetBSD: Makefile,v 1.63 2008/10/25 22:23:55 apb Exp $
# The `all' target must appear before bsd.own.mk is pulled in.
all:
@ -20,6 +20,7 @@ SETSCMD= cd ${.CURDIR} && \
MKTEMP=${TOOL_MKTEMP:Q} \
MTREE=${TOOL_MTREE:Q} \
PAX=${TOOL_PAX:Q} \
SED=${TOOL_SED:Q} \
TSORT=${TSORT:Q} \
${HOST_SH}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ioctl-c,v 1.22 2008/10/19 22:05:23 apb Exp $
# $NetBSD: Makefile.ioctl-c,v 1.23 2008/10/25 22:23:55 apb Exp $
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
@ -10,7 +10,7 @@ DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB} | fgrep -v x
${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES}
${_MKTARGET_CREATE}
AWK=${TOOL_AWK:Q} CC="${CC}" DESTDIR="${DESTDIR}" \
AWK=${TOOL_AWK:Q} CC="${CC}" DESTDIR="${DESTDIR}" SED=${TOOL_SED:Q} \
${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \
${DEPFILES} >${.TARGET}