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