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
This commit is contained in:
+17
-1
@@ -265,8 +265,24 @@ function main() {
|
||||
echo_info "Compiling LTE softmodem"
|
||||
compilations \
|
||||
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
|
||||
|
||||
if [ "$UE" = 1 ] ; then
|
||||
|
||||
@@ -115,7 +115,7 @@ compilations() {
|
||||
make -j4 $2
|
||||
} > $dlog/$2.$REL.txt 2>&1
|
||||
if [ -s $3 ] ; then
|
||||
cp $3 $dbin
|
||||
cp $3 $4
|
||||
echo_success "$2 compiled"
|
||||
else
|
||||
echo_error "$2 compilation failed"
|
||||
|
||||
Reference in New Issue
Block a user