mirror of
https://github.com/im-tomu/fomu-workshop.git
synced 2024-09-20 03:10:12 +00:00
13 lines
463 B
Makefile
13 lines
463 B
Makefile
CONTAINER_ENGINE ?= docker
|
|
|
|
PWD = $(shell pwd)
|
|
CONTAINER_ARGS = run \
|
|
--rm \
|
|
-v /$(PWD)/../../..://wrk \
|
|
-w //wrk/hdl/$(notdir $(shell dirname $(PWD)))/$(notdir $(PWD))
|
|
|
|
GHDL = $(CONTAINER_ENGINE) $(CONTAINER_ARGS) hdlc/ghdl:yosys ghdl
|
|
YOSYS = $(CONTAINER_ENGINE) $(CONTAINER_ARGS) hdlc/ghdl:yosys yosys
|
|
NEXTPNR = $(CONTAINER_ENGINE) $(CONTAINER_ARGS) hdlc/nextpnr:ice40 nextpnr-ice40
|
|
ICEPACK = $(CONTAINER_ENGINE) $(CONTAINER_ARGS) hdlc/icestorm icepack
|