2022-06-26 12:00:03 +00:00
|
|
|
Import("env")
|
|
|
|
|
|
|
|
env.Append(
|
|
|
|
CPPPATH=[
|
|
|
|
"#/lib/infrared/encoder_decoder",
|
|
|
|
"#/lib/infrared/worker",
|
|
|
|
],
|
2022-11-02 15:15:40 +00:00
|
|
|
SDK_HEADERS=[
|
|
|
|
File("encoder_decoder/infrared.h"),
|
|
|
|
File("worker/infrared_worker.h"),
|
|
|
|
File("worker/infrared_transmit.h"),
|
|
|
|
],
|
2022-06-26 12:00:03 +00: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")
|