build-scripts/raspberrypi-buildbot.sh
changeset 8063 405d84eedad8
parent 8007 f4264c673a8d
child 8587 d913fb15b69a
equal deleted inserted replaced
8062:4fc5f66d63cc 8063:405d84eedad8
    37 rm -rf $BUILDBOTDIR
    37 rm -rf $BUILDBOTDIR
    38 mkdir -p $BUILDBOTDIR
    38 mkdir -p $BUILDBOTDIR
    39 pushd $BUILDBOTDIR
    39 pushd $BUILDBOTDIR
    40 
    40 
    41 SYSROOT="/opt/rpi-sysroot"
    41 SYSROOT="/opt/rpi-sysroot"
    42 export CC="/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
    45 ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd
    46 $MAKE
    46 $MAKE
    47 $MAKE install
    47 $MAKE install