diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 452d4b053b..d5795f34f2 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -99,6 +99,9 @@ class Board: '-Wl,--gc-sections', ] + def build(self, bld): + pass + Board = BoardMeta('Board', Board.__bases__, dict(Board.__dict__)) def get_boards_names(): diff --git a/wscript b/wscript index 5a85f2b8d3..5a28d0abf5 100644 --- a/wscript +++ b/wscript @@ -234,6 +234,7 @@ def build(bld): _build_dynamic_sources(bld) bld.add_group('build') + boards.get_board(bld.env.BOARD).build(bld) _build_common_taskgens(bld) _build_recursion(bld)