H. Peter Anvin
2013-Dec-27 05:04 UTC
[klibc] [PATCH] Update header locations for uapi & generated
On 12/26/2013 08:49 PM, Robin H. Johnson wrote:> > in the kernel dir: > emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/You are overriding INSTALL_HDR_PATH...> 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. -hpa
Robin H. Johnson
2013-Dec-27 05:19 UTC
[klibc] [PATCH] Update header locations for uapi & generated
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
H. Peter Anvin
2013-Dec-27 05:21 UTC
[klibc] [PATCH] Update header locations for uapi & generated
On 12/26/2013 09:19 PM, Robin H. Johnson wrote:> 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.You're right, because it expects an include/ subdirectory. -hpa
Possibly Parallel Threads
- [PATCH] Update header locations for uapi & generated
- [PATCH] Update header locations for uapi & generated
- [PATCH] Update header locations for uapi & generated
- [PATCH] Update header locations for uapi & generated
- Code inconsistency between release version and git in rsync-3.0.9