Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Last patch of the day (I promise)

Last patch of the day (I promise)

From: Bill Napier <napier_at_pobox.com>
Date: 02 Jul 2002 17:40:08 -0400

This one adds a question to the tools/configure script to see if you
want to build for the x11 sim or the win32 sim. Simple enough.

Index: tools/configure
===================================================================
RCS file: /cvsroot/rockbox/tools/configure,v
retrieving revision 1.17
diff -d -u -r1.17 configure
--- tools/configure 6 Jun 2002 13:33:38 -0000 1.17
+++ tools/configure 2 Jul 2002 21:35:27 -0000
_at__at_ -17,22 +17,39 _at__at_
 }
 
 simul () {
+##################################################################
+# Figure out win32/x11 GUI
+#
+echo ""
+echo "Build (W)in32 or (X)11 GUI version? (X)"
+
+option=`input`;
+
+case $option in
+ [Ww])
+ simver="win32"
+ ;;
+ *)
+ simver="x11"
+ ;;
+ esac
+
  ##################################################################
  # Figure out where the firmware code is!
  #
 
- simfile="x11/lcd-x11.c" # a file to check for in the uisimulator root dir
+ simfile="$simver/lcd-$simver.c" # a file to check for in the uisimulator root dir
 
  for dir in uisimulator . .. ../uisimulator ../../uisimulator; do
    if [ -f "$dir/$simfile" ]; then
- simdir="$dir/x11"
+ simdir="$dir/$simver"
      break
    fi
  done
 
  if [ -z "$simdir" ]; then
- echo "This script couldn't find your uisimulator/x11 directory. Please enter the"
- echo "full path to your uisimulator/x11 directory here:"
+ echo "This script couldn't find your uisimulator/$simver directory. Please enter the"
+ echo "full path to your uisimulator/$simver directory here:"
 
    simdir=`input`
  fi
Received on 2002-07-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy