> 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 13:43:44 up 22:22, 2 users, load average: 0.73, 0.83, 0.84
This commit is contained in:
parent
6615352b77
commit
fc920227b2
1 changed files with 1 additions and 2 deletions
|
@ -5,8 +5,6 @@ OBJDIR := $(PREFIX)/obj
|
||||||
VSRC := $(wildcard vsrc/*.v)
|
VSRC := $(wildcard vsrc/*.v)
|
||||||
SRC_AUTO_BIND := $(abspath $(PREFIX)/auto_bind.cpp)
|
SRC_AUTO_BIND := $(abspath $(PREFIX)/auto_bind.cpp)
|
||||||
CPPSRCS := $(addprefix $(PWD)/,$(wildcard csrc/*.cpp))
|
CPPSRCS := $(addprefix $(PWD)/,$(wildcard csrc/*.cpp))
|
||||||
# TODO: fix this awkward way to find nvboard.a
|
|
||||||
CPPSRCS += $(SRC_AUTO_BIND) $(NVBOARD_HOME)/build/nvboard.a
|
|
||||||
NXDC_FILES = $(abspath constr/top.nxdc)
|
NXDC_FILES = $(abspath constr/top.nxdc)
|
||||||
SUBMAKE := $(OBJDIR)/Vexample.mk
|
SUBMAKE := $(OBJDIR)/Vexample.mk
|
||||||
|
|
||||||
|
@ -47,6 +45,7 @@ git_trace:
|
||||||
.PHONY: clean nvboard
|
.PHONY: clean nvboard
|
||||||
|
|
||||||
nvboard: OBJDIR := $(PREFIX)/nvobj
|
nvboard: OBJDIR := $(PREFIX)/nvobj
|
||||||
|
# TODO: fix this awkward way to find nvboard.a
|
||||||
nvboard: CPPSRCS := $(addprefix $(PWD)/,$(wildcard csrc_nvboard/*.cpp)) $(SRC_AUTO_BIND) $(NVBOARD_HOME)/build/nvboard.a
|
nvboard: CPPSRCS := $(addprefix $(PWD)/,$(wildcard csrc_nvboard/*.cpp)) $(SRC_AUTO_BIND) $(NVBOARD_HOME)/build/nvboard.a
|
||||||
nvboard: CXXFLAGS += -I$(NVBOARD_HOME)/include $(shell sdl2-config --cflags) -g
|
nvboard: CXXFLAGS += -I$(NVBOARD_HOME)/include $(shell sdl2-config --cflags) -g
|
||||||
nvboard: $(VSRC) $(CPPSRCS) $(OBJDIR)/Vexample
|
nvboard: $(VSRC) $(CPPSRCS) $(OBJDIR)/Vexample
|
||||||
|
|
Loading…
Reference in a new issue