configure
changeset 8007 f4264c673a8d
parent 8006 a906369d3f8e
child 8022 7396e3cc5337
equal deleted inserted replaced
8006:a906369d3f8e 8007:f4264c673a8d
 22100         case "$host" in
 22100         case "$host" in
 22101             *-raspberry-linux*)
 22101             *-raspberry-linux*)
 22102                 # Raspberry Pi
 22102                 # Raspberry Pi
 22103                 ARCH=linux
 22103                 ARCH=linux
 22104                 RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
 22104                 RPI_CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux"
 22105                 RPI_LDFLAGS="-L/opt/vc/lib -lbcm_host"
       
 22106                 CFLAGS="$CFLAGS $RPI_CFLAGS"
 22105                 CFLAGS="$CFLAGS $RPI_CFLAGS"
 22107                 SDL_CFLAGS="$SDL_CFLAGS $RPI_CFLAGS"
 22106                 SDL_CFLAGS="$SDL_CFLAGS $RPI_CFLAGS"
 22108                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
 22107                 EXTRA_CFLAGS="$EXTRA_CFLAGS $RPI_CFLAGS"
 22109                 SDL_LIBS="$SDL_LIBS $RPI_LDFLAGS"
 22108                 EXTRA_LDFLAGS="$EXTRA_LDFLAGS -L/opt/vc/lib -lbcm_host -ldl"
 22110 
 22109 
 22111                 if test x$enable_video = xyes; then
 22110                 if test x$enable_video = xyes; then
 22112                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
 22111                     SOURCES="$SOURCES $srcdir/src/video/raspberry/*.c"
 22113                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
 22112                     $as_echo "#define SDL_VIDEO_DRIVER_RPI 1" >>confdefs.h
 22114                 fi
 22113                 fi