aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-10-14 00:05:16 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-10-14 00:05:16 +0000
commit12e4beeaf7b52545a16aa8d4655e5d39134c2436 (patch)
treedb83ee12559264737f7c6649a81e76cd78d16797 /gen_cmdline.sh
parentClean up module drift over the years. Just MODULES_CRYPTO left. (diff)
downloadgenkernel-12e4beeaf7b52545a16aa8d4655e5d39134c2436.tar.gz
genkernel-12e4beeaf7b52545a16aa8d4655e5d39134c2436.tar.bz2
genkernel-12e4beeaf7b52545a16aa8d4655e5d39134c2436.zip
Bug #432956: Easy to include VirtIO support in kernel.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-xgen_cmdline.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index 858b850d..5503bb56 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -31,6 +31,7 @@ longusage() {
echo " --no-xconfig Don't run xconfig after oldconfig"
echo " --save-config Save the configuration to /etc/kernels"
echo " --no-save-config Don't save the configuration to /etc/kernels"
+ echo " --virtio Include VirtIO kernel code"
echo " Kernel Compile settings"
echo " --oldconfig Implies --no-clean and runs a 'make oldconfig'"
echo " --clean Run make clean before compilation"
@@ -321,6 +322,10 @@ parse_cmdline() {
CMD_ZFS=`parse_optbool "$*"`
print_info 2 "CMD_ZFS: ${CMD_ZFS}"
;;
+ --virtio)
+ CMD_VIRTIO=`parse_optbool "$*"`
+ print_info 2 "CMD_VIRTIO: ${CMD_VIRTIO}"
+ ;;
--multipath|--no-multipath)
CMD_MULTIPATH=`parse_optbool "$*"`
if [ "$CMD_MULTIPATH" = "1" -a ! -e /usr/include/libdevmapper.h ]