Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
 scripts/odp_version.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/odp_version.sh b/scripts/odp_version.sh
index d71d2f7..2487b7f 100755
--- a/scripts/odp_version.sh
+++ b/scripts/odp_version.sh
@@ -6,4 +6,7 @@ GEN=`grep "define ODP_VERSION_API_GENERATION"   ${VFILE} | cut 
-d ' ' -f 3`
 MAJ=`grep "define ODP_VERSION_API_MAJOR"       ${VFILE} | cut -d ' ' -f 3`
 MIN=`grep "define ODP_VERSION_API_MINOR"       ${VFILE} | cut -d ' ' -f 3`
 
-echo -n $GEN.$MAJ.$MIN
+IMPL_FILE="platform/linux-generic/odp_impl.c"
+IMPL=`grep "define ODP_VERSION_IMPL "          ${IMPL_FILE} | cut -d ' ' -f 3`
+
+echo -n $GEN.$MAJ.$MIN.$IMPL
-- 
1.9.1

_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to