mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-30 21:03:20 +08:00
parent
039afd9816
commit
236295c67e
8
wscript
8
wscript
@ -144,8 +144,8 @@ def bsp_init(ctx, env, contexts):
|
||||
newcmd = y.cmd + '-' + builder
|
||||
newvariant = y.variant + '-' + builder
|
||||
class context(y):
|
||||
cmd = newcmd
|
||||
variant = newvariant
|
||||
cmd = str(newcmd)
|
||||
variant = str(newvariant)
|
||||
libbsd_buildset_name = builder
|
||||
|
||||
# Transform the commands to per build variant commands
|
||||
@ -153,9 +153,9 @@ def bsp_init(ctx, env, contexts):
|
||||
for cmd in waflib.Options.commands:
|
||||
if cmd.startswith(('build', 'clean', 'install')):
|
||||
for builder in builders:
|
||||
commands += [cmd + '-' + builder]
|
||||
commands += [str(cmd + '-' + builder)]
|
||||
else:
|
||||
commands += [cmd]
|
||||
commands += [str(cmd)]
|
||||
waflib.Options.commands = commands
|
||||
|
||||
def init(ctx):
|
||||
|
Loading…
x
Reference in New Issue
Block a user