[PATCH 3/4] sb/option: Add the arch to the macros from the --rtems-bsp option
chrisj at rtems.org
chrisj at rtems.org
Sat Apr 22 05:23:38 UTC 2023
From: Chris Johns <chrisj at rtems.org>
---
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):
--
2.37.1
More information about the devel
mailing list