mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-02 17:29:14 +00:00
25 lines
636 B
Python
25 lines
636 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/subghz",
|
|
],
|
|
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"),
|
|
File("#/lib/subghz/protocols/registry.h"),
|
|
File("#/lib/subghz/protocols/raw.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")
|