[klibc] [PATCH] Update header locations for uapi & generated

Robin H. Johnson robbat2 at gentoo.org
Thu Dec 26 21:19:07 PST 2013

On Thu, Dec 26, 2013 at 09:04:26PM -0800, H. Peter Anvin wrote:
> > in the kernel dir: 
> > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ 
> You are overriding INSTALL_HDR_PATH...
I want it to use that copy in $WORKDIR/linux-headers/ ....
There is no way to specify that, it's NOT KLIBCKERNELSRC.

> > in the klibc dir:
> > emake V=1 KLIBCKERNELSRC="${S}/linux/usr"  (plus the rest of the opts)
> ... and then you point KLIBCKERNELSRC (which arguably is misnamed these
> days, but changing it would break other people) elsewhere.
>From klibc-2.0.3/usr/klibc/README.klibc:
a) Extract a recent Linux kernel into a directory and run 
   "make headers_install".
   Now enter the klibc dir and point KLIBCKERNELSRC to the 
   path of the configured linux tree
   "make  KLIBCKERNELSRC=`pwd`/../linux/usr/".
That's the path I gave it. Nothing in the instructions describes how to tell it
where I had INSTALL_HDR_PATH set to.

You know where I am in IRC, if this isn't making sense, ping me, I'll be around
for the next 45 minutes or so before I turn in for the night.

Robin Hugh Johnson
Gentoo Linux: Developer, Infrastructure Lead
E-Mail     : robbat2 at gentoo.org
GnuPG FP   : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85

More information about the klibc mailing list