2022-06-26 15:00:03 +03:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/subghz",
|
|
|
|
],
|
2023-12-01 12:16:48 +03:00
|
|
|
LINT_SOURCES=[
|
|
|
|
Dir("."),
|
|
|
|
],
|
2022-09-14 19:11:38 +03:00
|
|
|
SDK_HEADERS=[
|
2022-11-02 18:15:40 +03:00
|
|
|
File("environment.h"),
|
|
|
|
File("receiver.h"),
|
|
|
|
File("registry.h"),
|
|
|
|
File("subghz_worker.h"),
|
|
|
|
File("subghz_tx_rx_worker.h"),
|
|
|
|
File("transmitter.h"),
|
|
|
|
File("protocols/raw.h"),
|
2023-11-01 10:24:11 +03:00
|
|
|
File("protocols/public_api.h"),
|
2022-11-02 18:15:40 +03:00
|
|
|
File("blocks/const.h"),
|
|
|
|
File("blocks/decoder.h"),
|
|
|
|
File("blocks/encoder.h"),
|
|
|
|
File("blocks/generic.h"),
|
|
|
|
File("blocks/math.h"),
|
|
|
|
File("subghz_setting.h"),
|
2023-06-06 22:13:41 +03:00
|
|
|
File("subghz_protocol_registry.h"),
|
2023-06-30 17:03:36 +03:00
|
|
|
File("devices/cc1101_configs.h"),
|
2023-07-17 10:51:15 +03:00
|
|
|
File("devices/cc1101_int/cc1101_int_interconnect.h"),
|
2024-05-20 20:23:47 +03:00
|
|
|
File("subghz_file_encoder_worker.h"),
|
2022-09-14 19:11:38 +03:00
|
|
|
],
|
2022-06-26 15:00:03 +03: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")
|