> nvboard
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 17:25:05 up 2:11, 2 users, load average: 1.25, 1.33, 1.13
This commit is contained in:
parent
2b96284bab
commit
5a23c53fff
1 changed files with 3 additions and 3 deletions
|
@ -28,10 +28,10 @@ NXDC_FILES := $(abspath constr/top.nxdc)
|
|||
$(SRC_AUTO_BIND): $(NXDC_FILES)
|
||||
NVBOARD_HOME=$(NVBOARD_HOME) python3 $(NVBOARD_HOME)/scripts/auto_pin_bind.py $< $@
|
||||
|
||||
nvboard-bin: OBJDIR := $(PREFIX)/nvobj
|
||||
nvboard-bin: SUBMAKE := $(OBJDIR)/V$(CHISEL_TOP_MODULE).mk
|
||||
nvboard-bin: OBJDIR = $(PREFIX)/nvobj
|
||||
nvboard-bin: SUBMAKE = $(OBJDIR)/V$(CHISEL_TOP_MODULE).mk
|
||||
# TODO: fix this awkward way to find nvboard.a
|
||||
nvboard-bin: CPPSRCS := $(addprefix $(PWD)/,$(wildcard csrc_nvboard/*.cpp)) $(SRC_AUTO_BIND) $(NVBOARD_HOME)/build/nvboard.a
|
||||
nvboard-bin: CPPSRCS = $(addprefix $(PWD)/,$(wildcard csrc_nvboard/*.cpp)) $(SRC_AUTO_BIND) $(NVBOARD_HOME)/build/nvboard.a
|
||||
nvboard-bin: CXXFLAGS += -I$(NVBOARD_HOME)/include $(shell sdl2-config --cflags) -g
|
||||
|
||||
nvboard-bin: $(CPPSRCS) $(SUBMAKE) $(SRC_AUTO_BIND) $(OBJDIR)/V$(CHISEL_TOP_MODULE)
|
||||
|
|
Loading…
Reference in a new issue