mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* make headers_install
@ 2010-09-19 20:15 Mark Hills
  2010-09-22  9:13 ` Florian Mickler
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Hills @ 2010-09-19 20:15 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-kernel

Hi David, I tried to update my kernel headers using the instructions in 
Documentation/make/headers_install.txt. I followed the example:

  make headers_install INSTALL_HDR_PATH=/usr/include

but it installed them in /usr/include/include. So I modified the path:

  make headers_install INSTALL_HDR_PATH=/usr

The command installed the headers, but then automatically deleted 
/usr/include/*.h (nasty!). This is with kernel 2.6.35.4.

Do the docs need an update (and I should always be installing to a staging 
area?) Or is this a bug in the process -- where is should be removing 
unknown files in /usr/include/linux or similar?

I seem to remember that I used to be able to install headers direct to the 
system, is this still the case?

Thanks

-- 
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread
* make headers_install
@ 2006-07-17 22:43 Joshua Hudson
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Hudson @ 2006-07-17 22:43 UTC (permalink / raw)
  To: linux-kernel

Just installed a new box, stock kernel didn't come up right. Installed
linux-2.6.18-rc2 (had one hard time at that one as keyboard acted
strange and network didn't work).

The real fun is this: to begin kernel build, I had to restore
toolchain to working order like so:
# ln -s /usr/src/linux-2.6.18-rc2/include/linux /usr/include/linux
# ln -s /usr/src/linux-2.6.18-rc2/include/asm-i386 /usr/include/asm
# ln -s /usr/src/linux-2.6.18-rc2/include/asm-generic /usr/include/asm-generic

Now the fun part: if I recall, I do make headers_install to install
the kernel headers
in the right place. Doing this before running those fix lines doesn't
work because the
build environment is broken. Doing this after looks like it would
clobber the kernel headers.

Solution?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-22  9:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-19 20:15 make headers_install Mark Hills
2010-09-22  9:13 ` Florian Mickler
  -- strict thread matches above, loose matches on Subject: below --
2006-07-17 22:43 Joshua Hudson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome