From 84217c44d1973927987f8fd8075d9101160b4fbc Mon Sep 17 00:00:00 2001 From: Stanislav Vorobiov Date: Wed, 12 Sep 2012 10:33:43 +0400 Subject: [PATCH] * Fixed build.sh, we now choose GL implementation correctly --- tizen/build.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/tizen/build.sh b/tizen/build.sh index 8c829e3..1867164 100755 --- a/tizen/build.sh +++ b/tizen/build.sh @@ -92,7 +92,7 @@ set_target() { ;; arm) EMUL_TARGET_LIST="arm-softmmu" - if [ -z "$OPENGLES_EN" ] ; then + if [ -z "$YAGL_EN" ] && [ -z "$OPENGLES_EN" ] ; then yagl_enable yes fi ;; @@ -101,7 +101,7 @@ set_target() { if [ -z "$VIRTIOGL_EN" ] ; then virtgl_enable yes fi - if [ -z "$OPENGLES_EN" ] ; then + if [ -z "$YAGL_EN" ] && [ -z "$OPENGLES_EN" ] ; then yagl_enable yes fi ;; @@ -125,16 +125,13 @@ do CONFIGURE_APPEND="$CONFIGURE_APPEND $1" ;; -vgl|--virtio-gl) - shift - virtgl_enable $1 + virtgl_enable 1 ;; -gles|--opengles) - shift - opengles_enable $1 + opengles_enable 1 ;; -yagl|--yagl-device) - shift - yagl_enable $1 + yagl_enable 1 ;; -u|-h|--help|--usage) usage -- 2.7.4