source: rubycfg_ssp/install.sh@ 283

Last change on this file since 283 was 283, checked in by nmir-saito, 6 years ago

ファイルの追加

  • Property svn:executable set to *
File size: 775 bytes
Line 
1#!/usr/bin/env bash
2set -eu
3
4SCRIPT_DIR=$(cd $(dirname $0);pwd)
5
6if [ $# -lt 1 ]; then
7 echo "usage: install.sh dest_ssp_dir"
8 exit 1
9else
10 SSPDIR=$1
11fi
12
13install -p -m 0755 ${SCRIPT_DIR}/{prc_check.trb,prc_kernel.trb,prc_sym.def} ${SSPDIR}/arch/arm_m_gcc
14install -p -m 0755 ${SCRIPT_DIR}/{alarm.trb,cyclic.trb,dataqueue.trb,eventflag.trb} ${SSPDIR}/extension
15install -p -m 0755 ${SCRIPT_DIR}/{exception.trb,interrupt.trb,kernel.trb,kernel_api.def,kernel_check.trb,kernel_sym.def,task.trb} ${SSPDIR}/kernel
16install -p -m 0755 ${SCRIPT_DIR}/{banner.trb,syssvc_sym.def} ${SSPDIR}/syssvc
17install -p -m 0755 ${SCRIPT_DIR}/{target_check.trb,target_kernel.cfg,target_kernel.trb} ${SSPDIR}/target/cq_frk_fm3_gcc
18
19(cd ${SSPDIR} && patch -p1 < ${SCRIPT_DIR}/ssp_ruby.patch)
20
21exit 0
Note: See TracBrowser for help on using the repository browser.