[yocto] One recipe, two gits with destsuffix, how to patch?

Kalle Komierowski kalle at zapdevelopment.com
Mon Jan 26 03:24:50 PST 2015


Thanks Paul!

I was hoping it was as simple as that but I couldn't find info about it. Maybe if it was just called destsuffix like when it's used for gits.

BR
-Kalle Komierowski



On January 26, 2015, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> Hi Kalle,
> 
> On Saturday 24 January 2015 08:34:56 Kalle Komierowski wrote:
> > I'm working with the ti-compat-wireless recipe.
> > It contains two gits like this:
> > 
> > SRC_URI =
> > "git://git.ti.com/wilink8-wlan/wl18xx.git;branch=${BRANCH_wl18xx};destsuffi
> > x=wl18xx;name=wl18xx \
> > git://git.ti.com/wilink8-wlan/backports.git;branch=${BRANCH_backports};dest
> > suffix=backports;name=backports \ file://wl18xx.patch \
> > 
> > Now I want to add the wl18xx.patch file, and this file ends up in the S and
> > applying it fails since the git it should be applied to is under
> > S/backports due to the destsuffix.
> > 
> > I tried to use the quilt and create new patches from the S but they fail to.
> > 
> > What would be the correct way of adding a patch so it applies to backports?
> > 
> You may find the patchdir option for the patch SRC_URI entry to be useful. I
> should imagine you'll want something like:
> ...
> file://wl18xx.patch;patchdir=../backports
> ...
> 
> Cheers,
> Paul
> 
> -- 
> 
> Paul Eggleton
> Intel Open Source Technology Centre
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150126/8c72837e/attachment.html>


More information about the yocto mailing list