diff --git a/configure b/configure index f01b00bd26..3e26b80717 100755 --- a/configure +++ b/configure @@ -566,9 +566,11 @@ echo "\"" >> $config_h if test $kqemu = "yes" ; then echo "CONFIG_KQEMU=yes" >> $config_mak - echo "KERNEL_PATH=$kernel_path" >> $config_mak - if test $kbuild26 = "yes" ; then - echo "CONFIG_KBUILD26=yes" >> $config_mak + if test $linux = "yes" ; then + echo "KERNEL_PATH=$kernel_path" >> $config_mak + if test $kbuild26 = "yes" ; then + echo "CONFIG_KBUILD26=yes" >> $config_mak + fi fi fi echo "SRC_PATH=$source_path" >> $config_mak