Last change
on this file since 337 was 293, checked in by nmir-saito, 7 years ago |
ビルドスクリプトの追加
|
-
Property svn:executable
set to
*
|
File size:
718 bytes
|
Line | |
---|
1 | #!/usr/bin/env bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | SCRIPT_DIR=$(cd $(dirname $0);pwd)
|
---|
5 |
|
---|
6 | # build a configurator
|
---|
7 | if [ ! -d cfg-1.8.0 ]; then
|
---|
8 | if [ ! -f cfg-1.8.0.tar.gz ]; then
|
---|
9 | wget http://www.toppers.jp/download.cgi/cfg-1.8.0.tar.gz
|
---|
10 | fi
|
---|
11 | mkdir cfg-1.8.0
|
---|
12 | tar xvf cfg-1.8.0.tar.gz -C cfg-1.8.0 --strip-components=2
|
---|
13 | fi
|
---|
14 |
|
---|
15 | cd cfg-1.8.0
|
---|
16 | ./configure --with-libraries=/usr/lib/x86_64-linux-gnu/
|
---|
17 | make
|
---|
18 | cd ..
|
---|
19 |
|
---|
20 | # get SSP kernel source files
|
---|
21 | if [ ! -f ssp-1.3.0.tar.gz ]; then
|
---|
22 | wget http://www.toppers.jp/download.cgi/ssp-1.3.0.tar.gz
|
---|
23 | fi
|
---|
24 | tar xvf ssp-1.3.0.tar.gz -C ${SCRIPT_DIR} --strip-components=2
|
---|
25 |
|
---|
26 | # build a SSP kernel
|
---|
27 | cd ${SCRIPT_DIR}
|
---|
28 | ln -s ../cfg-1.8.0 cfg
|
---|
29 | mkdir build
|
---|
30 | cd build
|
---|
31 | perl ../configure -T at91skyeye_gcc
|
---|
32 | make depend
|
---|
33 | make
|
---|
34 |
|
---|
35 | exit 0
|
---|
Note:
See
TracBrowser
for help on using the repository browser.