unleashed-firmware/lib/drivers/SConscript
MX af40b6b020
Move NRF24 driver into plugins, see desc
Major API version downgraded to official one, adding support for launching OFW apps on unleashed, part 1
2022-11-10 10:30:36 +03:00

18 lines
288 B
Python

Import("env")
env.Append(
CPPPATH=[
"#/lib/drivers",
],
)
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")