lkml.org 
[lkml]   [2002]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: How to check the kernel compile options ?
Date
On Mon, 04 Feb 2002 13:34:40 -0500, 
David Relson <relson@osagesoftware.com> wrote:
>At 01:22 PM 2/4/02, you wrote:
>>I have had in my /sbin/installkernel a clause to save .config as
>>config-<foo> when I install vmlinuz-<foo>; I believe anyone not doing
>>that[1] is, quite frankly, a moron.
>
>Why not a simple patch for "make install" to do this?

Simple? From kbuild 2.5 which does exactly this ...

mainmenu_name "ix86 Installation"

choice 'Format to compile kernel in' \
"vmlinux CONFIG_VMLINUX \
vmlinuz CONFIG_VMLINUZ \
bzImage CONFIG_BZIMAGE \
zImage CONFIG_ZIMAGE" bzImage

bool 'Use a prefix on install paths' CONFIG_INSTALL_PREFIX
if [ "$CONFIG_INSTALL_PREFIX" = "y" ]; then
string ' Prefix for install paths' CONFIG_INSTALL_PREFIX_NAME ""
fi
string 'Where to install the kernel' CONFIG_INSTALL_KERNEL_NAME "/lib/modules/KERNELRELEASE/KERNELBASENAME"
bool 'Install System.map' CONFIG_INSTALL_SYSTEM_MAP
if [ "$CONFIG_INSTALL_SYSTEM_MAP" = "y" ]; then
string ' Where to install System.map' CONFIG_INSTALL_SYSTEM_MAP_NAME "/lib/modules/KERNELRELEASE/System.map"
fi
bool 'Install .config' CONFIG_INSTALL_CONFIG
if [ "$CONFIG_INSTALL_CONFIG" = "y" ]; then
string ' Where to install .config' CONFIG_INSTALL_CONFIG_NAME "/lib/modules/KERNELRELEASE/.config"
fi
if [ "$CONFIG_VMLINUX" != "y" ]; then
bool ' Install vmlinux for debugging' CONFIG_INSTALL_VMLINUX
if [ "$CONFIG_INSTALL_VMLINUX" = "y" ]; then
string ' Where to install vmlinux' CONFIG_INSTALL_VMLINUX_NAME "/lib/modules/KERNELRELEASE/vmlinux"
fi
fi
bool 'Run a post-install script or command' CONFIG_INSTALL_SCRIPT
if [ "$CONFIG_INSTALL_SCRIPT" = "y" ]; then
string ' Post-install script or command name' CONFIG_INSTALL_SCRIPT_NAME ""
fi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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