From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] system/skeleton: make nsswitch install conditional
Date: Mon, 20 Oct 2014 15:37:19 +0200 [thread overview]
Message-ID: <20141020153719.034df3be@free-electrons.com> (raw)
In-Reply-To: <54450F51.5050801@zacarias.com.ar>
Dear Gustavo Zacarias,
On Mon, 20 Oct 2014 10:34:09 -0300, Gustavo Zacarias wrote:
> You've got bigger fish to care about before this tiny file, like
> COPY_GCONV_LIBS in toolchain/toolchain.mk, or:
Agreed. COPY_GCONV_LIBS could also be move to glibc +
toolchain-external. But we indeed need a way to share the logic to
avoid duplicating it.
> gustavoz at asgard ~/git/buildroot/package $ find . -name \*.mk -exec grep
> --with-filename TARGET_FINALIZE {} \;
> ./perl/perl.mk:TARGET_FINALIZE_HOOKS += PERL_FINALIZE_TARGET
Only removes stuff.
> ./luarocks/luarocks.mk:TARGET_FINALIZE_HOOKS += LUAROCKS_FINALIZE_TARGET
Only removes stuff.
> ./google-breakpad/google-breakpad.mk:TARGET_FINALIZE_HOOKS +=
> GOOGLE_BREAKPAD_EXTRACT_SYMBOLS
Only adds stuff to $(STAGING_DIR), doesn't touch $(TARGET_DIR)
> ./python/python.mk:TARGET_FINALIZE_HOOKS += PYTHON_FINALIZE_TARGET
> ./python3/python3.mk:TARGET_FINALIZE_HOOKS += PYTHON3_FINALIZE_TARGET
Only removes stuff.
> Besides it's a file that in essence belongs to skeleton, just
> conditional on (e)glibc.
> You'll have to deal with the other skeleton files as well IMHO, just
> treat is as such.
> (negative logic could be used, remove if it's not needed, but i don't
> think it'll change anything WRT your pet project).
The skeleton can be made a package of its own.
See, I'm not too far away :-)
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-10-20 13:37 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-20 12:28 [Buildroot] [PATCH 1/2] system/skeleton: make nsswitch install conditional Gustavo Zacarias
2014-10-20 12:28 ` [Buildroot] [PATCH 2/2] glibc/nsswitch.conf: also lookup on dns for networks Gustavo Zacarias
2014-10-20 13:02 ` [Buildroot] [PATCH 1/2] system/skeleton: make nsswitch install conditional Thomas Petazzoni
2014-10-20 13:19 ` Gustavo Zacarias
2014-10-20 13:27 ` Thomas Petazzoni
2014-10-20 13:34 ` Gustavo Zacarias
2014-10-20 13:37 ` Thomas Petazzoni [this message]
2014-10-20 13:43 ` Gustavo Zacarias
2014-10-20 13:54 ` Thomas Petazzoni
2014-10-20 14:12 ` Gustavo Zacarias
2014-10-20 14:28 ` Thomas Petazzoni
2014-10-22 14:10 ` Maxime Hadjinlian
2014-10-22 19:44 ` Gustavo Zacarias
2014-10-22 19:49 ` Gustavo Zacarias
2014-10-23 17:47 ` Maxime Hadjinlian
2014-10-21 18:49 ` Arnout Vandecappelle
2014-10-25 10:49 ` Thomas Petazzoni
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=20141020153719.034df3be@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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