Commit 49969199 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Update instructions: use Debian stretch, build 4.11.2

parent dca8b7b6
......@@ -4,23 +4,23 @@
# Leon2/Leon3/NGMP BSPs.
#
# To have a reproducible setup, it would be prudent if you
# executed this script under a Debian jessie chroot,
# executed this script under a Debian stretch chroot,
# bootstrapped via the following:
#
# mkdir /opt/jessie-chroot
# debootstrap jessie /opt/jessie-chroot
# mount -t proc none /opt/jessie-chroot/proc/
# mount -t sysfs none /opt/jessie-chroot/sys/
# mount -o bind /dev /opt/jessie-chroot/dev/
# mount -o bind /dev/pts /opt/jessie-chroot/dev/pts/
# chroot /opt/jessie-chroot
# mkdir /opt/stretch-chroot
# debootstrap stretch /opt/stretch-chroot
# mount -t proc none /opt/stretch-chroot/proc/
# mount -t sysfs none /opt/stretch-chroot/sys/
# mount -o bind /dev /opt/stretch-chroot/dev/
# mount -o bind /dev/pts /opt/stretch-chroot/dev/pts/
# chroot /opt/stretch-chroot
# apt-get update
# apt-get build-dep binutils gcc g++ gdb unzip git python2.7-dev pax
# apt-get install flex bison make texinfo binutils gcc g++ gdb unzip git python2.7-dev pax apt-get install libncurses5-dev
#
# Then chroot inside it and run this script:
#
# chroot /opt/jessie-chroot
# /path/to/build.rtems.4.12.sh
# chroot /opt/stretch-chroot
# /path/to/build.rtems.4.11.2.smp.sh
# Stop on any error
......@@ -46,12 +46,12 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
rm -rf ${RTPREFIX}
[ ! -d $RSB ] && {
cd ~/development/rtems/src/
git clone git://git.rtems.org/rtems-source-builder.git rtems-source-builder-${DATE}
git clone https://github.com/RTEMS/rtems-source-builder.git rtems-source-builder-${DATE}
}
cd $RSB
# Get the 4.11 branch
git checkout -f 4.11
git checkout -f 4.11.2
# Verify that we have all we need to build
source-builder/sb-check
......@@ -91,7 +91,7 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
[ ! -d rtems-git ] && {
git clone https://github.com/RTEMS/rtems.git rtems-git
cd rtems-git
git checkout -f 4.11
git checkout -f 4.11.2
cd ..
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment