filesystem-layout: allow any *-cros-elf bare-metal targets

We allow any cros linux target, so add bare-metal ones too.

BUG=b:199699065
TEST=CQ passes

Change-Id: I22d9b0dc8d40abd010445b445d6ee59c07a75338
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/3172937
Tested-by: Mike Frysinger <vapier@chromium.org>
Auto-Submit: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Dan Callaghan <dcallagh@chromium.org>
Commit-Queue: Dan Callaghan <dcallagh@chromium.org>
diff --git a/hooks/filesystem-layout.py b/hooks/filesystem-layout.py
index 71efaf9..d824b00 100755
--- a/hooks/filesystem-layout.py
+++ b/hooks/filesystem-layout.py
@@ -10,7 +10,7 @@
 
 import argparse
 import fnmatch
-import logging  # pylint: disable=cros-logging-import
+import logging
 import os
 import sys
 
@@ -66,10 +66,13 @@
 # Valid toolchain targets.  We don't want to add any more non-standard ones.
 # targets that use *-cros-* as the vendor are OK to add more.
 KNOWN_TARGETS = {
+    # These are historical names that we want to change to *-cros-* someday.
     'arm-none-eabi',
     'i686-pc-linux-gnu',
+    # This is the host SDK name.
     'x86_64-pc-linux-gnu',
-    'arm*-cros-eabi',
+    '*-cros-eabi',
+    '*-cros-elf',
     '*-cros-linux-gnu*',
 }