mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2025-10-10 15:12:41 +02:00
27 lines
483 B
Python
27 lines
483 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/drivers",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("rgb_backlight.h"),
|
|
File("cc1101_regs.h"),
|
|
File("st25r3916_reg.h"),
|
|
File("st25r3916.h"),
|
|
],
|
|
LINT_SOURCES=[
|
|
Dir("."),
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="hwdrivers")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = Glob("*.c", source=True)
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|