mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] Simple-Makefile-Template: fix missing version number
@ 2014-01-17  9:22 Jürgen Beisert
  0 siblings, 0 replies; only message in thread
From: Jürgen Beisert @ 2014-01-17  9:22 UTC (permalink / raw)
  To: ptxdist

The version number must be used in a consistent manner.
The version number is always required to create the ipkg
and currently it is used by the template generator when
creating the source directory in local_src/. This change
does it now use when building the template as well.
    
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

diff --git a/rules/templates/template-src-make-prog-make b/rules/templates/template-src-make-prog-make
index a3bad32..54c1bede 100644
--- a/rules/templates/template-src-make-prog-make
+++ b/rules/templates/template-src-make-prog-make
@@ -18,7 +18,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
 #
 @PACKAGE@_VERSION	:= @VERSION@
 @PACKAGE@_MD5		:=
-@PACKAGE@		:= @package@
+@PACKAGE@		:= @package@-$(@PACKAGE@_VERSION)
 @PACKAGE@_URL		:= file://local_src/$(@PACKAGE@)
 @PACKAGE@_DIR		:= $(BUILDDIR)/$(@PACKAGE@)
 @PACKAGE@_LICENSE	:= unknown

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-17  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17  9:22 [ptxdist] [PATCH] Simple-Makefile-Template: fix missing version number Jürgen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox