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

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