Commit 37421779 authored by Florian Kaltenberger's avatar Florian Kaltenberger

tiny change compilations script: 4th parameter is now target directory

added lte-softmodem-noS1 target to build script


git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7559 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9e32e8fc
...@@ -265,8 +265,24 @@ function main() { ...@@ -265,8 +265,24 @@ function main() {
echo_info "Compiling LTE softmodem" echo_info "Compiling LTE softmodem"
compilations \ compilations \
lte_build_oai lte-softmodem \ lte_build_oai lte-softmodem \
lte-softmodem lte-softmodem.$REL lte-softmodem $dbin/lte-softmodem.$REL
# LTE softmodem (no S1 interface) compilation
[ "$CLEAN" = "1" ] && rm -rf $DIR/lte_noS1_build_oai/build
mkdir -p $DIR/lte_noS1_build_oai/build
cd $DIR/lte_noS1_build_oai/build
cmake ..
echo_info "Compiling LTE softmodem (w/o S1 interface)"
compilations \
lte_noS1_build_oai lte-softmodem \
lte-softmodem $dbin/lte-softmodem-nos1
compilations \
lte_noS1_build_oai nasmesh \
CMakeFiles/nasmesh/nasmesh.ko $dbin/nasmesh.ko
compilations \
lte_noS1_build_oai rb_tool \
rb_tool $dbin/rb_tool
cp $OPENAIR_DIR/cmake_targets/tools/init_nas_nos1 $dbin
fi fi
if [ "$UE" = 1 ] ; then if [ "$UE" = 1 ] ; then
......
...@@ -115,7 +115,7 @@ compilations() { ...@@ -115,7 +115,7 @@ compilations() {
make -j4 $2 make -j4 $2
} > $dlog/$2.$REL.txt 2>&1 } > $dlog/$2.$REL.txt 2>&1
if [ -s $3 ] ; then if [ -s $3 ] ; then
cp $3 $dbin cp $3 $4
echo_success "$2 compiled" echo_success "$2 compiled"
else else
echo_error "$2 compilation failed" echo_error "$2 compilation failed"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment