Makefile: target-finalize: add TARGET_FINALIZE_HOOKS
authorFabio Porcedda <fabio.porcedda@gmail.com>
Fri, 27 Jun 2014 12:15:55 +0000 (14:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 14:41:06 +0000 (16:41 +0200)
commit8d384fa849e9a285bc5b70e392bd898f8eb073bd
treeb4f6e93c6644646a9ee2da92da807ccaa8d5da62
parent01012167dffccc8a82f3a0f712a842e217f7b466
Makefile: target-finalize: add TARGET_FINALIZE_HOOKS

Add TARGET_FINALIZE_HOOKS to the "target-finalize" rule to be able to
add to it commands as needed.
This is useful for having a nicer output because commands are executed
after the "target-finalize" initial message, also it is useful to ensure
an executing order even when top-level parallel makefile is being used.

Also convert "TARGET_PURGE_LOCALES" to a hook that uses
"TARGET_FINALIZE_HOOKS".

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile