Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
 rules/glibc.in   | 7 +++++++
 rules/glibc.make | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/rules/glibc.in b/rules/glibc.in
index bd0f1db91..d64a35475 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -178,6 +178,13 @@ config GLIBC_NSL
          nis(+)
 
 
+config GLIBC_GETENT
+       bool
+       prompt "Install getent"
+       help
+         getent is a tool to get entries from Name Service Switch
+         libraries
+
 config GLIBC_LDCONFIG
        bool
        prompt "Install ldconfig"
diff --git a/rules/glibc.make b/rules/glibc.make
index c4de24ab1..51a932ffb 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -130,6 +130,10 @@ ifdef PTXCONF_GLIBC_GCONV_ZH
        @$(call install_copy_toolchain_lib, glibc, gconv/GB18030.so)
 endif
 
+ifdef PTXCONF_GLIBC_GETENT
+       @$(call install_copy_toolchain_usr, glibc, bin/getent)
+endif
+
 ifdef PTXCONF_GLIBC_LDCONFIG
        @$(call install_copy, glibc, 0, 0, 0755, \
            $(PTXDIST_SYSROOT_TOOLCHAIN)/sbin/ldconfig, /usr/sbin/ldconfig)
-- 
2.18.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to