Use ${CRUNCHGEN} rather than bare word.

Reviewed by: brooks
This commit is contained in:
Simon J. Gerraty 2015-06-13 15:36:13 +00:00
parent dbf26257f1
commit 4b9775d88c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284341

View File

@ -106,11 +106,12 @@ $(CONF): Makefile
.endfor
.endfor
CRUNCHGEN?= crunchgen
# XXX Make sure we don't pass -P to crunchgen(1).
.MAKEFLAGS:= ${.MAKEFLAGS:N-P}
.ORDER: $(OUTPUTS) objs
$(OUTPUTS): $(CONF)
MAKE=${MAKE} MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -fq -m $(OUTMK) \
$(OUTPUTS): $(CONF) .META
MAKE=${MAKE} MAKEOBJDIRPREFIX=${CRUNCHOBJS} ${CRUNCHGEN} -fq -m $(OUTMK) \
-c $(OUTC) $(CONF)
$(PROG): $(OUTPUTS) objs