forked from IObundle/iob-soc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request IObundle#128 from P-Miranda/build-lib
Update LIB submodule, remove FPGA and DOC flows, working with build-lib
- Loading branch information
Showing
41 changed files
with
77 additions
and
674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,109 +1,13 @@ | ||
UART_DIR:=. | ||
include config.mk | ||
LIB_DIR=submodules/LIB | ||
|
||
# | ||
# SIMULATE | ||
# | ||
VCD ?=0 | ||
|
||
sim: | ||
make -C $(SIM_DIR) run | ||
|
||
sim-test: | ||
make -C $(SIM_DIR) test | ||
|
||
sim-clean: | ||
make -C $(SIM_DIR) clean-all | ||
|
||
# | ||
# FPGA COMPILE | ||
# | ||
|
||
fpga-build: | ||
make -C $(FPGA_DIR) build | ||
|
||
fpga-build-all: | ||
$(foreach s, $(FPGA_FAMILY_LIST), make fpga-build FPGA_FAMILY=$s;) | ||
|
||
fpga-test: | ||
make -C $(FPGA_DIR) test | ||
|
||
fpga-clean: | ||
make -C $(FPGA_DIR) clean-all | ||
|
||
fpga-clean-all: | ||
$(foreach s, $(FPGA_FAMILY_LIST), make fpga-clean FPGA_FAMILY=$s;) | ||
|
||
|
||
# | ||
# DOCUMENT | ||
# | ||
|
||
doc-build: | ||
make -C $(DOC_DIR) $(DOC).pdf | ||
|
||
doc-build-all: | ||
$(foreach s, $(DOC_LIST), make doc-build DOC=$s;) | ||
|
||
doc-test: | ||
make -C $(DOC_DIR) test | ||
|
||
doc-clean: | ||
make -C $(DOC_DIR) clean | ||
|
||
doc-clean-all: | ||
$(foreach s, $(DOC_LIST), make doc-clean DOC=$s;) | ||
|
||
|
||
# | ||
# TEST ON SIMULATORS AND BOARDS | ||
# | ||
|
||
test-sim: | ||
make sim-test | ||
|
||
test-sim-clean: | ||
make sim-clean | ||
|
||
test-fpga: | ||
make fpga-test FPGA_FAMILY=CYCLONEV-GT | ||
make fpga-test FPGA_FAMILY=XCKU | ||
|
||
test-fpga-clean: | ||
make fpga-clean FPGA_FAMILY=CYCLONEV-GT | ||
make fpga-clean FPGA_FAMILY=XCKU | ||
|
||
test-doc: | ||
make doc-test DOC=pb | ||
make doc-test DOC=ug | ||
|
||
test-doc-clean: | ||
make doc-clean DOC=pb | ||
make doc-clean DOC=ug | ||
|
||
test: test-clean test-sim test-fpga test-doc | ||
|
||
test-clean: test-sim-clean test-fpga-clean test-doc-clean | ||
|
||
# | ||
# CLEAN ALL | ||
# | ||
|
||
clean-all: uart-gen-clean sim-clean fpga-clean-all doc-clean-all | ||
setup: | ||
make -C $(LIB_DIR) $@ | ||
|
||
clean: | ||
make -C $(LIB_DIR) $@ | ||
|
||
debug: | ||
@echo $(SIM_DIR) | ||
@echo $(FPGA_DIR) | ||
@echo $(DOC_DIR) | ||
|
||
.PHONY: sim sim-test sim-clean \ | ||
fpga-build fpga-build-all fpga-test fpga-clean fpga-clean-all \ | ||
doc-build doc-build-all doc-test doc-clean doc-clean-all \ | ||
test-sim test-sim-clean \ | ||
test-fpga test-fpga-clean \ | ||
test-doc test-doc-clean \ | ||
test test-clean \ | ||
clean-all debug | ||
make -C $(LIB_DIR) $@ | ||
|
||
|
||
.PHONY: setup clean debug |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.