[Buildroot] [PATCH 1/1] package/toolchain: rename GLIBC_COPY_NSSWITCH_FILE

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Nov 22 22:29:56 UTC 2021


Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 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))
-- 
2.33.0



More information about the buildroot mailing list