mirror of https://github.com/OpenIPC/firmware.git
Update 01-enable-mbedtls-only.patch (#1523)
parent
456f9f09b8
commit
2550a89025
|
@ -5,13 +5,13 @@
|
|||
OBJECTS_N = onvif_notify_server.o conf.o utils.o log.o ezxml_wrapper.o ezxml/ezxml.o
|
||||
OBJECTS_W = wsd_simple_server.o utils.o log.o ezxml_wrapper.o ezxml/ezxml.o
|
||||
-ifdef HAVE_MBEDTLS
|
||||
-INCLUDE = -DHAVE_MBEDTLS -I../mbedtls/include -ffunction-sections -fdata-sections -lrt
|
||||
-LIBS_O = -Wl,--gc-sections ../mbedtls/library/libmbedcrypto.a -lpthread -lrt
|
||||
-LIBS_N = -Wl,--gc-sections ../mbedtls/library/libmbedcrypto.a -lpthread -lrt
|
||||
-INCLUDE = -DHAVE_MBEDTLS -Iextras/mbedtls/include -ffunction-sections -fdata-sections -lrt
|
||||
-LIBS_O = -Wl,--gc-sections extras/mbedtls/library/libmbedcrypto.a -lpthread -lrt
|
||||
-LIBS_N = -Wl,--gc-sections extras/mbedtls/library/libmbedcrypto.a -lpthread -lrt
|
||||
-else
|
||||
-INCLUDE = -I../libtomcrypt/src/headers -ffunction-sections -fdata-sections -lrt
|
||||
-LIBS_O = -Wl,--gc-sections ../libtomcrypt/libtomcrypt.a -lpthread -lrt
|
||||
-LIBS_N = -Wl,--gc-sections ../libtomcrypt/libtomcrypt.a -lpthread -lrt
|
||||
-INCLUDE = -Iextras/libtomcrypt/src/headers -ffunction-sections -fdata-sections -lrt
|
||||
-LIBS_O = -Wl,--gc-sections extras/libtomcrypt/libtomcrypt.a -lpthread -lrt
|
||||
-LIBS_N = -Wl,--gc-sections extras/libtomcrypt/libtomcrypt.a -lpthread -lrt
|
||||
-endif
|
||||
+INCLUDE = -DHAVE_MBEDTLS -ffunction-sections -fdata-sections -lrt
|
||||
+LIBS_O = -Wl,--gc-sections -lmbedtls -lmbedcrypto -lpthread -lrt
|
||||
|
|
Loading…
Reference in New Issue