mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 01:26:48 +08:00
waf: Fix the bnode issue when building in a manual directory.
This commit is contained in:
parent
3a58bff6bf
commit
9024cfbc7f
@ -77,7 +77,7 @@ def build_dir_setup(ctx, buildtype):
|
||||
where = buildtype
|
||||
if is_top_build(ctx):
|
||||
where = os.path.join(ctx.path.name, where)
|
||||
bnode = ctx.bldnode.find_node(where)
|
||||
bnode = ctx.bldnode.find_node(where)
|
||||
if bnode is None:
|
||||
ctx.bldnode.make_node(where).mkdir()
|
||||
build_dir = ctx.path.get_bld().relpath()
|
||||
|
Loading…
x
Reference in New Issue
Block a user