summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-04-22 15:21:38 +1000
committerChris Johns <chrisj@rtems.org>2023-05-16 13:19:42 +1000
commitc85c46e3bb61130fff4fdcc055dd2fd875cf6a50 (patch)
tree1d2da2f5e0f7032034fe1168683d3cb2c8e67ba2
parentsb: Fix the library handling in rtems-build-dep (diff)
downloadrtems-source-builder-c85c46e3bb61130fff4fdcc055dd2fd875cf6a50.tar.bz2
sb/option: Add the arch to the macros from the --rtems-bsp option
-rw-r--r--source-builder/sb/options.py1
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):