Last change
on this file since 324 was 292, checked in by nmir-saito, 7 years ago |
ビルド用スクリプトファイルを追加
|
-
Property svn:executable
set to
*
|
File size:
823 bytes
|
Rev | Line | |
---|
[292] | 1 | #!/usr/bin/env bash
|
---|
| 2 | set -eu
|
---|
| 3 |
|
---|
| 4 | SCRIPT_DIR=$(cd $(dirname $0);pwd)
|
---|
| 5 |
|
---|
| 6 | if [ ! -e asp3 ]; then
|
---|
| 7 | if [ ! -e asp3-3.1.0.tar.gz ]; then
|
---|
| 8 | curl https://www.toppers.jp/download.cgi/asp3-3.1.0.tar.gz -o asp3-3.1.0.tar.gz
|
---|
| 9 | fi
|
---|
| 10 | tar xvf asp3-3.1.0.tar.gz
|
---|
| 11 | fi
|
---|
| 12 |
|
---|
| 13 | if [ ! -e ssp_ruby ]; then
|
---|
| 14 | if [ ! -e ssp-1.3.0.tar.gz ]; then
|
---|
| 15 | curl http://www.toppers.jp/download.cgi/ssp-1.3.0.tar.gz -o ssp-1.3.0.tar.gz
|
---|
| 16 | fi
|
---|
| 17 | mkdir ssp_ruby
|
---|
| 18 | tar xvf ssp-1.3.0.tar.gz -C ssp_ruby --strip-components 2
|
---|
| 19 | fi
|
---|
| 20 |
|
---|
| 21 | for i in `find ssp_ruby -type f` ; do nkf --overwrite --oc=UTF-8 $i; done
|
---|
| 22 | cp -a asp3/sample/Makefile ssp_ruby/sample
|
---|
| 23 |
|
---|
| 24 | ${SCRIPT_DIR}/install.sh ssp_ruby
|
---|
| 25 |
|
---|
| 26 | cd ssp_ruby
|
---|
| 27 | ln -s ../asp3/configure.rb configure.rb
|
---|
| 28 | ln -s ../asp3/cfg cfg
|
---|
| 29 |
|
---|
| 30 | # build a kernel with the ruby configurator
|
---|
| 31 | mkdir build
|
---|
| 32 | cd build
|
---|
| 33 | ../configure.rb -T cq_frk_fm3_gcc -w
|
---|
| 34 | make
|
---|
| 35 |
|
---|
| 36 | exit 0
|
---|
| 37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.