From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VgsxM-00075o-F6 for ptxdist@pengutronix.de; Thu, 14 Nov 2013 10:11:27 +0100 Received: by mail-we0-f176.google.com with SMTP id w62so1566095wes.7 for ; Thu, 14 Nov 2013 01:11:14 -0800 (PST) Received: from [192.168.0.112] (21.Red-88-2-45.staticIP.rima-tde.net. [88.2.45.21]) by mx.google.com with ESMTPSA id b7sm4476262wiz.8.2013.11.14.01.11.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 Nov 2013 01:11:13 -0800 (PST) Message-ID: <528493BB.40801@gmail.com> Date: Thu, 14 Nov 2013 10:11:23 +0100 From: Guillermo Rodriguez MIME-Version: 1.0 Subject: [ptxdist] Version number not appended in in src_make_prog package 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi all, When a new package of type src_make_prog is created, the version number is not correctly appended in the generated rules/foo.make file. This causes the following error when the package is built: ptxdist: error: the URL 'file://local_src/foo' points to non existing directory or file. Here's the relevant snippet from foo.make: === # # We provide this package # PACKAGES-$(PTXCONF_FOO) += foo # # Paths and names # FOO_VERSION := 1 FOO_MD5 := FOO := foo FOO_URL := file://local_src/$(FOO) FOO_DIR := $(BUILDDIR)/$(FOO) FOO_LICENSE := unknown [...] === I guess that FOO should actually be defined as: FOO := foo-$(FOO_VERSION) This fixes the problem. Best regards, Guillermo Rodriguez -- ptxdist mailing list ptxdist@pengutronix.de