mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Guillermo Rodriguez <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Version number not appended in in src_make_prog package
Date: Thu, 14 Nov 2013 10:11:23 +0100	[thread overview]
Message-ID: <528493BB.40801@gmail.com> (raw)

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

             reply	other threads:[~2013-11-14  9:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-14  9:11 Guillermo Rodriguez [this message]
2013-11-17 19:04 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528493BB.40801@gmail.com \
    --to=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox