mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
8b7a52b97b
* fbt: fixed linter paths * lint: changed file permissions Co-authored-by: あく <alleteam@gmail.com>
28 lines
658 B
Python
28 lines
658 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")
|