We need the absolute path of the crunchgen binary in order to make the
generated makefile depend on the binary. Needed for USE_TOOLS=no builds
This commit is contained in:
parent
6b3d6b9d93
commit
8b08a3fc64
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.crunch,v 1.21 2005/09/05 20:14:08 dsl Exp $
|
||||
# $NetBSD: Makefile.crunch,v 1.22 2005/11/07 22:19:34 dsl Exp $
|
||||
#
|
||||
# Makefile snippet to build a crunchgen(1)ed binary from the provided lists
|
||||
#
|
||||
|
@ -48,7 +48,9 @@ ${CRUNCHBIN}.c: ${CRUNCHBIN}.mk
|
|||
${CRUNCHBIN}.cache: ${CRUNCHBIN}.mk
|
||||
[ ! -f ${.TARGET} ] || touch ${.TARGET}
|
||||
|
||||
${CRUNCHBIN}.mk: ${CRUNCHBIN}.conf ${TOOL_CRUNCHGEN:[-1]}
|
||||
CRUNCHGEN != command -v ${TOOL_CRUNCHGEN:[-1]}
|
||||
|
||||
${CRUNCHBIN}.mk: ${CRUNCHBIN}.conf ${CRUNCHGEN}
|
||||
${CRUNCHENV} ${TOOL_CRUNCHGEN} -f -D ${NETBSDSRCDIR} \
|
||||
-L ${DESTDIR}/usr/lib -q ${CRUNCHGEN_FLAGS} ${CRUNCHBIN}.conf
|
||||
|
||||
|
|
Loading…
Reference in New Issue