2022-06-26 15:00:03 +03:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/infrared/encoder_decoder",
|
|
|
|
"#/lib/infrared/worker",
|
|
|
|
],
|
2022-11-02 19:15:40 +04:00
|
|
|
SDK_HEADERS=[
|
|
|
|
File("encoder_decoder/infrared.h"),
|
|
|
|
File("worker/infrared_worker.h"),
|
|
|
|
File("worker/infrared_transmit.h"),
|
|
|
|
],
|
2022-06-26 15:00:03 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="infrared")
|
|
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
|
|
Return("lib")
|