usb_redir=""
opengl=""
opengles="no"
+efence="no"
glesincdir=""
gleslibdir=""
zlib="yes"
;;
--disable-opengles) opengles="no"
;;
+ --enable-efence) efence="yes"
+ ;;
+ --disable-efence) efence="no"
+ ;;
--glesincdir=*) glesincdir="$optarg"
;;
--gleslibdir=*) gleslibdir="$optarg"
echo " --enable-opengles enable OpenGL ES 2.0 passthrough device compilation"
echo " Available for targets: ARM"
echo " --disable-opengles disable OpenGL ES 2.0 passthrough device compilation"
+echo " --enable-efence enable Electic Fence"
+echo " --disable-efence disable Electic Fence"
echo " --glesincdir=PATH search for EGL and GLES headers in PATH"
echo " --gleslibdir=PATH search for EGL and GLES libs in PATH"
echo " --disable-smartcard disable smartcard support"
echo "OpenGLES libdir $gleslibdir"
echo "OpenGLES debug $debug_gles"
fi
+echo "EFence support $efence"
echo "libiscsi support $libiscsi"
echo "build guest agent $guest_agent"
echo "coroutine backend $coroutine_backend"
fi
fi
+if test "$efence" = "yes" ; then
+ echo "CONFIG_EFENCE=y" >> $config_host_mak
+fi
+
if test "$smartcard" = "yes" ; then
echo "CONFIG_SMARTCARD=y" >> $config_host_mak
fi
fi
fi
+if test "$efence" = "yes" ; then
+ echo "CONFIG_BUILD_WITH_EFENCE=y" >> $config_target_mak
+ echo "LIBS+=-lefence" >> $config_target_mak
+fi
+
for i in $ARCH $TARGET_BASE_ARCH ; do
case "$i" in
alpha)
--- /dev/null
+#!/bin/sh
+
+UNAME=`uname`
+
+case "$UNAME" in
+Linux)
+ NUMCPU=`grep -c 'cpu cores' /proc/cpuinfo`
+ ;;
+MINGW*)
+ NUMCPU=`echo $NUMBER_OF_PROCESSORS`
+ ;;
+esac
+
+echo "Number of CPUs $NUMCPU"
+
+if [ "x$NUMCPU" != "x" ] ; then
+ NUMCPU=$(( NUMCPU + 1 ))
+else
+ NUMCPU=1
+fi
+
+./qemu_configure_efence.sh && make -j$NUMCPU && ./qemu_configure_arm_efence.sh && make -j$NUMCPU && make install
--- /dev/null
+#!/bin/sh
+# OS specific
+#--target-list=i386-softmmu,arm-softmmu \
+targetos=`uname -s`
+
+cd ..
+case $targetos in
+Linux*)
+echo "checking for os... targetos $targetos"
+exec ./configure \
+ --target-list=arm-softmmu \
+ --disable-werror \
+ --audio-drv-list=alsa \
+ --disable-vnc-tls \
+ --audio-card-list=ac97 \
+ --enable-opengles \
+ --enable-maru \
+ --disable-pie \
+ --enable-efence
+# --enable-mixemu \
+# --enable-ldst-optimization \
+# --enable-gl
+# --enable-ffmpeg
+# --enable-v4l2 \
+# --enable-debug \
+# --enable-profiler
+;;
+MINGW*)
+echo "checking for os... targetos $targetos"
+exec ./configure \
+ --target-list=arm-softmmu \
+ --audio-drv-list=winwave \
+ --enable-mixemu \
+ --disable-vnc-tls \
+ --audio-card-list=ac97 \
+ --enable-hax \
+ --enable-maru
+# --enable-ldst-optimization \
+# --enable-gl
+# --enable-ffmpeg
+# --disable-vnc-jpeg \
+# --disable-jpeg
+;;
+esac
--- /dev/null
+#!/bin/sh
+# OS specific
+#--target-list=i386-softmmu,arm-softmmu \
+targetos=`uname -s`
+
+cd ..
+case $targetos in
+Linux*)
+echo "checking for os... targetos $targetos"
+exec ./configure \
+ --target-list=i386-softmmu \
+ --disable-werror \
+ --audio-drv-list=alsa \
+ --enable-mixemu \
+ --disable-vnc-tls \
+ --audio-card-list=ac97 \
+ --enable-ldst-optimization \
+ --enable-maru \
+ --enable-gl \
+ --enable-efence
+# --enable-ffmpeg
+# --enable-v4l2 \
+# --enable-debug \
+# --enable-profiler \
+# --enable-gles2 --gles2dir=/usr
+;;
+MINGW*)
+echo "checking for os... targetos $targetos"
+exec ./configure \
+ --target-list=i386-softmmu \
+ --audio-drv-list=winwave \
+ --enable-mixemu \
+ --disable-vnc-tls \
+ --audio-card-list=ac97 \
+ --enable-ldst-optimization \
+ --enable-hax \
+ --enable-maru \
+ --enable-gl $1
+# --enable-ffmpeg
+# --disable-vnc-jpeg \
+# --disable-jpeg
+;;
+esac