build-scripts/raspberrypi-buildbot.sh
changeset 8722 9203a56e7ffc
parent 8685 dc6bb5950415
equal deleted inserted replaced
8721:d73e451f1dc5 8722:9203a56e7ffc
    40 
    40 
    41 SYSROOT="/opt/rpi-sysroot"
    41 SYSROOT="/opt/rpi-sysroot"
    42 export CC="ccache /opt/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc --sysroot=$SYSROOT -I$SYSROOT/opt/vc/include -I$SYSROOT/usr/include -I$SYSROOT/opt/vc/include/interface/vcos/pthreads -I$SYSROOT/opt/vc/include/interface/vmcs_host/linux -L$SYSROOT/opt/vc/lib"
    42 export CC="ccache /opt/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc --sysroot=$SYSROOT -I$SYSROOT/opt/vc/include -I$SYSROOT/usr/include -I$SYSROOT/opt/vc/include/interface/vcos/pthreads -I$SYSROOT/opt/vc/include/interface/vmcs_host/linux -L$SYSROOT/opt/vc/lib"
    43 # -L$SYSROOT/usr/lib/arm-linux-gnueabihf"
    43 # -L$SYSROOT/usr/lib/arm-linux-gnueabihf"
    44 # !!! FIXME: shouldn't have to --disable-* things here.
    44 # !!! FIXME: shouldn't have to --disable-* things here.
    45 ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd --disable-video-mir
    45 ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland
    46 $MAKE
    46 $MAKE
    47 $MAKE install
    47 $MAKE install
    48 # Fix up a few things to a real install path on a real Raspberry Pi...
    48 # Fix up a few things to a real install path on a real Raspberry Pi...
    49 perl -w -pi -e "s#$PWD/rpi-sdl2-installed#/usr/local#g;" ./rpi-sdl2-installed/lib/libSDL2.la ./rpi-sdl2-installed/lib/pkgconfig/sdl2.pc ./rpi-sdl2-installed/bin/sdl2-config
    49 perl -w -pi -e "s#$PWD/rpi-sdl2-installed#/usr/local#g;" ./rpi-sdl2-installed/lib/libSDL2.la ./rpi-sdl2-installed/lib/pkgconfig/sdl2.pc ./rpi-sdl2-installed/bin/sdl2-config
    50 mkdir -p ./usr
    50 mkdir -p ./usr