Bye bye atf-compile, you won't be missed.

This commit is contained in:
jmmv 2010-06-04 08:34:35 +00:00
parent bd35535074
commit 357bd260c3
2 changed files with 2 additions and 33 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.137 2010/03/02 20:47:01 darran Exp $
# $NetBSD: Makefile,v 1.138 2010/06/04 08:34:35 jmmv Exp $
.include <bsd.own.mk>
@ -54,7 +54,7 @@ SUBDIR= host-mkdep .WAIT compat .WAIT \
.WAIT pax \
.WAIT ${TOOLCHAIN_BITS} \
${DTRACE_BITS} \
asn1_compile atf-compile cat cksum compile_et config db \
asn1_compile cat cksum compile_et config db \
file lint1 \
makefs menuc mkcsmapper mkesdb mklocale mknod msgc \
.WAIT disklabel \

View File

@ -1,31 +0,0 @@
# $NetBSD: Makefile,v 1.7 2010/05/08 08:20:18 jmmv Exp $
CLEANFILES+= atf-host-compile
CLEANFILES+= atf-host-compile.tmp
.include <bsd.hostprog.mk>
realall: atf-host-compile
atf-host-compile: atf-host-compile.sh
@echo "create atf-host-compile"; \
if [ x${HOST_SH:C,^/.*,/,} != x/ ]; then \
echo "HOST_SH must be an absolute path"; \
false; \
fi && \
${TOOL_SED} -e s,__ATF_PKGDATADIR__,${SRCDIR}/atf-sh,g \
-e s,__ATF_SHELL__,${HOST_SH},g \
<${SRCDIR}/atf-compile/atf-host-compile.sh \
>atf-host-compile.tmp && \
chmod +x atf-host-compile.tmp && \
mv atf-host-compile.tmp atf-host-compile
# Install rule.
realinstall: install.host
install.host: ${TOOLDIR}/bin/${_TOOL_PREFIX}atf-compile
${TOOLDIR}/bin/${_TOOL_PREFIX}atf-compile:: atf-host-compile
${_MKTARGET_INSTALL}
mkdir -p ${TOOLDIR}/bin
${HOST_INSTALL_FILE} -m ${BINMODE} atf-host-compile ${.TARGET}
SRCDIR= ${NETBSDSRCDIR}/external/bsd/atf/dist
.PATH: ${SRCDIR}/atf-compile