mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-09 18:55:32 +00:00
Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
Fixes Bugzilla #2879.
This commit is contained in:
parent
6ae7a20647
commit
1a73b4eba2
1
build-scripts/config.guess
vendored
1
build-scripts/config.guess
vendored
|
@ -898,6 +898,7 @@ EOF
|
||||||
else
|
else
|
||||||
case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
BCM2708) MANUFACTURER=raspberry;;
|
BCM2708) MANUFACTURER=raspberry;;
|
||||||
|
BCM2709) MANUFACTURER=raspberry;;
|
||||||
*) MANUFACTURER=unknown;;
|
*) MANUFACTURER=unknown;;
|
||||||
esac
|
esac
|
||||||
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||||
|
|
3
configure
vendored
3
configure
vendored
|
@ -22941,7 +22941,9 @@ case "$host" in
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
||||||
|
# FIXME: confdefs? Not AC_DEFINE?
|
||||||
$as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
|
$as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
|
||||||
|
SUMMARY_video="${SUMMARY_video} rpi"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-androideabi*)
|
*-*-androideabi*)
|
||||||
|
@ -22955,6 +22957,7 @@ case "$host" in
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
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
|
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
||||||
SUMMARY_video="${SUMMARY_video} android"
|
SUMMARY_video="${SUMMARY_video} android"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -2837,7 +2837,9 @@ case "$host" in
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
|
||||||
|
# FIXME: confdefs? Not AC_DEFINE?
|
||||||
$as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
|
$as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
|
||||||
|
SUMMARY_video="${SUMMARY_video} rpi"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*-*-androideabi*)
|
*-*-androideabi*)
|
||||||
|
@ -2851,6 +2853,7 @@ case "$host" in
|
||||||
|
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
SOURCES="$SOURCES $srcdir/src/core/android/*.c $srcdir/src/video/android/*.c"
|
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
|
$as_echo "#define SDL_VIDEO_DRIVER_ANDROID 1" >>confdefs.h
|
||||||
SUMMARY_video="${SUMMARY_video} android"
|
SUMMARY_video="${SUMMARY_video} android"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue