[Buildroot] Applying custom kernel patches
ANDY.KENNEDY at adtran.com
Fri Mar 4 22:13:42 UTC 2011
> Hi Andy
> I'm attempting to do a full build (uImage and rootfs)
> I've got 6 kernel patches which I need to apply before running the
> "full build", they add "board support" for my module and various other
> "nand" related bits. One of the patches adds
<list rules> Plain Text (wrap at 72 chars), bottom post. </list rules>
You should create a directory OUTSIDE the scope of the BuildRoot dirs
for your patches. It didn't occur to me until I went looking for
something else just now that buildroot/linux is a known directory.
Your patches could exist in buildroot/mylinux if you wanted, but you
shouldn't put stuff into dirs that BuildRoot knows.
So, you'll put your patches in mylinux then config the kernel patches
to the unqualified path starting in buildroot (or you could do something
along the lines of $(TOPDIR)/mylinux to be more BuildRoot friendly ;).
More information about the buildroot