Skip to content

Commit 8472211

Browse files
author
Hernan Gatta
committed
libteec: bump version to 2.0.0
The addition of OCALL functionality breaks binary compatibility with existing applications by modifying the layout of certain structures. Section 3.1 of the GlobalPlatform TEE Client API specification does not mandate binary compatibility. As such, increase the version number for the library from 1.0.0 to 2.0.0. Signed-off-by: Hernan Gatta <hegatta@microsoft.com>
1 parent 37a93a0 commit 8472211

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

libteec/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
project(libteec C)
22

3-
set(PROJECT_VERSION "1.0.0")
3+
set(MAJOR_VERSION 2)
4+
set(MINOR_VERSION 0)
5+
set(PATCH_VERSION 0)
6+
7+
set(PROJECT_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
48

59
################################################################################
610
# Packages
@@ -37,7 +41,7 @@ add_library (teec ${SRC})
3741

3842
set_target_properties (teec PROPERTIES
3943
VERSION ${PROJECT_VERSION}
40-
SOVERSION 1
44+
SOVERSION ${MAJOR_VERSION}
4145
)
4246

4347
################################################################################

libteec/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ all: libteec
99
################################################################################
1010
# Teec configuration
1111
################################################################################
12-
MAJOR_VERSION := 1
12+
MAJOR_VERSION := 2
1313
MINOR_VERSION := 0
1414
PATCH_VERSION := 0
1515
LIB_NAME := libteec.so

0 commit comments

Comments
 (0)