mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 01:24:10 +00:00
21 lines
728 B
Makefile
21 lines
728 B
Makefile
OBJS += passes/pmgen/ice40_dsp.o
|
|
OBJS += passes/pmgen/peepopt.o
|
|
|
|
# --------------------------------------
|
|
|
|
passes/pmgen/ice40_dsp.o: passes/pmgen/ice40_dsp_pm.h
|
|
EXTRA_OBJS += passes/pmgen/ice40_dsp_pm.h
|
|
.SECONDARY: passes/pmgen/ice40_dsp_pm.h
|
|
|
|
passes/pmgen/ice40_dsp_pm.h: passes/pmgen/pmgen.py passes/pmgen/ice40_dsp.pmg
|
|
$(P) mkdir -p passes/pmgen && python3 $< -o $@ -p ice40_dsp $(filter-out $<,$^)
|
|
|
|
# --------------------------------------
|
|
|
|
passes/pmgen/peepopt.o: passes/pmgen/peepopt_pm.h
|
|
EXTRA_OBJS += passes/pmgen/peepopt_pm.h
|
|
.SECONDARY: passes/pmgen/peepopt_pm.h
|
|
|
|
passes/pmgen/peepopt_pm.h: passes/pmgen/pmgen.py passes/pmgen/peepopt.pmg
|
|
$(P) mkdir -p passes/pmgen && python3 $< -o $@ -p peepopt $(filter-out $<,$^)
|