Hi, You are using 2016.4 which had this missing piece
https://github.com/Xilinx/meta-xilinx-tools/commit/2b028298e4f36044a85a9e5c625e3f65f3405d52#diff-827cc780432c216765b7cbc692cfaee0 Thanks, Manju > -----Original Message----- > From: [email protected] [mailto:meta-xilinx- > [email protected]] On Behalf Of David Roman > Sent: Wednesday, May 02, 2018 8:40 AM > To: Jean-Francois Dagenais <[email protected]> > Cc: [email protected] > Subject: Re: [meta-xilinx] How to patch fsbl > > Thanks for your response. > > It seems that the bbappend is in the correct folder (ie: > recipes-fsbl/fsbl/fsbl_git.bbappend) inside my own meta layer. I also have > some > other bbappends with other patches which are working fine, but seems that > doing > the same doesn't work for fsbl_git. I've also checked the layer configuration > and I > think that the BBFILES variable is also correctly configured: BBFILES += > "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" > > Probably I forgot some important detail, but it's not clear to me what can go > wrong or how to debug it. > > > Thanks > > > On 02/05/18 14:33, Jean-Francois Dagenais wrote: > >> On May 2, 2018, at 6:39 AM, David Roman <[email protected]> wrote: > >> > >> I'm using fsbl_git recipe from meta-xilinx-tools (branch rel-v2016.4) and > wanted to patch the fsbl_hooks.c source code. To do it I created a > fsbl_git.bbappend with the next two lines: > >> > >> FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > >> > >> SRC_URI_append = " file://fsbl_hooks.patch" > >> > >> but the file doesn't get patched, is there another way to patch it or > >> modify > fsbl_hooks.c? > > This is very standard yocto procedure: > > > https://wiki.yoctoproject.org/wiki/TipsAndTricks/Patching_the_source_for_a_reci > pe > > > > This answer is also good: > > https://stackoverflow.com/questions/45584131/how-patching-works-in-yocto > > > > You have to make sure your bbappend is it the same dir relative to the root > > of > your layer. > > > > If the patch is found and copied into the work dir of the fsbl recipe (i.e. > build/tmp/work/yourmachine-poky-linux/fsbl/2018.1+gitAUTOINC+aaa566bc3f- > r0/fsbl_hooks.patch ) it should try to apply it. If the patch is bad, it will > fail the > yocto build. > > > > Good luck! > > > -- > Avís - > Aviso - Legal Notice - (LOPD) - http://legal.ifae.es > <http://legal.ifae.es/> > -- > _______________________________________________ > meta-xilinx mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-xilinx -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
