aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-06-13 15:36:13 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-06-13 15:36:13 +0000
commit4b9775d88cc73724aa4febd8f984562370334377 (patch)
treed198494fca41391aae5ea8720169d78eb152048f
parentdbf26257f1283ef73eb1e9fe29ba69df0bfc589d (diff)
downloadsrc-4b9775d88cc73724aa4febd8f984562370334377.tar.gz
src-4b9775d88cc73724aa4febd8f984562370334377.zip
Use ${CRUNCHGEN} rather than bare word.
Reviewed by: brooks
Notes
Notes: svn path=/head/; revision=284341
-rw-r--r--share/mk/bsd.crunchgen.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.crunchgen.mk b/share/mk/bsd.crunchgen.mk
index cc7f02102642..0f0edd3c22fb 100644
--- a/share/mk/bsd.crunchgen.mk
+++ b/share/mk/bsd.crunchgen.mk
@@ -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