[FL-2052] New build system based on scons (#1269)

This commit is contained in:
hedger
2022-06-26 15:00:03 +03:00
committed by GitHub
parent c79fb61909
commit f3b1475ede
179 changed files with 3986 additions and 5196 deletions

View File

@@ -0,0 +1,19 @@
Import("env")
env.Append(
CPPPATH=[
"#/lib/ST25RFAL002",
"#/lib/ST25RFAL002/include",
"#/lib/ST25RFAL002/source/st25r3916",
],
)
libenv = env.Clone(FW_LIB_NAME="st25rfal002")
libenv.ApplyLibFlags()
sources = libenv.GlobRecursive("*.c")
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")