waf: added WAF_BUILD_TARGET for esp32 build

This commit is contained in:
Andrew Tridgell 2023-12-29 15:49:40 +11:00
parent 4b908077c2
commit 564041f592
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ def pre_build(self):
"""Configure esp-idf as lib target""" """Configure esp-idf as lib target"""
lib_vars = OrderedDict() lib_vars = OrderedDict()
lib_vars['ARDUPILOT_CMD'] = self.cmd lib_vars['ARDUPILOT_CMD'] = self.cmd
lib_vars['WAF_BUILD_TARGET'] = self.targets
lib_vars['ARDUPILOT_LIB'] = self.bldnode.find_or_declare('lib/').abspath() lib_vars['ARDUPILOT_LIB'] = self.bldnode.find_or_declare('lib/').abspath()
lib_vars['ARDUPILOT_BIN'] = self.bldnode.find_or_declare('lib/bin').abspath() lib_vars['ARDUPILOT_BIN'] = self.bldnode.find_or_declare('lib/bin').abspath()
target = self.env.ESP32_TARGET target = self.env.ESP32_TARGET