mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
c894948d4f
OFW PR 1742 by hedger keeping api version the same to allow compatibility it might be changed in next releases if api changes are destructive
27 lines
660 B
Python
27 lines
660 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
LINT_SOURCES=[
|
|
"#/lib/lfrfid",
|
|
],
|
|
CPPPATH=[
|
|
"#/lib/lfrfid",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("#/lib/lfrfid/lfrfid_worker.h"),
|
|
File("#/lib/lfrfid/lfrfid_raw_worker.h"),
|
|
File("#/lib/lfrfid/lfrfid_raw_file.h"),
|
|
File("#/lib/lfrfid/lfrfid_dict_file.h"),
|
|
File("#/lib/lfrfid/tools/bit_lib.h"),
|
|
File("#/lib/lfrfid/protocols/lfrfid_protocols.h"),
|
|
],
|
|
)
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="lfrfid")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = libenv.GlobRecursive("*.c*")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|