FreeCalypso > hg > freecalypso-tools
comparison loadtools/install-helpers.sh @ 0:e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Jun 2016 00:13:35 +0000 |
parents | |
children | b301b75de0e0 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e7502631a0f9 |
---|---|
1 #!/bin/sh | |
2 # A functional installation of FreeCalypso loadtools consists of not only | |
3 # the fc-* host binaries, but also the loadagent and compalstage target | |
4 # binaries and some script and help files. This shell script is | |
5 # responsible for installing the latter. | |
6 | |
7 instdir=/usr/local/share/freecalypso | |
8 set -ex | |
9 mkdir -p $instdir | |
10 | |
11 # The target-binaries directory may or may not be present. Loadagent and | |
12 # compalstage are built in the target-utils tree with the ARM7 toolchain, | |
13 # hence having prebuilt binaries would be an important convenience for | |
14 # end user releases. But if one is working with just a source tree, with | |
15 # nothing prebuilt, there will be no target-binaries directory here; | |
16 # one needs to have the ARM7 toolchain installed, then build target-utils, | |
17 # then do a 'make install' there. | |
18 | |
19 if [ -d target-binaries ] | |
20 then | |
21 install -c target-binaries/* $instdir | |
22 fi | |
23 | |
24 # scripts and loadtool.help should always be present | |
25 install -c scripts/* loadtool.help $instdir |