mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-02 12:13:16 +03:00
21 lines
418 B
Python
21 lines
418 B
Python
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/signal_reader",
|
||
|
],
|
||
|
SDK_HEADERS=[
|
||
|
File("signal_reader.h"),
|
||
|
],
|
||
|
)
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="signal_reader")
|
||
|
libenv.ApplyLibFlags()
|
||
|
libenv.Append(CCFLAGS=["-O3", "-funroll-loops", "-Ofast"])
|
||
|
|
||
|
sources = libenv.GlobRecursive("*.c*")
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|