diff options
author | Chris Johns <chrisj@rtems.org> | 2023-04-22 15:21:38 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-05-16 13:19:42 +1000 |
commit | c85c46e3bb61130fff4fdcc055dd2fd875cf6a50 (patch) | |
tree | 1d2da2f5e0f7032034fe1168683d3cb2c8e67ba2 | |
parent | 9c1e5c7e010e74505ea2925a0b2caa7553a7a722 (diff) |
sb/option: Add the arch to the macros from the --rtems-bsp option
-rw-r--r-- | source-builder/sb/options.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py index 00cc611..d554097 100644 --- a/source-builder/sb/options.py +++ b/source-builder/sb/options.py @@ -634,6 +634,7 @@ class command_line: if len(ab) != 2: raise error.general('invalid --rtems-bsp option') self.args.append('--target=%s-rtems%s' % (ab[0], rtems_version)) + self.args.append('--with-rtems-arch=%s' % (ab[0])) self.args.append('--with-rtems-bsp=%s' % (ab[1])) def load(args, optargs = None, defaults = '%{_sbdir}/defaults.mc', logfile = True): |