From: Yann E. MORIN Date: Sun, 17 Jul 2016 08:44:24 +0000 (+0200) Subject: toolchain: use the _TARGET_FINALIZE_HOOKS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbbd7ce201a35312c0288467a24601b2658c359f;p=buildroot.git toolchain: use the _TARGET_FINALIZE_HOOKS Register toolchain-specific target-finalize hooks with the newly-introduced _TARGET_FINALIZE_HOOKS. Signed-off-by: "Yann E. MORIN" Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/toolchain/toolchain.mk b/toolchain/toolchain.mk index 0a35909334..59fc905caf 100644 --- a/toolchain/toolchain.mk +++ b/toolchain/toolchain.mk @@ -10,7 +10,7 @@ define GLIBC_COPY_NSSWITCH_FILE $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ fi endef -TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE +TOOLCHAIN_TARGET_FINALIZE_HOOKS += GLIBC_COPY_NSSWITCH_FILE endif # Install the gconv modules @@ -52,5 +52,5 @@ define COPY_GCONV_LIBS >$(TARGET_DIR)/usr/lib/gconv/gconv-modules; \ fi endef -TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS +TOOLCHAIN_TARGET_FINALIZE_HOOKS += COPY_GCONV_LIBS endif