search for: install_hdr_path

Displaying 20 results from an estimated 27 matches for "install_hdr_path".

2013 Dec 27
2
[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 oth...
2015 Mar 11
1
Patch: Kbuild.install: *** No rule to make target `headers_install'.
...rule to make target `headers_install'. Stop. make[1]: *** [header] Error 2 make: *** [install] Error 2 Issue: KLIBCKERNELSRC=`pwd`/linux/usr points to Makefile without headers_install rule. Kbuild.install uses wrong Makefile. Line 81: $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install headers_install is not in linux/usr. It is in linux base directory. Patch: --- Kbuild.install 2015-03-11 07:29:19.292071162 -0700 +++ Kbuild.install.fix 2015-03-11 07:36:25.973404816 -0700 @@ -95,7 +95,7 @@ $(Q)mkdir -p $(INSTALL...
2012 Feb 06
1
[PATCH] Fix kernel headers install
...ipts/Kbuild.install +++ b/scripts/Kbuild.install @@ -95,7 +95,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install + $(Q)$(MAKE) -C $(KLIBCKERNELOBJ) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(...
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
...v-libs/klibc/klibc-2.0.3-r1.ebuild?revision=1.1&view=markup > > I'm perfectly happy to use the result of headers_install, but there is > no way to specify where that output is. I do NOT want the /usr/include > location used, we'd be doing a pass of headers_install with > INSTALL_HDR_PATH="${S}"/linux-headers/ and wanting to point klibc to > that location for the build. > > In the end, demanding that I use a copy of the installed kernel headers, > when I'm passing a specific kernel source to the klibc build and that > kernel source is most probably not...
2013 Dec 27
0
[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" (pl...
2017 Jan 05
0
[PATCH] Fix make install target
...ipts/Kbuild.install +++ b/scripts/Kbuild.install @@ -95,7 +95,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install + $(Q)$(MAKE) -C $(KLIBCKERNELSRC)/../ ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(IN...
2017 Oct 07
0
[PATCH] Fix install target
...ipts/Kbuild.install +++ b/scripts/Kbuild.install @@ -95,7 +95,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install + $(Q)$(MAKE) -C $(KLIBCKERNELSRC)/.. ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(INS...
2011 Jul 20
1
[PATCH] fix parallel make install error
...scripts/Kbuild.install +++ b/scripts/Kbuild.install @@ -95,7 +95,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)make -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install + $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(...
2019 Feb 01
0
[klibc:master] Simplify build instructions
...t;of a kernel tree with headers installed for the $(KLIBCARCH) " - @echo "architecture or specify KLIBCKERNELSRC=<path>." + @echo 'Missing kernel UAPI headers in $(KLIBCKERNELSRC)/include.' + @echo 'Install them by running:' + @echo ' make headers_install INSTALL_HDR_PATH=$(abspath $(KLIBCKERNELSRC))' + @echo 'in the kernel source directory.' @false rpmbuild = $(shell which rpmbuild 2>/dev/null || which rpm) diff --git a/usr/klibc/README.klibc b/usr/klibc/README.klibc index 59ffd351..ea10c55f 100644 --- a/usr/klibc/README.klibc +++ b/usr/klibc/RE...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...otherwise the headers_install wouldn't fail. >> > Yes, step A is done. > But the Makefile in src/linux/usr doesn't contain any target > `headers_install' so the below command with -C to src/linux/usr fails: > > make -C /root/gen/trunk/knl/linux/usr/ ARCH=ppc > INSTALL_HDR_PATH=/tmp/klibc-install/lib/klibc/ headers_install > make[2]: *** No rule to make target `headers_install'. Stop. > make[1]: *** [header] Error 2 > Note that step B is working well. It is step C, the 'make install', which fails.
2013 Aug 21
2
Build problems: klibc with Linux 3.10.7
On Wed, Aug 21, 2013 at 01:39:50PM +0200, leroy christophe wrote: > > Le 21/08/2013 12:20, maximilian attems a ?crit : > >On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > >>Find attached two patches I have in order to build klibc 2.0.2 > >>against kernel 3.8.13 > >>We had to introduce those patches when going from kernel 3.6 to kernel 3.7
2013 Dec 27
2
[PATCH] Update header locations for uapi & generated
H. Peter Anvin dixit: >You should be using the output of "make headers_install" to build klibc. Hm. Can we catch that somehow? Like? #ifdef using_uninstalled_kernel_headers # error Go RTFM! #endif ? in the klibc sources, centrally somewhere? Ideally, a klibc header that?d also be included when using klcc to build some? thing, so that both klibc-build time and klibc-use time would
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up, I have a trouble to build that for Debian. currently I build depent on linux-libc-dev, I don't know what against I can build latest klibc, see klibc fails to build due too: make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install make[3]: *** No rule to make target `headers_install'. Stop. make[2]: *** [header] Error 2 linux is a hackish symlink: mkdir -p linux/include; \ ln -s /usr/include/linux linux/include; \ for x in /usr/include/asm*; do \ ln -s $${x} linux/include;...
2016 Jan 06
0
[klibc:master] Install headers with consistent mode
...1 deletion(-) diff --git a/scripts/Kbuild.install b/scripts/Kbuild.install index 78c30aa..8af5697 100644 --- a/scripts/Kbuild.install +++ b/scripts/Kbuild.install @@ -97,7 +97,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. - $(Q)chmod -R a+rX $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include + $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)$(install-data) $(srctree)/klc...
2019 Jan 18
0
[klibc:master] Kbuild.install: Copy UAPI headers instead of reinstalling them
...ipts/Kbuild.install +++ b/scripts/Kbuild.install @@ -95,7 +95,7 @@ header: $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)lib $(Q)mkdir -p $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)bin - $(Q)$(MAKE) -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install + $(Q)cp -rfL $(KLIBCKERNELSRC)/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)chmod -R a+rX,go-w $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include $(Q)$(inst...
2009 Jul 17
0
[PATCH] Use headers_install to install headers
...)$(INSTALLDIR)/$(KLIBCCROSS)include/$$d ; \ - cp -rfL $$r/$$d/. \ - $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/$$d/. ; \ - done ; \ - done - $(Q)cd $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include && ln -sf asm-$(KLIBCARCH) asm + $(Q)make -C $(KLIBCKERNELSRC) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 $(Q)$(install-bin) $(objtree)/klcc/$(KCROSS)klcc $(INSTALLROOT)$(bindir)
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...preconfigured linux headers > otherwise the headers_install wouldn't fail. > Yes, step A is done. But the Makefile in src/linux/usr doesn't contain any target `headers_install' so the below command with -C to src/linux/usr fails: make -C /root/gen/trunk/knl/linux/usr/ ARCH=ppc INSTALL_HDR_PATH=/tmp/klibc-install/lib/klibc/ headers_install make[2]: *** No rule to make target `headers_install'. Stop. make[1]: *** [header] Error 2
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...'t fail. > >> > >Yes, step A is done. > >But the Makefile in src/linux/usr doesn't contain any target > >`headers_install' so the below command with -C to src/linux/usr > >fails: > > > >make -C /root/gen/trunk/knl/linux/usr/ ARCH=ppc > >INSTALL_HDR_PATH=/tmp/klibc-install/lib/klibc/ headers_install > >make[2]: *** No rule to make target `headers_install'. Stop. > >make[1]: *** [header] Error 2 > > > Note that step B is working well. > It is step C, the 'make install', which fails. right, it is the toplevel Mak...
2013 Dec 27
0
[PATCH] Update header locations for uapi & generated
.../viewvc.cgi/gentoo-x86/dev-libs/klibc/klibc-2.0.3-r1.ebuild?revision=1.1&view=markup I'm perfectly happy to use the result of headers_install, but there is no way to specify where that output is. I do NOT want the /usr/include location used, we'd be doing a pass of headers_install with INSTALL_HDR_PATH="${S}"/linux-headers/ and wanting to point klibc to that location for the build. In the end, demanding that I use a copy of the installed kernel headers, when I'm passing a specific kernel source to the klibc build and that kernel source is most probably not the same as the kernel th...
2013 Dec 27
0
[PATCH] Update header locations for uapi & generated
...ers. > Please read the *current* version of usr/klibc/README.klibc and come back. Those instructions fail, unless my patch is included: S is ${WORKDIR}/klibc-2.0.3 ${S}/linux is a symlink to ${WORKDIR}/linux-3.12, copy of the kernel sources, configured. in the kernel dir: emake headers_install INSTALL_HDR_PATH="${WORKDIR}"/linux-headers/ in the klibc dir: emake V=1 KLIBCKERNELSRC="${S}/linux/usr" (plus the rest of the opts) and the failure: x86_64-pc-linux-gnu-gcc -Wp,-MD,usr/klibc/.vsprintf.o.d -nostdinc -iwithprefix include -I/dev/shm/portage/dev-libs/klibc-2.0.3-r1/work/klib...