[Buildroot] Kernel patches in Buildroot

David Van Arnem dvanarnem at cmlab.biz
Tue Nov 17 20:18:05 UTC 2015


On 11/17/2015 01:09 PM, Thomas Petazzoni wrote:
> Dear David Van Arnem,
>
> On Tue, 17 Nov 2015 11:30:13 -0700, David Van Arnem wrote:
>> On 11/17/2015 10:13 AM, Joao Pinto wrote:
>
>>> The linux kernel patching system does not recognizes the
>>> packages/linux-arc-axs101-20141021-3.13 patch folder. Could you give me a help
>>> on this?
>>
>> I haven't done this myself, so I'm not completely sure if this is
>> correct, but there's an option to add custom kernel patches under
>> menuconfig -> Kernel -> Custom kernel patches.  I think to patch the
>> kernel you would need to set that value to the
>> snps-custom/packages/linux-arc-axs... path.
>
> This is indeed another solution. But Joao was trying to use the
> BR2_GLOBAL_PATCH_DIR mechanism, which allows to provide custom patches
> for *any* package, and not only specifically for the Linux kernel.
>
> Essentially, the "Custom kernel patches" mechanism you points to
> predates the BR2_GLOBAL_PATCH_DIR mechanism. We keep it for
> compatibility reasons, but generally consider BR2_GLOBAL_PATCH_DIR to
> be the "better way".

Good to know, thank you!

David
>
> Best regards,
>
> Thomas
>


-- 
Thanks,
David



More information about the buildroot mailing list