Differences between version 18 and predecessor to the previous major change of KernelDevelopment.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 18 | Last edited on Sunday, June 3, 2007 1:03:33 pm | by IanMcDonald | Revert |
Older page: | version 17 | Last edited on Friday, January 12, 2007 10:19:39 am | by IanMcDonald | Revert |
@@ -23,8 +23,18 @@
<verbatim>
make -j6 CC=distcc all
make modules_install INSTALL_MOD_PATH=~/tmp
</verbatim>
+
+To update the .config file with questions for new options do a <tt>make oldconfig</tt>
+
+To output build files to another directory (so you don't mix source and object code) do <tt>make O=outputdir all</tt>
+
+To make files in just one source code directory do <tt>make dir</tt>. To make the modules in a directory and link them do <tt>make M=dir</tt>. Remember to put a trailing slash after the directory name.
+
+NB The above two may require you to have built your config etc first.
+
+To enable extra error checks when compiling do <tt>make EXTRA_CFLAGS=-W all</tt>.
A script to copy a new [LinuxKernel] to remote machines:''''
<verbatim>
@@ -40,8 +50,8 @@
rsync $SRC/vmlinux root@jandi$1:/boot/vmlinux-$VER
rsync -av $H/tmp/lib/modules/$VER root@jandi$1:/lib/modules
</verbatim>
-It has also been suggested to me
to use kgdb with qemu and/or kgdboe to help with debugging.
+It has also been suggested to use kgdb with qemu and/or kgdboe to help with debugging.
----
CategoryKernel