mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-07 15:07:33 -06:00
chelper: Fix check for failed code build
Commit 73b78af6
inadvertently removed the check for a successful gcc
compilation. Add the check back in.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
a7b50b6002
commit
1049282eec
2 changed files with 12 additions and 3 deletions
|
@ -73,7 +73,7 @@ def check_fatfs_build(printfunc=lambda o: o):
|
|||
else:
|
||||
cmd = "%s %s" % (chelper.GCC_CMD, chelper.COMPILE_ARGS)
|
||||
printfunc("Building FatFS shared library...")
|
||||
os.system(cmd % (destlib, ' '.join(srcfiles)))
|
||||
chelper.do_build_code(cmd % (destlib, ' '.join(srcfiles)))
|
||||
printfunc("Done\n")
|
||||
global fatfs_ffi_main, fatfs_ffi_lib
|
||||
ffi_main.cdef(FATFS_CDEFS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue