mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 21:01:40 +03:00
21 lines
379 B
Plaintext
21 lines
379 B
Plaintext
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/mbedtls",
|
||
|
"#/lib/mbedtls/include",
|
||
|
],
|
||
|
CPPDEFINES=[
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
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")
|