]> rtime.felk.cvut.cz Git - orte.git/blob - switch2standalone
Changes to Makefile.rules to be more cross-compile friendly.
[orte.git] / switch2standalone
1 #!/bin/bash
2
3 # Script to modify Makefile.rules for standalone build
4 # without OCERA framework
5
6 if [ ! -e Makefile.rules-ocera ] ; then
7   mv Makefile.rules Makefile.rules-ocera
8 fi
9
10 # Commentout definition of OCERA location
11 sed -e 's/^OCERA_DIR := /#OCERA_DIR := /' <Makefile.rules-ocera >Makefile.rules
12
13 # Prepare "config.omk-default" file, user overrides should go into "config.omk"
14 make default-config
15
16 echo 
17 echo 'To modify required configuration options, create "config.omk" file'
18 echo 'and add modified lines from "config.omk-default" file into it'
19 echo 
20 echo 'To build project, call simple "make"'
21 echo
22 echo 'GNU make program version 3.81beta1 or newer is required to build project'
23 echo 'check by "make --version" command' 
24 echo