remove dup target.

This commit is contained in:
christos 2012-01-21 22:31:15 +00:00
parent 1ea95bd622
commit 66776cea39

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.gnuhost,v 1.36 2012/01/20 23:01:05 christos Exp $
# $NetBSD: Makefile.gnuhost,v 1.37 2012/01/21 22:31:15 christos Exp $
#
# Rules used when building a GNU host package. Expects MODULE to be set.
#
@ -107,16 +107,6 @@ configure_cleanup:
configure_cleanup=configure_cleanup
.endif
BUILD_PLATFORM!= uname -srm | tr ' ' '-'
CONFIGURE_PLATFORM!= if [ -s .configure_done ]; then cat .configure_done; else echo none; fi
.if "${BUILD_PLATFORM}" != "${CONFIGURE_PLATFORM}"
configure_cleanup:
@mkdir build 2>/dev/null || true
@(echo "Cleaning stale cache files ${BUILD_PLATFORM} != ${CONFIGURE_PLATFORM}")
@(cd build && find . -name config.cache -print0 | xargs -0 rm -f)
configure_cleanup=configure_cleanup
.endif
.configure_done: ${_GNU_CFGSRC} ${.CURDIR}/Makefile ${configure_cleanup}
@mkdir build 2>/dev/null || true
@(cd build && ${CONFIGURE_ENV} ${HOST_SH} ${GNUHOSTDIST}/configure ${CONFIGURE_ARGS})