From c85c46e3bb61130fff4fdcc055dd2fd875cf6a50 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 22 Apr 2023 15:21:38 +1000 Subject: sb/option: Add the arch to the macros from the --rtems-bsp option --- source-builder/sb/options.py | 1 + 1 file changed, 1 insertion(+) 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): -- cgit v1.2.3