diff options
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) |