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