Build: Clean up redundant config groups

Many config groups are out of date and are not in use any more.
Deprecated config groups are removed in this patch.
This patch also merges groups that contain totally same configs,
so that the code will be much more easier to maintain.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I21dbbb03be6586f9cbad6fa833e72f8155b73775
diff --git a/configs.py b/configs.py
index 8b3c077..ee370af 100755
--- a/configs.py
+++ b/configs.py
@@ -10,13 +10,12 @@
 import sys
 
 from tfm_ci_pylib.tfm_build_manager import TFM_Build_Manager
-from build_helper.build_helper_configs import config_full
 from build_helper.build_helper_configs import _builtin_configs
 
 
 __copyright__ = """
 /*
- * Copyright (c) 2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2020-2022, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -26,9 +25,10 @@
 
 def get_build_manager(group=None):
     """Get a TFM_Build_Manager instance, silencing stdout"""
-    config = config_full
-    if group:
-        config = _builtin_configs[group]
+    if not group:
+        print("No config group selected!")
+        return
+    config = _builtin_configs[group]
     _dir = os.getcwd()
     # Block default stdout from __init__
     sys.stdout = open(os.devnull, "w")
@@ -81,13 +81,11 @@
         action="append",
         help="Only list configurations under a certain group. "
         "'all' will look through all configurations. "
-        "Leaving blank will just look at config 'full'.",
+        "Leaving blank will just look at config 'all'.",
         choices=list(_builtin_configs.keys())+['all'],
     )
     ARGS = PARSER.parse_args()
-    if not ARGS.group:
-        ARGS.group = ['full']
-    if ARGS.group == ['all']:
+    if not ARGS.group or ARGS.group == ['all']:
         ARGS.group = list(_builtin_configs.keys())
 
     all_configs = set()