[OE-core] specific version dependenciews

Wolfgang Denk wd at denx.de
Tue Mar 20 16:06:51 UTC 2012


Dear Richard,

In message <1332254996.9740.97.camel at ted> you wrote:
>
> > How do I mark a package as machine specific?
> 
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> 
> > And would setting "the preferred versions at the machine level" not be
> > exactly what I am trying to avoid?
> > 
> > I don't want to make the machine descriptions aware of any version
> > dependencies between A and B.  I would like to put this information
> > into the description of A, so that when a specific version of A gets
> > built, automatically the matching version of B will be chosen.
> > 
> > Can this be done?
> 
> You could write the dependency A in the form:
> 
> DEPENDS = "B-1.2"
> 
> where 1.2 is version of B you want. This has been known to work in the
> past but isn't well supported/well tested. It can work since B PROVIDES
> "${PN}-${PV}".

We will try this.

Thanks a lot!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Everybody is talking about the  weather  but  nobody  does  anything
about it."                                               - Mark Twain




More information about the Openembedded-core mailing list