Patchwork [RFC,15/20] Introduce FT mode support to configure.

login
register
mail settings
Submitter Yoshiaki Tamura
Date April 21, 2010, 5:57 a.m.
Message ID <1271829445-5328-16-git-send-email-tamura.yoshiaki@lab.ntt.co.jp>
Download mbox | patch
Permalink /patch/50625/
State New
Headers show

Comments

Yoshiaki Tamura - April 21, 2010, 5:57 a.m.
Signed-off-by: Yoshiaki Tamura <tamura.yoshiaki@lab.ntt.co.jp>
---
 configure |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Anthony Liguori - April 22, 2010, 7:38 p.m.
On 04/21/2010 12:57 AM, Yoshiaki Tamura wrote:
> Signed-off-by: Yoshiaki Tamura<tamura.yoshiaki@lab.ntt.co.jp>
>    

No need for this.

Regards,

Anthony Liguori

> ---
>   configure |    8 ++++++++
>   1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/configure b/configure
> index 046c591..f0682d4 100755
> --- a/configure
> +++ b/configure
> @@ -298,6 +298,7 @@ bsd_user="no"
>   guest_base=""
>   uname_release=""
>   io_thread="no"
> +ft_mode="no"
>   mixemu="no"
>   kvm_trace="no"
>   kvm_cap_pit=""
> @@ -671,6 +672,8 @@ for opt do
>     ;;
>     --enable-io-thread) io_thread="yes"
>     ;;
> +  --enable-ft-mode) ft_mode="yes"
> +  ;;
>     --disable-blobs) blobs="no"
>     ;;
>     --kerneldir=*) kerneldir="$optarg"
> @@ -840,6 +843,7 @@ echo "  --enable-vde             enable support for vde network"
>   echo "  --disable-linux-aio      disable Linux AIO support"
>   echo "  --enable-linux-aio       enable Linux AIO support"
>   echo "  --enable-io-thread       enable IO thread"
> +echo "  --enable-ft-mode         enable FT mode support"
>   echo "  --disable-blobs          disable installing provided firmware blobs"
>   echo "  --kerneldir=PATH         look for kernel includes in PATH"
>   echo "  --with-kvm-trace         enable building the KVM module with the kvm trace option"
> @@ -2117,6 +2121,7 @@ echo "GUEST_BASE        $guest_base"
>   echo "PIE user targets  $user_pie"
>   echo "vde support       $vde"
>   echo "IO thread         $io_thread"
> +echo "FT mode support   $ft_mode"
>   echo "Linux AIO support $linux_aio"
>   echo "Install blobs     $blobs"
>   echo "KVM support       $kvm"
> @@ -2318,6 +2323,9 @@ fi
>   if test "$io_thread" = "yes" ; then
>     echo "CONFIG_IOTHREAD=y">>  $config_host_mak
>   fi
> +if test "$ft_mode" = "yes" ; then
> +  echo "CONFIG_FT_MODE=y">>  $config_host_mak
> +fi
>   if test "$linux_aio" = "yes" ; then
>     echo "CONFIG_LINUX_AIO=y">>  $config_host_mak
>   fi
>
Yoshiaki Tamura - April 23, 2010, 3:09 a.m.
Anthony Liguori wrote:
> On 04/21/2010 12:57 AM, Yoshiaki Tamura wrote:
>> Signed-off-by: Yoshiaki Tamura<tamura.yoshiaki@lab.ntt.co.jp>
>
> No need for this.

OK.

>
> Regards,
>
> Anthony Liguori
>
>> ---
>> configure | 8 ++++++++
>> 1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 046c591..f0682d4 100755
>> --- a/configure
>> +++ b/configure
>> @@ -298,6 +298,7 @@ bsd_user="no"
>> guest_base=""
>> uname_release=""
>> io_thread="no"
>> +ft_mode="no"
>> mixemu="no"
>> kvm_trace="no"
>> kvm_cap_pit=""
>> @@ -671,6 +672,8 @@ for opt do
>> ;;
>> --enable-io-thread) io_thread="yes"
>> ;;
>> + --enable-ft-mode) ft_mode="yes"
>> + ;;
>> --disable-blobs) blobs="no"
>> ;;
>> --kerneldir=*) kerneldir="$optarg"
>> @@ -840,6 +843,7 @@ echo " --enable-vde enable support for vde network"
>> echo " --disable-linux-aio disable Linux AIO support"
>> echo " --enable-linux-aio enable Linux AIO support"
>> echo " --enable-io-thread enable IO thread"
>> +echo " --enable-ft-mode enable FT mode support"
>> echo " --disable-blobs disable installing provided firmware blobs"
>> echo " --kerneldir=PATH look for kernel includes in PATH"
>> echo " --with-kvm-trace enable building the KVM module with the kvm
>> trace option"
>> @@ -2117,6 +2121,7 @@ echo "GUEST_BASE $guest_base"
>> echo "PIE user targets $user_pie"
>> echo "vde support $vde"
>> echo "IO thread $io_thread"
>> +echo "FT mode support $ft_mode"
>> echo "Linux AIO support $linux_aio"
>> echo "Install blobs $blobs"
>> echo "KVM support $kvm"
>> @@ -2318,6 +2323,9 @@ fi
>> if test "$io_thread" = "yes" ; then
>> echo "CONFIG_IOTHREAD=y">> $config_host_mak
>> fi
>> +if test "$ft_mode" = "yes" ; then
>> + echo "CONFIG_FT_MODE=y">> $config_host_mak
>> +fi
>> if test "$linux_aio" = "yes" ; then
>> echo "CONFIG_LINUX_AIO=y">> $config_host_mak
>> fi
>
>
>
>

Patch

diff --git a/configure b/configure
index 046c591..f0682d4 100755
--- a/configure
+++ b/configure
@@ -298,6 +298,7 @@  bsd_user="no"
 guest_base=""
 uname_release=""
 io_thread="no"
+ft_mode="no"
 mixemu="no"
 kvm_trace="no"
 kvm_cap_pit=""
@@ -671,6 +672,8 @@  for opt do
   ;;
   --enable-io-thread) io_thread="yes"
   ;;
+  --enable-ft-mode) ft_mode="yes"
+  ;;
   --disable-blobs) blobs="no"
   ;;
   --kerneldir=*) kerneldir="$optarg"
@@ -840,6 +843,7 @@  echo "  --enable-vde             enable support for vde network"
 echo "  --disable-linux-aio      disable Linux AIO support"
 echo "  --enable-linux-aio       enable Linux AIO support"
 echo "  --enable-io-thread       enable IO thread"
+echo "  --enable-ft-mode         enable FT mode support"
 echo "  --disable-blobs          disable installing provided firmware blobs"
 echo "  --kerneldir=PATH         look for kernel includes in PATH"
 echo "  --with-kvm-trace         enable building the KVM module with the kvm trace option"
@@ -2117,6 +2121,7 @@  echo "GUEST_BASE        $guest_base"
 echo "PIE user targets  $user_pie"
 echo "vde support       $vde"
 echo "IO thread         $io_thread"
+echo "FT mode support   $ft_mode"
 echo "Linux AIO support $linux_aio"
 echo "Install blobs     $blobs"
 echo "KVM support       $kvm"
@@ -2318,6 +2323,9 @@  fi
 if test "$io_thread" = "yes" ; then
   echo "CONFIG_IOTHREAD=y" >> $config_host_mak
 fi
+if test "$ft_mode" = "yes" ; then
+  echo "CONFIG_FT_MODE=y" >> $config_host_mak
+fi
 if test "$linux_aio" = "yes" ; then
   echo "CONFIG_LINUX_AIO=y" >> $config_host_mak
 fi