Applying patches before build_kernel.sh?

23 views
Skip to first unread message

Andrew P. Lentvorski

unread,
Jun 20, 2017, 7:06:46 PM6/20/17
to BeagleBoard
If I'm using Robert C. Nelson's build scripts: (ie: git clone https://github.com/RobertCNelson/ti-linux-kernel-dev.git, git checkout tags/4.4.54-ti-r93 and then build_kernel.sh), what is the appropriate file/place/repository to inject patches to be picked up.

Do I modify the repo in /ignore?  Do I patch the one in KERNEL?  Do I modify local_patch in patch.sh?

Thanks.

Robert Nelson

unread,
Jun 20, 2017, 9:38:55 PM6/20/17
to Beagle Board, bsd...@gmail.com
You can stick them really anywhere, it's probably easiest at the end..

create your own dir: patches/my_patches/

then at the end of patch.sh just add:

dir 'my_patches'

and it'll work it's way from 0001-<>.patch -> 0XYZ-<>.patch

Regards,

--
Robert Nelson
https://rcn-ee.com/

Andrew P. Lentvorski

unread,
Jun 21, 2017, 3:25:07 AM6/21/17
to BeagleBoard, bsd...@gmail.com
Thank you, Robert.
Reply all
Reply to author
Forward
0 new messages