unleashed-firmware/lib/drivers/SConscript
2022-11-02 23:07:00 +03:00

21 lines
338 B
Python

Import("env")
env.Append(
CPPPATH=[
"#/lib/drivers",
],
SDK_HEADERS=[
File("nrf24.h"),
],
)
libenv = env.Clone(FW_LIB_NAME="hwdrivers")
libenv.ApplyLibFlags()
sources = Glob("*.c", source=True)
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")