> sim RTL

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 14:26:46  up  23:05,  2 users,  load average: 2.62, 1.66, 1.15
This commit is contained in:
tracer-ysyx 2024-01-01 14:26:46 +08:00 committed by xinyangli
parent 3deed069e8
commit 4860b552d5
2 changed files with 6 additions and 3 deletions

View file

@ -53,9 +53,11 @@ nvboard: CXXFLAGS += -I$(NVBOARD_HOME)/include $(shell sdl2-config --cflags) -g
nvboard: $(VSRC) $(CPPSRCS) $(SUBMAKE) $(SRC_AUTO_BIND) $(OBJDIR)/Vexample nvboard: $(VSRC) $(CPPSRCS) $(SUBMAKE) $(SRC_AUTO_BIND) $(OBJDIR)/Vexample
@NVBOARD_HOME=$(NVBOARD_HOME) $(OBJDIR)/Vexample @NVBOARD_HOME=$(NVBOARD_HOME) $(OBJDIR)/Vexample
compile_commands.json: clean nvboard compile_commands.json: clean
bear -- $(MAKE) -i all > bear --output all.json -- $(MAKE) -i all
bear -- $(MAKE) -i nvboard bear --output nvboard.json -- $(MAKE) -i nvboard
jq -s ".[0] + .[1]" all.json nvboard.json > compile_commands.json
$(RM) all.json nvboard.json
clean: clean:
$(RM) -r $(PREFIX) $(RM) -r $(PREFIX)

View file

@ -14,6 +14,7 @@
gtkwave gtkwave
gcc gcc
gdb gdb
jq
bear bear
clang-tools clang-tools
rnix-lsp rnix-lsp