[klibc] klibc build trouble
maximilian attems
max at stro.at
Sat Mar 13 20:46:43 PST 2010
On Sun, Mar 14, 2010 at 04:33:36AM +0000, Ben Hutchings wrote:
> On Sun, 2010-03-14 at 04:27 +0100, maximilian attems wrote:
> [...]
> > so to reproduce the debian trouble:
> > git clone git://git.debian.org/git/kernel/klibc.git klibc-debian
> > cd klibc-debian
> > debuild -B -us -uc
> >
> > I don't see how we can get around the headers_install target,
> > it was added on purpose as previous header installing was
> > quite fragile see
> > git log scripts/Kbuild.install
>
> But we already solved this problem and the solution is called
> linux-libc-dev. For klibc we just need to do:
>
> $(Q)for x in /usr/include/linux /usr/include/asm*; do \
> ln -s $${x} $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/ || exit; \
> done
>
> and make klibc-dev depend on linux-libc-dev.
skiping the make headers_install makes klcc useless,
although it should probably be possible to tell klcc
to also look in /usr/include.
More information about the klibc
mailing list