build: Check app code formatting from application_fpga/Makefile

This commit is contained in:
Mikael Ågren 2025-05-21 15:10:07 +02:00 committed by Michael Cardell Widerkrantz
parent ba17a2b29e
commit 07e487733b
No known key found for this signature in database
GPG key ID: D3DB3DDF57E704E5

View file

@ -331,6 +331,7 @@ fmt: $(FPGA_VERILOG_SRCS) $(SIM_VERILOG_SRCS) $(VERILATOR_VERILOG_SRCS) $(VERILO
checkfmt: $(FPGA_VERILOG_SRCS) $(SIM_VERILOG_SRCS) $(VERILATOR_VERILOG_SRCS) $(VERILOG_SRCS)
make -C fw/tk1 checkfmt
make -C fw/testfw checkfmt
make -C apps checkfmt
$(FORMAT) $(CHECK_FORMAT_FLAGS) $^ 2>&1 | \
grep "Needs formatting" && exit 1 || true
.PHONY: checkfmt