mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Vlastimil Setka <setka@rexcontrols.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] glibc: add option for libanl
Date: Fri, 7 Jul 2017 16:15:12 +0200	[thread overview]
Message-ID: <9e6c8c94-ad34-e80d-2ff0-830a917334b3@rexcontrols.com> (raw)

Allow to install glibc's libanl (asynchronous name lookup) to target.
---
  rules/glibc.in   | 6 ++++++
  rules/glibc.make | 4 ++++
  2 files changed, 10 insertions(+)

diff --git a/rules/glibc.in b/rules/glibc.in
index 662f0aa..d58705a 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -163,6 +163,12 @@ config GLIBC_RESOLV
           will need both libraries if your /etc/nsswitch.conf contains 
a line
           like "hosts: file dns"

+config GLIBC_ANL
+       bool
+       prompt "Install libanl"
+       help
+         This library provides an asynchronous name lookup functions
+
  config GLIBC_NSL
         bool
         prompt "Install libnsl"
diff --git a/rules/glibc.make b/rules/glibc.make
index 4018e01..c4b0c40 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -100,6 +100,10 @@ ifdef PTXCONF_GLIBC_RESOLV
         @$(call install_copy_toolchain_lib, glibc, libresolv.so)
  endif

+ifdef PTXCONF_GLIBC_ANL
+       @$(call install_copy_toolchain_lib, glibc, libanl.so)
+endif
+
  ifdef PTXCONF_GLIBC_NSL
         @$(call install_copy_toolchain_lib, glibc, libnsl.so)
  endif
--
2.1.4

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2017-07-07 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07 14:15 Vlastimil Setka [this message]
2017-07-17  6:50 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e6c8c94-ad34-e80d-2ff0-830a917334b3@rexcontrols.com \
    --to=setka@rexcontrols.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox