@@ -30,7 +37,7 @@ old method:
-This last fact is important, as previously portage would need to be given @@ -58,8 +65,10 @@ kernel module emerges, you can use config-kernel:
-# config-kernel --allow-writable yes @@ -74,16 +83,18 @@+
2.6 kernels determine where to output their files based on two environmental
-variables, KBUILD_OUTPUT and O. KBUILD_OUTPUT should be set
+variables,
@@ -133,19 +144,27 @@The above command converts the kernel found in
+/usr/src/linux-2.6.3 to outputting to a different directory. If the output directory has been set -previously with --output-dir=foo, then that prefix will be used. +previously with--output-dir=foo , then that prefix will be used. Otherwise, the Gentoo default of/var/tmp/kernel-output/KV will be used.
-After configuring a kernel to use a different output directory, the changes go largly unnoticed when configuring and isntalling a kernel. A few key files change locations that you should be aware of though. The main files to be concered with are .config, and the generated bzImage after compiling a kernel. Below is a table showing the original and new locations for some key files. We assume the kernel is a 2.6.4 kernel outputting to the Gentoo default of