mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
[FL-2052] New build system based on scons (#1269)
This commit is contained in:
21
lib/microtar.scons
Normal file
21
lib/microtar.scons
Normal file
@@ -0,0 +1,21 @@
|
||||
Import("env")
|
||||
|
||||
env.Append(
|
||||
CPPPATH=[
|
||||
"#/lib/microtar/src",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
libenv = env.Clone(FW_LIB_NAME="microtar")
|
||||
libenv.ApplyLibFlags()
|
||||
|
||||
libenv.Append(
|
||||
CPPDEFINES=["MICROTAR_DISABLE_API_CHECKS"],
|
||||
)
|
||||
|
||||
sources = libenv.GlobRecursive("*.c", "microtar/src")
|
||||
|
||||
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||||
libenv.Install("${LIB_DIST_DIR}", lib)
|
||||
Return("lib")
|
||||
Reference in New Issue
Block a user