mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-23 21:34:35 +03:00
25 lines
460 B
Python
25 lines
460 B
Python
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
LINT_SOURCES=[
|
||
|
Dir("."),
|
||
|
],
|
||
|
CPPPATH=[
|
||
|
"#/lib/ibutton",
|
||
|
],
|
||
|
SDK_HEADERS=[
|
||
|
File("ibutton_key.h"),
|
||
|
File("ibutton_worker.h"),
|
||
|
File("ibutton_protocols.h"),
|
||
|
],
|
||
|
)
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="ibutton")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = libenv.GlobRecursive("*.c*")
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|