mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Version number not appended in in src_make_prog package
@ 2013-11-14  9:11 Guillermo Rodriguez
  2013-11-17 19:04 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Guillermo Rodriguez @ 2013-11-14  9:11 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Version number not appended in in src_make_prog package
  2013-11-14  9:11 [ptxdist] Version number not appended in in src_make_prog package Guillermo Rodriguez
@ 2013-11-17 19:04 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2013-11-17 19:04 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Nov 14, 2013 at 10:11:23AM +0100, Guillermo Rodriguez wrote:
> 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:

Yes, I know. This is not the only template that doesn't work correctly.
Fixing those is on my todo list, as soon as I find some time to work on
it...

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-17 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-14  9:11 [ptxdist] Version number not appended in in src_make_prog package Guillermo Rodriguez
2013-11-17 19:04 ` Michael Olbrich

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