mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 17:23:25 +00:00
18 lines
294 B
Text
18 lines
294 B
Text
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/loclass",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="loclass")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = Glob("loclass/*.c", source=True)
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|