-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt libtool rules for soname versioning for libflash
Signed-off-by: Stewart Smith <[email protected]>
- Loading branch information
1 parent
19861d3
commit 5944cc7
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
SHARED_NAME=libflash.so.$(shell ../../make_version.sh) | ||
# NOTE: shared lib versioning has *NOTHING* to do with software package version | ||
# | ||
# If source code has changed, revision++ | ||
# if any interfaces have been added, removed, or changed, current++, revision=0 | ||
# if any interfaces have been added, age++ | ||
# if any interfaces have been removed or changed, age=0 | ||
# | ||
# i.e. AGE refers to backwards compatibility. | ||
# e.g. If we start with 5.3.0 and we're releasing new version: | ||
# - bug fix no api change: 5.4.0 | ||
# - new API call, backwards compatible otherwise: 6.0.1 | ||
# - API removed, or changed (i.e. not backwards compat): 6.0.0 | ||
|
||
LIBFLASH_VERSION_CURRENT=5 | ||
LIBFLASH_VERSION_REVISION=3 | ||
LIBFLASH_VERSION_AGE=0 | ||
|
||
SHARED_NAME=libflash.so.${LIBFLASH_VERSION_CURRENT}.${LIBFLASH_VERSION_REVISION}.${LIBFLASH_VERSION_AGE} |