From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from thebe.hi.pengutronix.de ([2001:6f8:1178:2:5e26:aff:fe2b:7cc4]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1W45aM-0002bR-Hq for ptxdist@pengutronix.de; Fri, 17 Jan 2014 10:19:30 +0100 From: =?iso-8859-15?q?J=FCrgen_Beisert?= Date: Fri, 17 Jan 2014 10:22:04 +0100 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201401171022.04257.jbe@pengutronix.de> Subject: [ptxdist] [PATCH] Simple-Makefile-Template: fix missing version number Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 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@) +=3D @package@ # @PACKAGE@_VERSION :=3D @VERSION@ @PACKAGE@_MD5 :=3D -@PACKAGE@ :=3D @package@ +@PACKAGE@ :=3D @package@-$(@PACKAGE@_VERSION) @PACKAGE@_URL :=3D file://local_src/$(@PACKAGE@) @PACKAGE@_DIR :=3D $(BUILDDIR)/$(@PACKAGE@) @PACKAGE@_LICENSE :=3D unknown -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de