On 9 January 2013 11:13, Martin Jansa <[email protected]> wrote: > On Wed, Jan 09, 2013 at 09:46:57AM +0200, Marko Lindqvist wrote: >> What I'm envisioning is that maybe bitbake should provide us with new >> variable PM or PMV (major version) that's basically PV with last dot >> and everything after it removed. That would allow us to easily make >> many such SRC_URIs dynamic, e.g., ".../gtk+/${PM}/gtk+-${PV}.tar.xz". >> This would be more worthsome if it's something >> packages.yoctoproject.org too could benefit from. > > That looks like SHRT_VER used in some recipes.
Exactly, except that it would be provided by bitbake, and not constructed by each recipe itself - less recipe writing work + you could count on it to always mean same thing. - ML _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
