diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-02-07 20:48:21 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-02-07 20:48:21 -0500 |
commit | 1049282eec1eb1717df6ac49c0e533bb034e1961 (patch) | |
tree | dd60537eef6269d648090507ad87e41673fe55ae /scripts | |
parent | a7b50b6002d2982c6b426f180a5f6bf9db976e1f (diff) | |
download | kutter-1049282eec1eb1717df6ac49c0e533bb034e1961.tar.gz kutter-1049282eec1eb1717df6ac49c0e533bb034e1961.tar.xz kutter-1049282eec1eb1717df6ac49c0e533bb034e1961.zip |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/spi_flash/fatfs_lib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/spi_flash/fatfs_lib.py b/scripts/spi_flash/fatfs_lib.py index 5894bb52..2f27c083 100644 --- a/scripts/spi_flash/fatfs_lib.py +++ b/scripts/spi_flash/fatfs_lib.py @@ -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) |