This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 1bcf01e7a8 Add CONFIG_EXPERIMENTAL for configure windows native
1bcf01e7a8 is described below

commit 1bcf01e7a8f8e18a52b34eea92616c92467499c2
Author: simbit18 <101105604+simbi...@users.noreply.github.com>
AuthorDate: Tue Oct 24 14:27:15 2023 +0200

    Add CONFIG_EXPERIMENTAL for configure windows native
    
    Add CONFIG_EXPERIMENTAL for configure windows native
---
 tools/configure.c | 1 +
 tools/sethost.sh  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tools/configure.c b/tools/configure.c
index 958fbf04b5..f18bbae213 100644
--- a/tools/configure.c
+++ b/tools/configure.c
@@ -1441,6 +1441,7 @@ static void set_host(const char *destconfig)
                 printf("  Select Windows native host\n");
                 disable_feature(destconfig, "CONFIG_WINDOWS_CYGWIN");
                 disable_feature(destconfig, "CONFIG_WINDOWS_MSYS");
+                enable_feature(destconfig, "CONFIG_EXPERIMENTAL");
                 enable_feature(destconfig, "CONFIG_WINDOWS_NATIVE");
                 break;
 
diff --git a/tools/sethost.sh b/tools/sethost.sh
index 5c7aa6a2cd..d637f00517 100755
--- a/tools/sethost.sh
+++ b/tools/sethost.sh
@@ -218,6 +218,7 @@ else
       kconfig-tweak --file $nuttx/.config --enable CONFIG_WINDOWS_MSYS
     else
       echo "  Select CONFIG_WINDOWS_NATIVE=y"
+      kconfig-tweak --file $nuttx/.config --enable CONFIG_EXPERIMENTAL
       kconfig-tweak --file $nuttx/.config --enable CONFIG_WINDOWS_NATIVE
     fi
   fi

Reply via email to