Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
authorRyan C. Gordon <icculus@icculus.org>
Sat, 11 Apr 2015 05:58:37 +0000
changeset 9547 208ccaf7b64c
parent 9546 d997877cdad7
child 9548 2563cb778950
Some Raspberry Pi build fixes (including Raspberry Pi 2 support). Fixes Bugzilla #2879.
build-scripts/config.guess
configure
configure.in
--- a/build-scripts/config.guess	Fri Apr 10 21:40:50 2015 -0400
+++ b/build-scripts/config.guess	Sat Apr 11 05:58:37 2015 +0000
@@ -898,6 +898,7 @@
 	else
         case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
         BCM2708) MANUFACTURER=raspberry;;
+        BCM2709) MANUFACTURER=raspberry;;
         *) MANUFACTURER=unknown;;
         esac
 	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
--- a/configure	Fri Apr 10 21:40:50 2015 -0400
+++ b/configure	Sat Apr 11 05:58:37 2015 +0000
@@ -22941,7 +22941,9 @@
 
                 if test x$enable_video = xyes; then
                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
+                    # FIXME: confdefs? Not AC_DEFINE?
                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
+                    SUMMARY_video="${SUMMARY_video} rpi"
                 fi
                 ;;
             *-*-androideabi*)
@@ -22955,6 +22957,7 @@
 
                 if test x$enable_video = xyes; then
                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
+                    # FIXME: confdefs? Not AC_DEFINE?
                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
                     SUMMARY_video="${SUMMARY_video} android"
                 fi
--- a/configure.in	Fri Apr 10 21:40:50 2015 -0400
+++ b/configure.in	Sat Apr 11 05:58:37 2015 +0000
@@ -2837,7 +2837,9 @@
 
                 if test x$enable_video = xyes; then
                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
+                    # FIXME: confdefs? Not AC_DEFINE?
                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
+                    SUMMARY_video="${SUMMARY_video} rpi"
                 fi
                 ;;
             *-*-androideabi*)
@@ -2851,6 +2853,7 @@
 
                 if test x$enable_video = xyes; then
                     SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
+                    # FIXME: confdefs? Not AC_DEFINE?
                     $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
                     SUMMARY_video="${SUMMARY_video} android"
                 fi