unleashed-firmware/lib/microtar.scons

22 lines
367 B
Plaintext
Raw Normal View History

Import("env")
env.Append(
CPPPATH=[
"#/lib/microtar/src",
],
)
libenv = env.Clone(FW_LIB_NAME="microtar")
libenv.ApplyLibFlags()
libenv.Append(
CPPDEFINES=["MICROTAR_DISABLE_API_CHECKS"],
)
sources = [File("microtar/src/microtar.c")]
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")