mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 22:07:14 +03:00
ed385594a3
* faploader: more subsystem headers in API table; not counting header entries for SDK version change * subghz: removed dead function * Adjusted API version * hal: removed furi_hal_power_get_system_voltage * lib: mbedtls: additional flags for .fap linkage * fbt: rebuilding assets when git commit id changes * fbt: removed assets rebuild on git commit id change; added explicit dependency for SDK source on compiled assets parts; removed unneeded sdk regeneration runs * fbt: changed stock plugins to EXTERNAL apps; restored building app as a PLUGIN as a part of main fw as well as a .fap; readme fixes * fbt: restored certain apps to PLUGIN type * fbt: app manifests: renamed version->fap_version, added extra fields * fbt: fixed version processing after rename Co-authored-by: あく <alleteam@gmail.com>
31 lines
548 B
Plaintext
31 lines
548 B
Plaintext
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/mbedtls",
|
|
"#/lib/mbedtls/include",
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="mbedtls")
|
|
libenv.ApplyLibFlags()
|
|
|
|
libenv.AppendUnique(
|
|
CCFLAGS=[
|
|
# Required for lib to be linkable with .faps
|
|
"-mword-relocations",
|
|
"-mlong-calls",
|
|
],
|
|
)
|
|
|
|
sources = [
|
|
"mbedtls/library/des.c",
|
|
"mbedtls/library/sha1.c",
|
|
"mbedtls/library/platform_util.c",
|
|
]
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|