[Buildroot] [PATCH 1/2] Allow rebuilding of generic targets.

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Tue Jul 19 06:52:07 UTC 2011


Hi Thomas,

On Tue, Jul 19, 2011 at 7:05 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> Le Mon, 18 Jul 2011 10:15:52 +0100,
> Quotient Remainder <quotientvremainder at gmail.com> a écrit :
>
>> Individual packages using the GENTARGETS and AUTOTARGETS infrastructure
>> can now be rebuilt by issuing "make ${pkg}-rebuild".
>> Changes can be made in output/build/${pkg}/* and make ${pkg}-rebuild will
>> run the normal build command for that directory again.
>>
>> Signed-off-by: Quotient Remainder <quotientvremainder at gmail.com>
>
> I also have a patch (below) that implements a similar feature
> (<pkg>-rebuild and <pkg>-reconfigure), but it also does the "make"
> again automatically as well to regenerate the root filesystem. The
> implementation is a bit different, as it doesn't use a new fake stamp
> file, but simply uses phony targets.

Has this patch already been applied?

I like the fact that rebuild and reconfigure are waterfall steps that
continue to the regeneration of the root filesystem. This was also my
last comment for Quotient's reconfigure (in the discussion of PATCH
0/2).

I'll leave it up to you and Quotient to agree upon which patch
implementation makes it through...

Best regards,
Thomas


More information about the buildroot mailing list