mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
23 lines
385 B
Python
23 lines
385 B
Python
|
|
Import("env")
|
||
|
|
|
||
|
|
env.Append(
|
||
|
|
LINT_SOURCES=[
|
||
|
|
Dir("."),
|
||
|
|
],
|
||
|
|
CPPPATH=[
|
||
|
|
"#/lib/bit_lib",
|
||
|
|
],
|
||
|
|
SDK_HEADERS=[
|
||
|
|
File("bit_lib.h"),
|
||
|
|
],
|
||
|
|
)
|
||
|
|
|
||
|
|
libenv = env.Clone(FW_LIB_NAME="bit_lib")
|
||
|
|
libenv.ApplyLibFlags()
|
||
|
|
|
||
|
|
sources = libenv.GlobRecursive("*.c*")
|
||
|
|
|
||
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
|
Return("lib")
|