[Buildroot] [PATCH 1/1 v3] package/unscd: new package
Yann E. MORIN
yann.morin.1998 at free.fr
Mon Oct 12 16:42:02 UTC 2015
Doug, MAxime, All,
On 2015-10-12 09:35 -0500, rdkehn at yahoo.com spake thusly:
> On Mon, Oct 12, 2015 at 10:34:09AM +0200, Maxime Hadjinlian wrote:
[--SNIP--]
> > nscd is a part of glibc, and looking at the code of glibc 2.22, the startup
> > script and systemd init file are included in the source. So I have a few
> > questions:
> >
> > Why is this not a part of the glibc package as an option ?
>
> ... good point.
>
> I see glibc nscd (I'm using glibc 2.21) is built but not installed.
> Is the suggestion to add a nscd configuration option to glibc for
> native nscd or unscd?
>
> If unscd is selected, only glibc nscd support files will be
> installed.
I would well see something along the lines of:
- in toolchain/toolchain-common/in, add this:
config BR2_GLIBC_NSCD
bool "Install nscd"
depends on BR2_TOOLCHAIN_USES_GLIBC
- in package/unscd/Cofnig.in:
config BR2_PACKAGE_UNSCD
bool "unscd"
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_GLIBC_NSCD
help
unscd is a blabla replacement blabla...
http://example.net/home/of/unscd
comment "unscd needs an (e)glibc toolchain"
depends on !BR2_TOOLCHAIN_USES_GLIBC
Note that we do not make BR2_GLIBC_NSCD an option of the glibc package,
because we also want to handle external toolchains. So it has to be a
toolchain option, not a package option.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list