mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: let toolchain loading in charge of the Board class
That allows boards (i.e. subclasses of Board) to use toolchain related information for configuration. The upcoming PX4 build is an example.
This commit is contained in:
parent
b7e3071ba3
commit
841771096d
@ -46,6 +46,9 @@ class Board:
|
||||
else:
|
||||
cfg.env[k] = val
|
||||
|
||||
cfg.load('toolchain')
|
||||
cfg.load('compiler_cxx compiler_c')
|
||||
|
||||
def configure_env(self, cfg, env):
|
||||
# Use a dictionary instead of the convetional list for definitions to
|
||||
# make easy to override them. Convert back to list before consumption.
|
||||
|
Loading…
Reference in New Issue
Block a user