Dan Nicholson wrote:
On 9/25/06, Matthew Burgess <[EMAIL PROTECTED]> wrote:

What about something like:

tar -xf linux-2.6.18.x.tar.bz2
cd linux-2.6.18.x
mkdir /tools/tmp
make mrproper
make headers_check # For testing
make INSTALL_HDR_PATH=/tools/tmp headers_install
cp -R /tools/tmp/include/* /tools/include
rm -r /tools/tmp

I'd prefer the path to be within the kernel tree, but it doesn't
matter much.

Like you, I'm not that bothered where we put them temporarily, except for the fact that nowhere else do we create directories within a packages' source tree. For those packages that require something similar, we create a ../$package-build object tree.

Now, Manuel states that at this point in the book, no headers have been installed. Unfortunately I don't have any chapter 5 build logs around (somewhat annoyingly now, I asked jhalfs to only log chapter 6 onwards!) so can't confirm, but I thought that pass 1 of binutils and gcc both installed headers into /tools. Could someone confirm that please?

Chapter 6 doesn't seem like too much of a problem, as Linux Headers will be the first package to be installed within the chroot environment, so `rm -rf $(INSTALL_HDR_PATH)/include' will effectively be a no-op.

Regards,

Matt.

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to