From 228727f046d184726b6705a1902a961b211df72c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 22 Nov 2021 23:29:56 +0100 Subject: [PATCH] package/toolchain: rename GLIBC_COPY_NSSWITCH_FILE Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- toolchain/toolchain/toolchain.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolchain/toolchain/toolchain.mk b/toolchain/toolchain/toolchain.mk index 0afb12c036..18f1dbea1a 100644 --- a/toolchain/toolchain/toolchain.mk +++ b/toolchain/toolchain/toolchain.mk @@ -39,12 +39,12 @@ endif # Install default nsswitch.conf file if the skeleton doesn't provide it ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -define GLIBC_COPY_NSSWITCH_FILE +define TOOLCHAIN_GLIBC_COPY_NSSWITCH_FILE @if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \ $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ fi endef -TOOLCHAIN_POST_INSTALL_TARGET_HOOKS += GLIBC_COPY_NSSWITCH_FILE +TOOLCHAIN_POST_INSTALL_TARGET_HOOKS += TOOLCHAIN_GLIBC_COPY_NSSWITCH_FILE endif $(eval $(virtual-package))