packages: use the <PKG>_TARGET_FINALIZE_HOOKS
commit50adab522c0fbf1c99b904b8513200b114eb4a0b
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 22 Jun 2016 19:07:37 +0000 (22 21:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Jul 2016 13:53:05 +0000 (5 15:53 +0200)
tree5ff32934efcc96e15eedc81ceabdf94488def225
parent624dbec7e1f971519be9a165b09c0b95a8ee282b
packages: use the <PKG>_TARGET_FINALIZE_HOOKS

Register package-specific target-finalize hooks with the
newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

This incidentally fixes luarocks, which was registering target-finalize
hooks even when it was not enabled.

To be noted, the skeleton package is not converted, because it is not
optional, we always have it; so its hooks would always be registered
anyway. Besides, the followup patches would render this conversion moot
anyway, since those hooks would be spread across the various skeleton
packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/google-breakpad/google-breakpad.mk
package/libglib2/libglib2.mk
package/libgtk3/libgtk3.mk
package/luarocks/luarocks.mk
package/perl/perl.mk
package/python/python.mk
package/python3/python3.mk