mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 07:27:26 +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
|
where = buildtype
|
||||||
if is_top_build(ctx):
|
if is_top_build(ctx):
|
||||||
where = os.path.join(ctx.path.name, where)
|
where = os.path.join(ctx.path.name, where)
|
||||||
bnode = ctx.bldnode.find_node(where)
|
bnode = ctx.bldnode.find_node(where)
|
||||||
if bnode is None:
|
if bnode is None:
|
||||||
ctx.bldnode.make_node(where).mkdir()
|
ctx.bldnode.make_node(where).mkdir()
|
||||||
build_dir = ctx.path.get_bld().relpath()
|
build_dir = ctx.path.get_bld().relpath()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user