[Buildroot] [PATCH 4/5] Linux: Unpatch customer kernel source tree before make clean.

Sonic Zhang sonic.adi at gmail.com
Mon Aug 13 10:21:01 UTC 2012


On Sun, Aug 12, 2012 at 2:11 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Le Tue, 7 Aug 2012 17:09:36 +0800,
> Sonic Zhang <sonic.adi at gmail.com> a écrit :
>
>> From: Sonic Zhang <sonic.zhang at analog.com>
>>
>> Unpatch only patches which match current kernel version.
>>
>> Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
>
> What is the use case for this?
>
> Again, you're implementing something completely specific for the linux
> package while the logic itself has nothing specific to the Linux
> kernel. So if we ever want something like this, we want to implement it
> at the package infrastructure level, and clearly not in some random
> specific package.
>

I will try to turn these unpatch script into a make clean hook for
packages with override source.


Regards,

Sonic



More information about the buildroot mailing list