OpenWrt Forum Archive

Topic: How to apply kernel patches..?

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,

I have modified some of files in kernel. I took the patch and Now I want to apply the patch as part of compilation.
So in which path I can put that patch so that patch will be applied while compilation..??

Could you please tell me the exact path..?

Thanks,
Ramesh

This is true for LEDE and I think still works on OpenWRT.

For example, I have some patches for the 4.4 kernel on ipq806x:

target/linux/ipq806x/patches-4.4/123-my-patch-name.patch

Look around your source for ".patch" files as examples.

Thank you jmomo.. Its all working for me.. Thanks for your response..

The discussion might have continued from here.