build-scripts/raspberrypi-buildbot.sh
changeset 8007 f4264c673a8d
parent 7805 4f0f7b64afa5
child 8063 405d84eedad8
equal deleted inserted replaced
8006:a906369d3f8e 8007:f4264c673a8d
    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"
    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"
    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