summaryrefslogtreecommitdiff
path: root/mk/rte.sdkconfig.mk
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2014-07-04 10:18:07 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-07-04 10:18:07 +0200
commit9db7084fcdf6d57b892312ca641a97356629c04a (patch)
treef0246138a9b89cb65c5fd1af2663d1e55c44c74e /mk/rte.sdkconfig.mk
parent6f2760ecdf4e9d1345efc7412b37d33232a3e94e (diff)
downloaddpdk-9db7084fcdf6d57b892312ca641a97356629c04a.zip
dpdk-9db7084fcdf6d57b892312ca641a97356629c04a.tar.gz
dpdk-9db7084fcdf6d57b892312ca641a97356629c04a.tar.xz
version: 1.7.0v1.7.0
The makefile rule "showversion" needs a fix to handle empty RTE_VER_SUFFIX. Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'mk/rte.sdkconfig.mk')
-rw-r--r--mk/rte.sdkconfig.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/rte.sdkconfig.mk b/mk/rte.sdkconfig.mk
index c125fa1..d43c430 100644
--- a/mk/rte.sdkconfig.mk
+++ b/mk/rte.sdkconfig.mk
@@ -36,7 +36,7 @@ showversion:
-e 's,^#define RTE_VER_SUFFIX[[:space:]]+"(.*)",\1,p' \
$(RTE_SRCDIR)/lib/librte_eal/common/include/rte_version.h) ;\
printf '%d.%d.%d' "$$1" "$$2" "$$3"; \
- if [ -z "$$4" ]; then echo; \
+ if [ -z "$$5" ]; then echo; \
else printf '%s' "$$4"; \
if [ $$5 -lt 16 ] ; then echo $$5; \
else echo $$(($$5 - 16)); fi; \