[FL-2052] New build system based on scons (#1269)
This commit is contained in:
13
lib/fatfs/SConscript
Normal file
13
lib/fatfs/SConscript
Normal file
@@ -0,0 +1,13 @@
|
||||
Import("env")
|
||||
|
||||
|
||||
libenv = env.Clone(FW_LIB_NAME="fatfs")
|
||||
libenv.ApplyLibFlags()
|
||||
|
||||
|
||||
sources = ["option/unicode.c"]
|
||||
sources += Glob("*.c", source=True)
|
||||
|
||||
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||||
libenv.Install("${LIB_DIST_DIR}", lib)
|
||||
Return("lib")
|
Reference in New Issue
Block a user