[Buildroot] rsync forces configure step

Fabio Porcedda fabio.porcedda at gmail.com
Fri Jun 13 12:15:22 UTC 2014


On Fri, Jun 13, 2014 at 2:09 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Cédric Marie,
>
> On Fri, 13 Jun 2014 10:54:20 +0200, Cédric Marie wrote:
>
>> I have recently upgraded from Buildroot 2014.02 to 2014.05, and I have
>> noticed that some developments related to top-level parallel build have
>> resulted in a small change of behaviour, which I would consider as a
>> regression.
>>
>> When a package is used in rsync mode, make <pkg>-rebuild also forces the
>> configure step.
>>
>> This has been introduced by this commit:
>> http://git.buildroot.net/buildroot/commit/package/pkg-generic.mk?id=6c5c08b854e4490697076ae3c5a9c587d8672c63
>> ... and this line in particular:
>> $$($(2)_TARGET_CONFIGURE): $$($(2)_TARGET_RSYNC)
>>
>> I believe the right way to support parallel build without forcing the
>> configure step in case of rsync, is to use an order-only prerequisite
>> (with a pipe):
>> $$($(2)_TARGET_CONFIGURE): | $$($(2)_TARGET_RSYNC)
>>
>> I have checked this correction successfully.
>
> This indeed seems correct. I've Cc'ed Fabio who is working on the
> top-level parallel build feature, I guess he'll have a look and give
> you more feedback and/or send a patch fixing this issue.
>
> Thanks a lot for the report!

Hi all,
thanks for reporting the issue, I will check it and send a patch to fix it.

Best regards
-- 
Fabio Porcedda



More information about the buildroot mailing list