Makefile (8b4ffe053bfec72d81b4c1577c3e1c33cee3cb52) | Makefile (917276a09738573bc3d1a582ab9956561bcd71ae) |
---|---|
1TOP = TopMain 2FPGATOP = FPGANOOP 3BUILD_DIR = ./build 4TOP_V = $(BUILD_DIR)/$(TOP).v 5SCALA_FILE = $(shell find ./src/main/scala -name '*.scala') 6TEST_FILE = $(shell find ./src/test/scala -name '*.scala') 7MEM_GEN = ./scripts/vlsi_mem_gen 8 --- 115 unchanged lines hidden (view full) --- 124emu: $(EMU) 125 ls build 126 $(EMU) -i $(IMAGE) $(EMU_FLAGS) 127 128cache: 129 $(MAKE) emu IMAGE=Makefile 130 131clean: | 1TOP = TopMain 2FPGATOP = FPGANOOP 3BUILD_DIR = ./build 4TOP_V = $(BUILD_DIR)/$(TOP).v 5SCALA_FILE = $(shell find ./src/main/scala -name '*.scala') 6TEST_FILE = $(shell find ./src/test/scala -name '*.scala') 7MEM_GEN = ./scripts/vlsi_mem_gen 8 --- 115 unchanged lines hidden (view full) --- 124emu: $(EMU) 125 ls build 126 $(EMU) -i $(IMAGE) $(EMU_FLAGS) 127 128cache: 129 $(MAKE) emu IMAGE=Makefile 130 131clean: |
132 rm -rf $(BUILD_DIR) | 132 git submodule foreach git clean -fdx 133 git clean -fd |
133 134init: 135 git submodule update --init | 134 135init: 136 git submodule update --init |
136 @# do not use a recursive init to pull some not used submodules 137 cd ./rocket-chip/ && git submodule update --init api-config-chipsalliance hardfloat | |
138 | 137 |
139.PHONY: verilog emu clean help init $(REF_SO) | 138bump: 139 git submodule foreach "git fetch origin&&git checkout master&&git reset --hard origin/master" 140 141bsp: 142 mill -i mill.contrib.BSP/install 143.PHONY: verilog emu clean help init bump bsp $(REF_SO) |