Good day Ross, Paul, Maybe you have an idea how to implement better my recipe with ALTERNATIVES_*?
Looking forward to your response. Thanks, Joseph On Fri, Jan 23, 2015 at 7:04 PM, Joseph Andrew de la Peña < [email protected]> wrote: > Good day Yocto Community, > > I would like to ask what's wrong with my implementation with ALTERNATIVE_*: > > ================= > > *bar_git.bb <http://bar_git.bb>:* > > PACKAGES =+ "${PN}-bar1 ${PN}-bar2 ${PN}-bar3" > RPROVIDES_${PN}-bar1 = "bar" > RPROVIDES_${PN}-bar2 = "bar" > RPROVIDES_${PN}-bar3 = "bar" > > ALTERNATIVE_LINK_NAME[bar] = "${datadir}/foo/bar" > > ALTERNATIVE_${PN}-bar1 = "bar" > ALTERNATIVE_TARGET_${PN}-bar1 = "${datadir}/foo/bar1" > ALTERNATIVE_PRIORITY_${PN}-bar1 = "99" > > ALTERNATIVE_${PN}-bar2 = "bar" > ALTERNATIVE_TARGET_${PN}-bar2 = "${datadir}/foo/bar2" > ALTERNATIVE_PRIORITY_${PN}-bar2 = "98" > > ALTERNATIVE_${PN}-bar3 = "bar" > ALTERNATIVE_TARGET_${PN}-bar3 = "${datadir}/foo/bar3" > ALTERNATIVE_PRIORITY_${PN}-bar3 = "97" > > *packagegroup-foobar.bb <http://packagegroup-foobar.bb>:* > > RDEPENDS_foobar = "bar" > > ================= > > The end result is always bar3 is present and bar is pointing to bar3. I > never get bar1 being present. > Please do recommend how will I properly use ALTERNATIVE. > > Thanks, > Joseph >
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
