mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-03-29 11:39:54 +00:00
24 lines
401 B
Plaintext
24 lines
401 B
Plaintext
from fbt.util import GLOB_FILE_EXCLUSION
|
|
|
|
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/heatshrink",
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="heatshrink")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = Glob(
|
|
"heatshrink/heatshrink_*.c*",
|
|
exclude=GLOB_FILE_EXCLUSION,
|
|
source=True,
|
|
)
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|