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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jun 29 14:56:42 UTC 2014


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 :-)

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list