tizen/emulator_configure.sh: Disable YaGL for Windows by default
authorEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 12 Oct 2012 08:45:43 +0000 (12:45 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 12 Oct 2012 08:45:43 +0000 (12:45 +0400)
Signed-off-by: Evgeny Voevodin <e.voevodin@samsung.com>
tizen/emulator_configure.sh

index eb46f809d08d3198f3bfe1f2107ad492d8542644..ad9f6d3aa8ab3037940cea905fbca04cc01779dc 100755 (executable)
@@ -108,7 +108,9 @@ set_target() {
   arm)
     EMUL_TARGET_LIST="arm-softmmu"
     if [ -z "$YAGL_EN" ] && [ -z "$OPENGLES_EN" ] ; then
-      yagl_enable yes
+      if test "$targetos" = "Linux" ; then
+        yagl_enable yes
+      fi
     fi
   ;;
   all)
@@ -117,7 +119,9 @@ set_target() {
       virtgl_enable yes
     fi
     if [ -z "$YAGL_EN" ] && [ -z "$OPENGLES_EN" ] ; then
-      yagl_enable yes
+      if test "$targetos" = "Linux" ; then    
+        yagl_enable yes
+      fi
     fi
   ;;
   esac