From 8949cdd87a6ebe186a7549fce5201677deae478d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 28 Nov 2018 21:06:20 +1100 Subject: [PATCH] Tools: waf: use ctx rather than build for fatal errors --- Tools/ardupilotwaf/boards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index d2958d3d53..05f80764a0 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -249,7 +249,7 @@ class Board: ctx.env.ROMFS_FILES[i] = (name,filename); header = ctx.bldnode.make_node('ap_romfs_embedded.h').abspath() if not embed.create_embedded_h(header, ctx.env.ROMFS_FILES): - bld.fatal("Failed to created ap_romfs_embedded.h") + ctx.fatal("Failed to created ap_romfs_embedded.h") Board = BoardMeta('Board', Board.__bases__, dict(Board.__dict__))