From 6370fa6cff0ec2a8ac8d50d1595ec9500f6631c9 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Wed, 24 Jan 2001 00:31:17 +0000 Subject: Initial commit - LFS 2.4.4 files git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@14 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/kernel-inst.sgml | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 chapter05/kernel-inst.sgml (limited to 'chapter05/kernel-inst.sgml') diff --git a/chapter05/kernel-inst.sgml b/chapter05/kernel-inst.sgml new file mode 100644 index 000000000..0d36fa1af --- /dev/null +++ b/chapter05/kernel-inst.sgml @@ -0,0 +1,49 @@ + +Installation of Linux Kernel + + +We won't be compiling a new kernel image yet. We'll do that after we +have finished the installation of the basic system software in this +chapter. But because certain software need the kernel header files, we're +going to unpack the kernel archive now and set it up so that we can +compile package that need the kernel. + + + +Create the kernel configuration file by running the following command: + + +
+ + yes "" | make config + +
+ + +Ignore the warning Broken pipe you might see at the +end. Now run the following commands to set up all the dependencies correctly: + + +
+ + make dep + +
+ + +Now that that's done, we need to create the +$LFS/usr/include/linux and the +$LFS/usr/include/asm symlinks. Create them by running the +following commands: + + +
+ + cd $LFS/usr/include && + ln -s ../src/linux/include/linux linux && + ln -s ../src/linux/include/asm asm + +
+ +
+ -- cgit v1.2.3-54-g00ecf