mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-26 22:40:25 +00:00
14 lines
342 B
Python
14 lines
342 B
Python
Import("env")
|
|
|
|
env.Append(LINT_SOURCES=["firmware"])
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="flipper${TARGET_HW}")
|
|
libenv.ApplyLibFlags()
|
|
|
|
|
|
sources = ["targets/f${TARGET_HW}/startup_stm32wb55xx_cm4.s"]
|
|
sources += libenv.GlobRecursive("*.c")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|