mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
33 lines
778 B
Python
33 lines
778 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/subghz",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("environment.h"),
|
|
File("receiver.h"),
|
|
File("subghz_worker.h"),
|
|
File("subghz_tx_rx_worker.h"),
|
|
File("transmitter.h"),
|
|
File("registry.h"),
|
|
File("protocols/protocol_items.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"),
|
|
File("subghz_setting.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")
|