gen-source for sky130B

This commit is contained in:
kareem 2022-02-24 04:46:37 -08:00
parent c875a7b058
commit 0fc8c4dacd
1 changed files with 9 additions and 1 deletions

View File

@ -1257,7 +1257,15 @@ $(PDK_ROOT)/sky130A: $(PDK_ROOT)/open_pdks $(PDK_ROOT)/skywater-pdk
make clean \
"
.PHONY: gen-sources
gen-sources: $(PDK_ROOT)/sky130A/SOURCES
gen-sources: $(PDK_ROOT)/sky130A/SOURCES $(PDK_ROOT)/sky130B/SOURCES
$(PDK_ROOT)/sky130B/SOURCES: $(PDK_ROOT)/sky130B
touch $(PDK_ROOT)/sky130B/SOURCES
printf "skywater-pdk " >> $(PDK_ROOT)/sky130B/SOURCES
cd $(PDK_ROOT)/skywater-pdk && git rev-parse HEAD >> $(PDK_ROOT)/sky130B/SOURCES
printf "open_pdks " >> $(PDK_ROOT)/sky130B/SOURCES
cd $(PDK_ROOT)/open_pdks && git rev-parse HEAD >> $(PDK_ROOT)/sky130B/SOURCES
printf "magic $(PDK_MAGIC_COMMIT)" >> $(PDK_ROOT)/sky130B/SOURCES
$(PDK_ROOT)/sky130A/SOURCES: $(PDK_ROOT)/sky130A
touch $(PDK_ROOT)/sky130A/SOURCES