mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 12:51:39 +03:00
20 lines
380 B
Python
20 lines
380 B
Python
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/ST25RFAL002",
|
||
|
"#/lib/ST25RFAL002/include",
|
||
|
"#/lib/ST25RFAL002/source/st25r3916",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="st25rfal002")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = libenv.GlobRecursive("*.c")
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|