Last change
on this file since 460 was 404, checked in by nmir-saito, 4 years ago |
modify build_ssp3a.sh to remove the part that calls setup_tools.sh
|
-
Property svn:executable
set to
*
-
Property svn:mime-type
set to
text/plain; charset=utf-8
|
File size:
926 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | if [ ! -v SCRIPTS_DIR ]; then
|
---|
5 | SCRIPTS_DIR=$(cd $(dirname $0);pwd)
|
---|
6 | fi
|
---|
7 |
|
---|
8 | if [ ! -v WORK_DIR ]; then
|
---|
9 | WORK_DIR=$SCRIPTS_DIR/workdir
|
---|
10 | fi
|
---|
11 |
|
---|
12 | SSP3_FILE=ssp3_arm_gcc-20190902.tar.gz
|
---|
13 | SSP3_DOWNLOAD_URL="https://www.toppers.jp/MEMBERS/early/third/$SSP3_FILE"
|
---|
14 | SSP3_DIR=$WORK_DIR/ssp3
|
---|
15 | SSP3_BUILD_DIR=$SSP3_DIR/build
|
---|
16 |
|
---|
17 | : "confirm username and password" && {
|
---|
18 | read -p "username for http://www.toppers.jp/MEMBERS): " user
|
---|
19 | read -s -p "password: " pass
|
---|
20 | echo
|
---|
21 | }
|
---|
22 |
|
---|
23 | : "download ssp3 kernel file" && {
|
---|
24 | mkdir -p $WORK_DIR
|
---|
25 | cd $WORK_DIR
|
---|
26 | wget $SSP3_DOWNLOAD_URL --http-user=$user --http-password=$pass
|
---|
27 | }
|
---|
28 |
|
---|
29 | : "setup files" && {
|
---|
30 | mkdir -p $SSP3_DIR
|
---|
31 | tar xvf $SSP3_FILE -C $SSP3_DIR --strip-components=2
|
---|
32 | cd $SSP3_DIR
|
---|
33 | sed -i -e 's/\#COPTS/COPTS/g' target/ct11mpcore_gcc/Makefile.target
|
---|
34 | }
|
---|
35 |
|
---|
36 | : "build kernel" && {
|
---|
37 | mkdir -p $SSP3_BUILD_DIR
|
---|
38 | cd $SSP3_BUILD_DIR
|
---|
39 | $SSP3_DIR/configure.rb -T ct11mpcore_gcc
|
---|
40 | make
|
---|
41 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.