Update the gencode rules to use the silent build helpers.
## COMMON_POST_CONFIG_FRAG
simops.h: gencode
- ./gencode -h >$@
+ $(ECHO_GEN) ./gencode -h >$@
table.c: gencode simops.h
- ./gencode >$@
+ $(ECHO_GEN) ./gencode >$@
gencode.o: gencode.c $(INCLUDE)
- $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
cr16-opc.o: $(srcdir)/../../opcodes/cr16-opc.c
- $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/cr16-opc.c
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/cr16-opc.c
gencode: gencode.o cr16-opc.o
- $(LINK_FOR_BUILD) gencode.o cr16-opc.o
+ $(ECHO_CCLD) $(LINK_FOR_BUILD) gencode.o cr16-opc.o
clean-extra:
rm -f table.c simops.h gencode
## COMMON_POST_CONFIG_FRAG
simops.h: gencode
- ./gencode -h >$@
+ $(ECHO_GEN) ./gencode -h >$@
table.c: gencode simops.h
- ./gencode >$@
+ $(ECHO_GEN) ./gencode >$@
gencode.o: gencode.c $(INCLUDE)
- $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/gencode.c
d10v-opc.o: $(srcdir)/../../opcodes/d10v-opc.c
- $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) $(WARN_CFLAGS) -c $(srcdir)/../../opcodes/d10v-opc.c
gencode: gencode.o d10v-opc.o
- $(LINK_FOR_BUILD) gencode.o d10v-opc.o
+ $(ECHO_CCLD) $(LINK_FOR_BUILD) gencode.o d10v-opc.o
clean-extra:
rm -f table.c simops.h gencode
## COMMON_POST_CONFIG_FRAG
m68hc11int.c: gencode
- ./gencode -m6811 > $@
+ $(ECHO_GEN) ./gencode -m6811 > $@
m68hc12int.c: gencode
- ./gencode -m6812 > $@
+ $(ECHO_GEN) ./gencode -m6812 > $@
gencode.o: gencode.c
- $(COMPILE_FOR_BUILD) -c $< -o $@
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $< -o $@
gencode: gencode.o
- $(LINK_FOR_BUILD) $^
+ $(ECHO_CCLD) $(LINK_FOR_BUILD) $^
clean-extra:
rm -f gencode m68hc11int.c
## COMMON_POST_CONFIG_FRAG
code.c: gencode
- ./gencode -x >code.c
+ $(ECHO_GEN) ./gencode -x >code.c
# indent code.c
table.c: gencode
- ./gencode -s >table.c
+ $(ECHO_GEN) ./gencode -s >table.c
# indent table.c
ppi.c: gencode
- ./gencode -p >ppi.c
+ $(ECHO_GEN) ./gencode -p >ppi.c
gencode.o: gencode.c
- $(COMPILE_FOR_BUILD) -c $< -o $@
+ $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $< -o $@
gencode: gencode.o
- $(LINK_FOR_BUILD) $^
+ $(ECHO_CCLD) $(LINK_FOR_BUILD) $^
sh-clean:
rm -f gencode code.c table.c