unleashed-firmware/lib/subghz/SConscript

36 lines
903 B
Python
Raw Normal View History

Import("env")
env.Append(
CPPPATH=[
"#/lib/subghz",
],
SDK_HEADERS=[
2022-11-02 20:07:00 +00:00
File("environment.h"),
File("receiver.h"),
2023-06-06 21:28:26 +00:00
File("registry.h"),
2022-11-02 20:07:00 +00:00
File("subghz_worker.h"),
File("subghz_tx_rx_worker.h"),
2023-07-10 16:59:25 +00:00
File("subghz_file_encoder_worker.h"),
2022-11-02 20:07:00 +00:00
File("transmitter.h"),
File("protocols/raw.h"),
File("blocks/const.h"),
File("blocks/decoder.h"),
File("blocks/encoder.h"),
File("blocks/generic.h"),
File("blocks/math.h"),
2023-07-10 16:59:25 +00:00
File("blocks/custom_btn.h"),
2022-11-02 20:07:00 +00:00
File("subghz_setting.h"),
2023-06-06 21:28:26 +00:00
File("subghz_protocol_registry.h"),
File("devices/cc1101_configs.h"),
],
)
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")