Added "--with-sky130-variants=" to the configuration, so that the
compile and install can be restricted to only sky130A or sky130B.
The default is to compile and install both variants, equivalent to
"--with-sky130-variants=all".
diff --git a/scripts/configure b/scripts/configure
index 5ccc6d5..29224d0 100755
--- a/scripts/configure
+++ b/scripts/configure
@@ -607,6 +607,7 @@
 KLAYOUT_DISABLED
 ALL_TECHS
 SKY130_SOURCE_PATH
+SKY130_ENABLED_VARIANTS
 SKY130_LINK_TARGETS
 SED
 pkgpyexecdir
@@ -661,6 +662,7 @@
 enable_option_checking
 enable_sky130_pdk
 with_sky130_link_targets
+with_sky130_variants
 enable_klayout
 enable_magic
 enable_netgen
@@ -1346,6 +1348,9 @@
   --with-sky130-link-targets=none|source
                           "make symbolic links to existing files
                           [default=none]"
+  --with-sky130-variants=all|A|B|...
+                          "compile/install specified PDK variants only
+                          [default=all]"
   --with-ef-style         Use efabless style file system structure
                           [default=no]
 
@@ -2186,6 +2191,7 @@
         echo "Checking technology sky130..."
 
 
+        SKY130_ENABLED_VARIANTS="all"
         SKY130_SOURCE_PATH=""
         SKY130_LINK_TARGETS="none"
         SKY130_AUTO="0"
@@ -2262,6 +2268,18 @@
 
             { $as_echo "$as_me:${as_lineno-$LINENO}: Link targets set to $SKY130_LINK_TARGETS" >&5
 $as_echo "$as_me: Link targets set to $SKY130_LINK_TARGETS" >&6;}
+
+            # --with-pdk-variants=PDK_ENABLED_VARIANTS
+
+# Check whether --with-sky130-variants was given.
+if test "${with_sky130_variants+set}" = set; then :
+  withval=$with_sky130_variants; SKY130_ENABLED_VARIANTS=$with_sky130_variants
+
+fi
+
+
+            { $as_echo "$as_me:${as_lineno-$LINENO}: Enabled variants set to $SKY130_ENABLED_VARIANTS" >&5
+$as_echo "$as_me: Enabled variants set to $SKY130_ENABLED_VARIANTS" >&6;}
         fi
 
 
@@ -2269,6 +2287,7 @@
 
 
 
+
 # Export the list of known technologies to the Makefile
 ALL_TECHS="sky130"