[misc] Generalize .gitignore for sysroots

Change-Id: I62601b0e458250da3a94764d2577d586ab8e5e1d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/255249
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
diff --git a/build/.gitignore b/build/.gitignore
index 3ecd6b7..57a07c0 100644
--- a/build/.gitignore
+++ b/build/.gitignore
@@ -1,8 +1,7 @@
-# Generated file containing information about the VS toolchain on Windows
+# Generated file containing information about the VS toolchain on Windows.
 win_toolchain.json
 
-# Pulled Debian stretch sysroots
-linux/debian_stretch_arm-sysroot
-linux/debian_stretch_arm64-sysroot
-linux/debian_stretch_amd64-sysroot
-linux/debian_stretch_i386-sysroot
+# Pulled Debian sysroots.
+# Regex to prevent large when comparing checkouts with commits in which the
+# sysroot has been rolled.
+linux/debian_**-sysroot