mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
19 lines
355 B
Text
19 lines
355 B
Text
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/mbedtls",
|
||
|
"#/lib/mbedtls/include",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="mbedtls")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = ["mbedtls/library/des.c", "mbedtls/library/platform_util.c"]
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|