Files
Flipper-ARF/lib/ble_profile/SConscript
Andrea Santaniello d6c2757f21 First push, clean slate
2026-03-08 18:48:37 +01:00

28 lines
564 B
Python

Import("env")
env.Append(
CPPPATH=[
"#/lib/ble_profile",
],
SDK_HEADERS=[
File("extra_profiles/hid_profile.h"),
File("extra_services/hid_service.h"),
],
)
libenv = env.Clone(FW_LIB_NAME="ble_profile")
libenv.AppendUnique(
CCFLAGS=[
# Required for lib to be linkable with .faps
"-mword-relocations",
"-mlong-calls",
],
)
libenv.ApplyLibFlags()
sources = libenv.GlobRecursive("*.c")
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
libenv.Install("${LIB_DIST_DIR}", lib)
Return("lib")