Corrected the Makefiles for sky130 and gf180mcu so that the "--with-reference" configure option works. (See github issue #372 from Kareem Farid.)
diff --git a/VERSION b/VERSION index 2b9c98c..a72006d 100644 --- a/VERSION +++ b/VERSION
@@ -1 +1 @@ -1.0.412 +1.0.413
diff --git a/gf180mcu/Makefile.in b/gf180mcu/Makefile.in index b2b846a..768cb12 100644 --- a/gf180mcu/Makefile.in +++ b/gf180mcu/Makefile.in
@@ -494,7 +494,7 @@ pr-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_PR_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_pr | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_PR_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_pr | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_PR_PATH}" != "x" ; then \ if test -d "${GF180MCU_PR_PATH}" ; then \ @@ -507,7 +507,7 @@ pv-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_PV_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_pv | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_PV_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_pv | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_PV_PATH}" != "x" ; then \ if test -d "${GF180MCU_PV_PATH}" ; then \ @@ -520,7 +520,7 @@ io-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_IO_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_io | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_IO_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_io | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_IO_PATH}" != "x" ; then \ if test -d "${GF180MCU_IO_PATH}" ; then \ @@ -533,7 +533,7 @@ sc-7t-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_SC_MCU7T5V0_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_sc_mcu7t5v0 | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_SC_MCU7T5V0_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_sc_mcu7t5v0 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_SC_7T5V0_PATH}" != "x" ; then \ if test -d "${GF180MCU_SC_7T5V0_PATH}" ; then \ @@ -546,7 +546,7 @@ sc-9t-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_SC_MCU9T5V0_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_sc_mcu9t5v0 | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_SC_MCU9T5V0_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_sc_mcu9t5v0 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_SC_9T5V0_PATH}" != "x" ; then \ if test -d "${GF180MCU_SC_9T5V0_PATH}" ; then \ @@ -559,7 +559,7 @@ sram-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - FD_IP_SRAM_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_fd_ip_sram | grep -v COMMIT | cut -d'"' -f4` ; \ + FD_IP_SRAM_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_fd_ip_sram | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_SRAM_PATH}" != "x" ; then \ if test -d "${GF180MCU_SRAM_PATH}" ; then \ @@ -572,7 +572,7 @@ osu-sc-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - OSU_SC_COMMIT = `cat ${REFERENCE_JSON} | grep gf180mcu_osu_sc_gf12t3v3 | grep -v COMMIT | cut -d'"' -f4` ; \ + OSU_SC_COMMIT=`cat ${REFERENCE_JSON} | grep gf180mcu_osu_sc_gf12t3v3 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${GF180MCU_OSU_SC_PATH}" != "x" ; then \ if test -d "${GF180MCU_OSU_SC_PATH}" ; then \
diff --git a/sky130/Makefile.in b/sky130/Makefile.in index f3d269c..90d6830 100644 --- a/sky130/Makefile.in +++ b/sky130/Makefile.in
@@ -629,7 +629,7 @@ pdk-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - SKYWATER_COMMIT = `cat ${REFERENCE_JSON} | grep skywater_pdk | grep -v COMMIT | cut -d'"' -f4` ; \ + SKYWATER_COMMIT=`cat ${REFERENCE_JSON} | grep skywater_pdk | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${SKYWATER_PATH}" != "x" ; then \ if test -d "${SKYWATER_PATH}" ; then \ @@ -642,7 +642,7 @@ alpha-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - ALPHA_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_ml_xx_hd | grep -v COMMIT | cut -d'"' -f4` ; \ + ALPHA_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_ml_xx_hd | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${ALPHA_PATH}" != "x" ; then \ if test -d "${ALPHA_PATH}" ; then \ @@ -655,7 +655,7 @@ sram-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - SRAM_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_sram_macros | grep -v COMMIT | cut -d'"' -f4` ; \ + SRAM_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_sram_macros | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${SRAM_PATH}" != "x" ; then \ if test -d "${SRAM_PATH}" ; then \ @@ -668,7 +668,7 @@ sram-space-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - SRAM_SPACE_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_fd_bd_sram | grep -v COMMIT | cut -d'"' -f4` ; \ + SRAM_SPACE_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_fd_bd_sram | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${SRAM_SPACE_PATH}" != "x" ; then \ if test -d "${SRAM_SPACE_PATH}" ; then \ @@ -681,7 +681,7 @@ xschem-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - XSCHEM_COMMIT = `cat ${REFERENCE_JSON} | grep xschem_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ + XSCHEM_COMMIT=`cat ${REFERENCE_JSON} | grep xschem_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${XSCHEM_PATH}" != "x" ; then \ if test -d "${XSCHEM_PATH}" ; then \ @@ -694,7 +694,7 @@ klayout-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - KLAYOUT_COMMIT = `cat ${REFERENCE_JSON} | grep klayout_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ + KLAYOUT_COMMIT=`cat ${REFERENCE_JSON} | grep klayout_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${KLAYOUT_PATH}" != "x" ; then \ if test -d "${KLAYOUT_PATH}" ; then \ @@ -707,7 +707,7 @@ precheck-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - PRECHECK_COMMIT = `cat ${REFERENCE_JSON} | grep precheck_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ + PRECHECK_COMMIT=`cat ${REFERENCE_JSON} | grep precheck_sky130 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${PRECHECK_PATH}" != "x" ; then \ if test -d "${PRECHECK_PATH}" ; then \ @@ -720,7 +720,7 @@ osu-t12-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - OSU_T12_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_osu_sc_t12 | grep -v COMMIT | cut -d'"' -f4` ; \ + OSU_T12_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_osu_sc_t12 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${OSU_T12_PATH}" != "x" ; then \ if test -d "${OSU_T12_PATH}" ; then \ @@ -733,7 +733,7 @@ osu-t15-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - OSU_T15_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_osu_sc_t15 | grep -v COMMIT | cut -d'"' -f4` ; \ + OSU_T15_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_osu_sc_t15 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${OSU_T15_PATH}" != "x" ; then \ if test -d "${OSU_T15_PATH}" ; then \ @@ -746,7 +746,7 @@ osu-t18-repo: if test "x${REFERENCE_JSON}" != "x"; then \ - OSU_T18_COMMIT = `cat ${REFERENCE_JSON} | grep sky130_osu_sc_t18 | grep -v COMMIT | cut -d'"' -f4` ; \ + OSU_T18_COMMIT=`cat ${REFERENCE_JSON} | grep sky130_osu_sc_t18 | grep -v COMMIT | cut -d'"' -f4` ; \ fi if test "x${OSU_T18_PATH}" != "x" ; then \ if test -d "${OSU_T18_PATH}" ; then \