[yocto] Patching only the target version of a package?

Burton, Ross ross.burton at intel.com
Thu Feb 1 06:44:17 PST 2018


On 1 February 2018 at 14:29, Michael Habibi <mikehabibi at gmail.com> wrote:

> I'm sure this is really simple but I haven't quite wrapped my head around
> it.
>
> We have a bbappend file that supplies a set of patches. It currently has
> the unintended side-effect of patching both the native version used during
> the Yocto build process, and the eventual target version. How do I modify
> the recipe such that it only acts upon the target version?
>
> Would it be something like recipe-cross.bbappend instead of
> recipe.bbappend? Or something similar?
>


SRC_URI_append_class-target = " file://..."

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180201/96515582/attachment.html>


More information about the yocto mailing list