mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 22:32:29 +03: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")
|