@@ -298,22 +298,22 @@ endif
298
298
299
299
# generate-wire.py --page [header|impl] hdrfilename wirename < csv > file
300
300
% _wiregen.h : % _wire.csv $(WIRE_GEN_DEPS )
301
- @if $(call SHA256STAMP_CHANGED) ; then if [ " $$ NO_PYTHON " = 1 ] ; then echo " Error: NO_PYTHON on $@ " ; exit 1 ; fi ; \
301
+ @if $(call SHA256STAMP_CHANGED) ; then \
302
302
$(call VERBOSE,"wiregen $@ ",tools/generate-wire.py --page header $($@ _args) $@ `basename $< .csv | sed 's/_exp_/_/'` < $< > $@ && $(call SHA256STAMP,//,) ) ; \
303
303
fi
304
304
305
305
% _wiregen.c : % _wire.csv $(WIRE_GEN_DEPS )
306
- @if $(call SHA256STAMP_CHANGED) ; then if [ " $$ NO_PYTHON " = 1 ] ; then echo " Error: NO_PYTHON on $@ " ; exit 1 ; fi ; \
306
+ @if $(call SHA256STAMP_CHANGED) ; then \
307
307
$(call VERBOSE,"wiregen $@ ",tools/generate-wire.py --page impl $($@ _args) ${@:.c=.h} `basename $< .csv | sed 's/_exp_/_/'` < $< > $@ && $(call SHA256STAMP,//,) ) ; \
308
308
fi
309
309
310
310
% _printgen.h : % _wire.csv $(WIRE_GEN_DEPS )
311
- @if $(call SHA256STAMP_CHANGED) ; then if [ " $$ NO_PYTHON " = 1 ] ; then echo " Error: NO_PYTHON on $@ " ; exit 1 ; fi ; \
311
+ @if $(call SHA256STAMP_CHANGED) ; then \
312
312
$(call VERBOSE,"printgen $@ ",tools/generate-wire.py -s -P --page header $($@ _args) $@ `basename $< .csv | sed 's/_exp_/_/'` < $< > $@ && $(call SHA256STAMP,//,) ) ; \
313
313
fi
314
314
315
315
% _printgen.c : % _wire.csv $(WIRE_GEN_DEPS )
316
- @if $(call SHA256STAMP_CHANGED) ; then if [ " $$ NO_PYTHON " = 1 ] ; then echo " Error: NO_PYTHON on $@ " ; exit 1 ; fi ; \
316
+ @if $(call SHA256STAMP_CHANGED) ; then \
317
317
$(call VERBOSE,"printgen $@ ",tools/generate-wire.py -s -P --page impl $($@ _args) ${@:.c=.h} `basename $< .csv | sed 's/_exp_/_/'` < $< > $@ && $(call SHA256STAMP,//,) ) ; \
318
318
fi
319
319
0 commit comments