Last change
on this file since 118 was 114, checked in by DHERBOMEZ Gérald, 9 years ago |
- add output to Alasca Player component (come from cityvip project)
- Delete the force rebuild in build_linux.sh script
|
-
Property svn:executable
set to
*
|
File size:
653 bytes
|
Rev | Line | |
---|
[45] | 1 | #!/bin/bash
|
---|
[5] | 2 |
|
---|
| 3 | set -e
|
---|
| 4 |
|
---|
[45] | 5 | if [ -z $PACPUS_ROOT ]; then
|
---|
| 6 | echo PACPUS_ROOT environment variable does not exist, please set it the folder in which you have installed pacpusframework.
|
---|
| 7 | else
|
---|
[5] | 8 |
|
---|
[99] | 9 | # the following line will create a folder like: build_opt_pacpus_0.2.0_
|
---|
[45] | 10 | BUILD_DIR=./build${PACPUS_ROOT////_}
|
---|
| 11 | echo Your files will be built in: $BUILD_DIR
|
---|
[5] | 12 |
|
---|
[45] | 13 | if [ -z $1 ]; then J="1"; else J="$1";
|
---|
| 14 | fi
|
---|
[5] | 15 |
|
---|
[45] | 16 | if [ "$TARGET_PREFIX" == "arm-poky-linux-gnueabi-" ]; then
|
---|
| 17 | echo The environment is configured for poky_arm
|
---|
| 18 | exit 1
|
---|
| 19 | fi
|
---|
[5] | 20 |
|
---|
[45] | 21 | if [ -d "$BUILD_DIR" ]; then
|
---|
[114] | 22 | cd $BUILD_DIR
|
---|
| 23 | else
|
---|
| 24 | mkdir $BUILD_DIR
|
---|
| 25 | cd $BUILD_DIR
|
---|
[45] | 26 | fi
|
---|
[5] | 27 |
|
---|
[114] | 28 | cmake ../..
|
---|
[5] | 29 |
|
---|
[45] | 30 | make -j$J
|
---|
[114] | 31 | make install
|
---|
[45] | 32 |
|
---|
| 33 | fi
|
---|
| 34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.