[Buildroot] [RFC PATCH 0/2] Add the ability to rebuild packages.

Thomas De Schampheleire patrickdepinguin+buildroot at gmail.com
Mon Jul 18 14:14:17 UTC 2011


Hi,

On Mon, Jul 18, 2011 at 4:02 PM, Quotient Remainder
<quotientvremainder at gmail.com> wrote:
> Hello Thomas,
>
> On Mon, 2011-07-18 at 11:30 +0200, Thomas De Schampheleire wrote:
>> We are currently using Buildroot in such a development mode, and
>> indeed face the problems you are solving with this patch. So: thumbs
>> up!
>>
>> But it is not only 'rebuild' that is useful. The conditions under
>> which the configure command of a certain package originally ran, may
>> have changed. A similar thing is true for patches: you may have
>> updated the patchfile. In such cases, generic reconfigure and repatch
>> targets are very welcome, together with the rebuild target you already
>> made...
>
> xxx-reconfigure should be fairly straightforward since no
> TARGET_NORECONFIGURE variable would be needed, just remove the stamp and
> make xxx-configure.
>
> Would xxx-repatch be effectively a re-extraction?  That is, the patch
> has been applied, then changed and so can't be applied in reverse so
> you'll have to erase the extracted package and re-extract, patch, ...
> So in effect it's a "make xxx-dirclean xxx" operation, right?

Yes, you're right. Really repatching would require re-extracting.
Let's skip this target.

Thomas



More information about the buildroot mailing list