> 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:
parent
3deed069e8
commit
4860b552d5
2 changed files with 6 additions and 3 deletions
|
@ -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_HOME=$(NVBOARD_HOME) $(OBJDIR)/Vexample
|
||||
|
||||
compile_commands.json: clean nvboard
|
||||
bear -- $(MAKE) -i all >
|
||||
bear -- $(MAKE) -i nvboard
|
||||
compile_commands.json: clean
|
||||
bear --output all.json -- $(MAKE) -i all
|
||||
bear --output nvboard.json -- $(MAKE) -i nvboard
|
||||
jq -s ".[0] + .[1]" all.json nvboard.json > compile_commands.json
|
||||
$(RM) all.json nvboard.json
|
||||
|
||||
clean:
|
||||
$(RM) -r $(PREFIX)
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
gtkwave
|
||||
gcc
|
||||
gdb
|
||||
jq
|
||||
bear
|
||||
clang-tools
|
||||
rnix-lsp
|
||||
|
|
Loading…
Reference in a new issue