mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-23 05:14:16 +03:00
21 lines
421 B
Python
21 lines
421 B
Python
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/digital_signal",
|
||
|
],
|
||
|
SDK_HEADERS=[
|
||
|
File("digital_signal.h"),
|
||
|
],
|
||
|
)
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="digital_signal")
|
||
|
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")
|