Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
54a22acd
Commit
54a22acd
authored
Jul 14, 2017
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update instructions: use Debian stretch, build RTEMS/master
parent
88765fe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
OAR/contrib/build.rtems.4.12.sh
OAR/contrib/build.rtems.4.12.sh
+20
-16
No files found.
OAR/contrib/build.rtems.4.12.sh
View file @
54a22acd
...
@@ -4,22 +4,22 @@
...
@@ -4,22 +4,22 @@
# Leon2/Leon3/NGMP BSPs.
# Leon2/Leon3/NGMP BSPs.
#
#
# To have a reproducible setup, it would be prudent if you
# 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:
# bootstrapped via the following:
#
#
# mkdir /opt/
jessie
-chroot
# mkdir /opt/
stretch
-chroot
# debootstrap
jessie /opt/jessie
-chroot
# debootstrap
stretch /opt/stretch
-chroot
# mount -t proc none /opt/
jessie
-chroot/proc/
# mount -t proc none /opt/
stretch
-chroot/proc/
# mount -t sysfs none /opt/
jessie
-chroot/sys/
# mount -t sysfs none /opt/
stretch
-chroot/sys/
# mount -o bind /dev /opt/
jessie
-chroot/dev/
# mount -o bind /dev /opt/
stretch
-chroot/dev/
# mount -o bind /dev/pts /opt/
jessie
-chroot/dev/pts/
# mount -o bind /dev/pts /opt/
stretch
-chroot/dev/pts/
# chroot /opt/
jessie
-chroot
# chroot /opt/
stretch
-chroot
# apt-get update
# 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:
# Then chroot inside it and run this script:
#
#
# chroot /opt/
jessie
-chroot
# chroot /opt/
stretch
-chroot
# /path/to/build.rtems.4.12.sh
# /path/to/build.rtems.4.12.sh
...
@@ -46,12 +46,14 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
...
@@ -46,12 +46,14 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
rm
-rf
${
RTPREFIX
}
rm
-rf
${
RTPREFIX
}
[
!
-d
$RSB
]
&&
{
[
!
-d
$RSB
]
&&
{
cd
~/development/rtems/src/
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
cd
$RSB
# Or whatever else you fancy - 4.11, etc
# What tag/branch to work on? By default this will be in the master branch,
git checkout
-f
5ff2c0aa94a6fdb8b2b93fd7b16ea4284f6df5bf
# but you can switch - to e.g. 4.11.2:
#
# git checkout -f 4.11.2
# Verify that we have all we need to build
# Verify that we have all we need to build
source-builder/sb-check
source-builder/sb-check
...
@@ -89,11 +91,13 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
...
@@ -89,11 +91,13 @@ BUILD_LOG=~/rtems.build.logs/${DATE}.log
cd
..
cd
..
[
!
-d
rtems-git
]
&&
{
[
!
-d
rtems-git
]
&&
{
git clone https://github.com/RTEMS/rtems.git rtems-git
git clone https://github.com/RTEMS/rtems.git rtems-git
# cd rtems-git
# git checkout -f 4.11.2
# cd ..
}
}
cd
rtems-git
#
Or whatever else you fancy - 4.11, etc
#
Build RTEMS
git checkout
-f
271690eb8838f2af30593584a87cb7595bdbdc6b
cd
rtems-git
./bootstrap
./bootstrap
cd
..
cd
..
rm
-rf
build.
${
DATE
}
rm
-rf
build.
${
DATE
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment