mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
sb/option: Add the arch to the macros from the --rtems-bsp option
This commit is contained in:
parent
9c1e5c7e01
commit
c85c46e3bb
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user