mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 06:50:21 +00:00
21 lines
327 B
Python
21 lines
327 B
Python
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/u8g2",
|
||
|
],
|
||
|
LINT_SOURCES=[
|
||
|
Dir("."),
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="u8g2")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = libenv.GlobRecursive("*.c")
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|