mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-12 20:59:50 +04:00
22 lines
314 B
Plaintext
22 lines
314 B
Plaintext
|
|
Import("env")
|
||
|
|
|
||
|
|
env.Append(
|
||
|
|
CPPPATH=[
|
||
|
|
"#/lib/tlsf",
|
||
|
|
],
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
libenv = env.Clone(FW_LIB_NAME="tlsf")
|
||
|
|
libenv.ApplyLibFlags()
|
||
|
|
|
||
|
|
libenv.Append(
|
||
|
|
CPPDEFINES=[],
|
||
|
|
)
|
||
|
|
|
||
|
|
sources = [File("tlsf/tlsf.c")]
|
||
|
|
|
||
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
|
Return("lib")
|