Tools: don't publish elf files in build_binaries.py

these just confuse users of ChibiOS
This commit is contained in:
Andrew Tridgell 2018-05-10 16:49:22 +10:00 committed by Peter Barker
parent 6f138ddcfa
commit 6ab96fe8a9

View File

@ -393,12 +393,13 @@ is bob we will attempt to checkout bob-AVR'''
"bin",
"".join([binaryname, framesuffix]))
files_to_copy = []
if os.path.exists(bare_path):
files_to_copy.append(bare_path)
for extension in [".px4", ".apj", ".abin"]:
filepath = "".join([bare_path, extension])
if os.path.exists(filepath):
files_to_copy.append(filepath)
# only copy the elf if we don't have other files to copy
if os.path.exists(bare_path) and len(files_to_copy) == 0:
files_to_copy.append(bare_path)
for path in files_to_copy:
try: