[Buildroot] [PATCH v3 2/5] system: convert "system.mk" recipes to "target-finalize" hooks

Fabio Porcedda fabio.porcedda at telit.com
Fri Jul 4 09:36:16 UTC 2014


On Sun, Jun 29, 2014 at 4:56 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Dear Fabio Porcedda,
>
> On Fri, 27 Jun 2014 14:15:56 +0200, Fabio Porcedda wrote:
>
>>  ifneq ($(TARGET_GENERIC_ROOT_PASSWD),)
>> -target-root-passwd: host-mkpasswd
>> +TARGETS += host-mkpasswd
>
> Actually, I was wondering how this could work in the context of
> top-level parallel build, but looking more closely, target-finalize has
> $(TARGETS) in its dependencies, so we indeed have the guarantee that
> host-mkpasswd will be built before the SYSTEM_ROOT_PASSWD hook is
> executed.
>
> So in fact, I don't have any comment about PATCH 2 :-)

Yes, it's exactly as you said.

Adding a dependency to TARGETS it's like adding to an hypothetical
TARGET_FINALIZE_DEPENDENCIES variable.

BR
-- 
Fabio Porcedda


More information about the buildroot mailing list