[lkml]   [1997]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subjectone line patch to save .config information
Rather than save the .config options in the kernel and bloat it, append
them to with the same address as _end. Of course if you
have no map for your current kernel you are in trouble anyway.

The patch might affect code that reads klogd 1.3-3 does
not object to the extra records.

--- linux-2.1.24/Makefile Thu Jan 30 22:22:57 1997
+++ linux/Makefile Sat Feb 1 00:34:35 1997
@@ -179,6 +179,7 @@
$(LIBS) \
-o vmlinux
$(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( a \)\|\(\.\.ng$$\)' | sort >
+ sed -ne "/^CONFIG_/s/^/`sed -ne '/ _end$$/s/ .*//p'` ? /p" .config >>

rm -f include/asm

 \ /
  Last update: 2005-03-22 13:38    [W:0.049 / U:4.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site