Lines Matching +full:current +full:- +full:path
4 # SPDX-License-Identifier: GPL-2.0
19 SRC_DIR = os.path.dirname(os.path.realpath(__file__))
21 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
25 SRCTREE = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../..")
34 """Detects the current architecture"""
36 proc = subprocess.run(["uname", "-m"], check=True,
63 - neither feature nor arch is passed: generates a full matrix;
64 - arch provided: generates a table of supported tables for the
66 - only feature provided: generates a table with feature details,
83 Instead of using a --arch parameter, get feature for the current
106 """Add a --arch parsing argument"""
108 parser.add_argument("--arch",
114 """Add a --feat parsing argument"""
116 parser.add_argument("--feat", "--feature",
124 parser = subparsers.add_parser("current",
144 "--arch or --feat/--feature"
160 "affected by --arch flag.")
183 parser.add_argument("-d", "--debug", action="count", default=0,
188 parser.add_argument("--directory", "--dir", default=DEFAULT_DIR,
193 parser.add_argument("--enable-fname", action="store_true",