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 9547208ccaf7b64c
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
     1.1 --- a/build-scripts/config.guess	Fri Apr 10 21:40:50 2015 -0400
     1.2 +++ b/build-scripts/config.guess	Sat Apr 11 05:58:37 2015 +0000
     1.3 @@ -898,6 +898,7 @@
     1.4  	else
     1.5          case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
     1.6          BCM2708) MANUFACTURER=raspberry;;
     1.7 +        BCM2709) MANUFACTURER=raspberry;;
     1.8          *) MANUFACTURER=unknown;;
     1.9          esac
    1.10  	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
     2.1 --- a/configure	Fri Apr 10 21:40:50 2015 -0400
     2.2 +++ b/configure	Sat Apr 11 05:58:37 2015 +0000
     2.3 @@ -22941,7 +22941,9 @@
     2.4  
     2.5                  if test x$enable_video = xyes; then
     2.6                      SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
     2.7 +                    # FIXME: confdefs? Not AC_DEFINE?
     2.8                      $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
     2.9 +                    SUMMARY_video="${SUMMARY_video} rpi"
    2.10                  fi
    2.11                  ;;
    2.12              *-*-androideabi*)
    2.13 @@ -22955,6 +22957,7 @@
    2.14  
    2.15                  if test x$enable_video = xyes; then
    2.16                      SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
    2.17 +                    # FIXME: confdefs? Not AC_DEFINE?
    2.18                      $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
    2.19                      SUMMARY_video="${SUMMARY_video} android"
    2.20                  fi
     3.1 --- a/configure.in	Fri Apr 10 21:40:50 2015 -0400
     3.2 +++ b/configure.in	Sat Apr 11 05:58:37 2015 +0000
     3.3 @@ -2837,7 +2837,9 @@
     3.4  
     3.5                  if test x$enable_video = xyes; then
     3.6                      SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
     3.7 +                    # FIXME: confdefs? Not AC_DEFINE?
     3.8                      $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
     3.9 +                    SUMMARY_video="${SUMMARY_video} rpi"
    3.10                  fi
    3.11                  ;;
    3.12              *-*-androideabi*)
    3.13 @@ -2851,6 +2853,7 @@
    3.14  
    3.15                  if test x$enable_video = xyes; then
    3.16                      SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
    3.17 +                    # FIXME: confdefs? Not AC_DEFINE?
    3.18                      $as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
    3.19                      SUMMARY_video="${SUMMARY_video} android"
    3.20                  fi