source: ssp_arm_gcc/trunk/build_ssp_skyeye.sh@ 293

Last change on this file since 293 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
2set -eu
3
4SCRIPT_DIR=$(cd $(dirname $0);pwd)
5
6# build a configurator
7if [ ! -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
13fi
14
15cd cfg-1.8.0
16./configure --with-libraries=/usr/lib/x86_64-linux-gnu/
17make
18cd ..
19
20# get SSP kernel source files
21if [ ! -f ssp-1.3.0.tar.gz ]; then
22 wget http://www.toppers.jp/download.cgi/ssp-1.3.0.tar.gz
23fi
24tar xvf ssp-1.3.0.tar.gz -C ${SCRIPT_DIR} --strip-components=2
25
26# build a SSP kernel
27cd ${SCRIPT_DIR}
28ln -s ../cfg-1.8.0 cfg
29mkdir build
30cd build
31perl ../configure -T at91skyeye_gcc
32make depend
33make
34
35exit 0
Note: See TracBrowser for help on using the repository browser.