3 # Script to modify Makefile.rules for standalone build
4 # without OCERA framework
6 if [ ! -e Makefile.rules-ocera ] ; then
7 cp Makefile.rules Makefile.rules-ocera
10 if [ -e OCERA_TOP_DIR ] ; then
11 mv -f OCERA_TOP_DIR OCERA_TOP_DIR-ocera
14 # Commentout definition of OCERA location
15 #sed -e 's/^OCERA_DIR := /#OCERA_DIR := /' <Makefile.rules-ocera >Makefile.rules
17 # Prepare "config.omk-default" file, user overrides should go into "config.omk"
21 echo 'To modify required configuration options, create "config.omk" file'
22 echo 'and add modified lines from "config.omk-default" file into it'
24 echo 'To build project, call simple "make"'
26 echo 'GNU make program version 3.81beta1 or newer is required to build project'
27 echo 'check by "make --version" command'