Skip to content

Commit

Permalink
libteec: bump version to 2.0.0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
HernanGatta committed Jun 18, 2020
1 parent a46e2f5 commit 547aaf8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions libteec/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
project(libteec C)

set(PROJECT_VERSION "1.0.0")
set(MAJOR_VERSION 2)
set(MINOR_VERSION 0)
set(PATCH_VERSION 0)

set(PROJECT_VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")

################################################################################
# Packages
Expand Down Expand Up @@ -37,7 +41,7 @@ add_library (teec ${SRC})

set_target_properties (teec PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 1
SOVERSION ${MAJOR_VERSION}
)

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion libteec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ all: libteec
################################################################################
# Teec configuration
################################################################################
MAJOR_VERSION := 1
MAJOR_VERSION := 2
MINOR_VERSION := 0
PATCH_VERSION := 0
LIB_NAME := libteec.so
Expand Down

0 comments on commit 547aaf8

Please sign in to comment.