2022-06-26 12:00:03 +00:00
|
|
|
Import("env")
|
|
|
|
|
2022-07-20 10:56:33 +00:00
|
|
|
env.Append(LINT_SOURCES=["furi"])
|
2022-06-26 12:00:03 +00:00
|
|
|
|
|
|
|
|
2022-07-20 10:56:33 +00:00
|
|
|
libenv = env.Clone(FW_LIB_NAME="furi")
|
2022-06-26 12:00:03 +00:00
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|