Thanks Khem, That gave me what I needed.
Greg Wilson-Lindberg Principal Firmware Engineer | Sakura Finetek USA, Inc. > -----Original Message----- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Friday, April 13, 2018 05:53 PM > To: Greg Wilson-Lindberg <gwil...@sakuraus.com>; yocto@yoctoproject.org > Subject: Re: [yocto] How to patch a driver in Linux source tree > > > > On 4/13/18 11:41 AM, Greg Wilson-Lindberg wrote: > > I'm working on a raspberry pi3 Yocto build from Qt's boot2qt project, > > it's running Yocto version 2.2.3, and Linux kernel 4.4.50. I need to > > back port some changes to a file in drivers/net/can/spi. I confused > > about where and how I set up the patch file. > > > > I have a linux-raspberrypi_4.4.bbappend file. Do I put the patch file > > in that, and If so, how do I indicate the path to the file? > > yes. > > SRC_URI += "file://yourpatch.patch" > > also add > > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" > > then create a directory called linux-raspberrypi parallel to where the > bbappend is > and put the yourpatch.patch inside that directory. > > > > > > > > Thanks for the help and enlightenment, > > > > Greg Wilson-Lindberg > > > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto