Skip to content

Commit

Permalink
CapDL Linker: don't support default architecture
Browse files Browse the repository at this point in the history
Force the caller to specify the architecture.

Signed-off-by: Axel Heider <axelheider@gmx.de>
  • Loading branch information
axel-h committed Mar 10, 2022
1 parent 0dd86f9 commit 3c92322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdl_utils/capdl_linker.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def final_spec(args, obj_space, cspaces, addr_spaces, targets, architecture):
def main():
parser = argparse.ArgumentParser(
description="")
parser.add_argument('--architecture', '--arch', default='aarch32',
parser.add_argument('--architecture', '--arch', required=True,
type=lambda x: type('')(x).lower(), choices=valid_architectures(),
help='Target architecture.')
parser.add_argument('--object-sizes', required=True, type=argparse.FileType('r'))
Expand Down

0 comments on commit 3c92322

Please sign in to comment.