Browse Source

Fix target order

master
T. Meissner 4 months ago
parent
commit
afc12ee9d0
1 changed files with 12 additions and 14 deletions
  1. +12
    -14
      pyuvm_tests/Makefile

+ 12
- 14
pyuvm_tests/Makefile View File

@ -19,10 +19,6 @@ RUFF_ARGS := --fix
endif
endif
.PHONY:
FIX:
@#
# Cocotb related
MODULE := tb_${DUT}
COCOTB_LOG_LEVEL := DEBUG
@ -48,6 +44,11 @@ EXTRA_ARGS := --std=08
VHDL_LIB_ORDER := libvhdl
endif
ifneq (, $(shell which cocotb-config))
include $(shell cocotb-config --makefiles)/Makefile.sim
else
$(warning WARNING: cocotb not found)
endif
check format:
ifneq (, $(shell which ruff))
@ -56,19 +57,16 @@ else
@echo "ERROR: ruff not found"; exit 1
endif
ifneq (, $(shell which cocotb-config))
include $(shell cocotb-config --makefiles)/Makefile.sim
else
$(warning WARNING: cocotb not found)
endif
FIX:
@#
results:
mkdir -p results
clean::
rm -rf *.o __pycache__ uarttx uartrx wishboneslavee aes results $(SIM_BUILD)
rm -rf *.o uarttx uartrx wishboneslavee aes results $(SIM_BUILD)
cleanall:
rm -rf .ruff_cache __pycache__
.PHONY: clean check format FIX
.PHONY: clean cleanall check format FIX

Loading…
Cancel
Save