mirror of https://github.com/ArduPilot/ardupilot
waf: speed up the bootloader build
don't need to build all libraries
This commit is contained in:
parent
f202ff87e2
commit
f73ca2a6ba
|
@ -90,6 +90,9 @@ IGNORED_AP_LIBRARIES = [
|
|||
|
||||
@conf
|
||||
def ap_get_all_libraries(bld):
|
||||
if bld.env.BOOTLOADER:
|
||||
# we don't need the full set of libraries for the bootloader build
|
||||
return ['AP_HAL']
|
||||
libraries = []
|
||||
for lib_node in bld.srcnode.ant_glob('libraries/*', dir=True, src=False):
|
||||
name = lib_node.name
|
||||
|
|
Loading…
Reference in New Issue