Then you will be pleased to hear that kbuild 2.5 supports precisely
that model. It has an install menu which lets you specify the name of
the install kernel, whether to install System.map and .config, and the
names to install them under. It even has an config entry for a
post-install script.
After setting up these variables (only needs to be done once)
CONFIG_INSTALL_KERNEL_NAME=/boot/vmlinux-KERNELRELEASE
CONFIG_INSTALL_SYSTEM_MAP=y
CONFIG_INSTALL_SYSTEM_MAP_NAME=/boot/System.map-KERNELRELEASE
CONFIG_INSTALL_CONFIG=y
CONFIG_INSTALL_CONFIG_NAME=/boot/config-KERNELRELEASE
CONFIG_INSTALL_SCRIPT=y
CONFIG_INSTALL_SCRIPT_NAME=joe /etc/yaboot.conf
Your build process collapes to
make -j defconfig installable && sudo make install
It does not get any simpler than that!
-
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/