waf: speed up the bootloader build

don't need to build all libraries
This commit is contained in:
Andrew Tridgell 2018-06-24 08:13:15 +10:00
parent f202ff87e2
commit f73ca2a6ba
1 changed files with 3 additions and 0 deletions

View File

@ -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