2022-06-26 12:00:03 +00:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/subghz",
|
|
|
|
],
|
2022-09-14 16:11:38 +00:00
|
|
|
SDK_HEADERS=[
|
|
|
|
File("#/lib/subghz/environment.h"),
|
|
|
|
File("#/lib/subghz/receiver.h"),
|
|
|
|
File("#/lib/subghz/subghz_worker.h"),
|
|
|
|
File("#/lib/subghz/subghz_tx_rx_worker.h"),
|
|
|
|
File("#/lib/subghz/transmitter.h"),
|
2022-09-19 12:39:00 +00:00
|
|
|
File("#/lib/subghz/protocols/raw.h"),
|
2022-10-19 17:27:26 +00:00
|
|
|
File("#/lib/subghz/blocks/const.h"),
|
|
|
|
File("#/lib/subghz/blocks/decoder.h"),
|
|
|
|
File("#/lib/subghz/blocks/encoder.h"),
|
|
|
|
File("#/lib/subghz/blocks/generic.h"),
|
|
|
|
File("#/lib/subghz/blocks/math.h"),
|
|
|
|
File("#/lib/subghz/subghz_setting.h"),
|
2022-09-14 16:11:38 +00:00
|
|
|
],
|
2022-06-26 12:00:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="subghz")
|
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
sources = libenv.GlobRecursive("*.c*")
|
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|