small update for build script that fixes bug when only calling only with -w EXMIMO option
git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7839 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -291,8 +291,8 @@ function main() {
|
||||
lte_exec=lte-softmodem
|
||||
fi
|
||||
|
||||
|
||||
if [ "$eNB" = "1" -o "$UE" = "1" ] ; then
|
||||
# first generate the CMakefile in the right directory
|
||||
if [ "$eNB" = "1" -o "$UE" = "1" -o "$HW" = "EXMIMO" ] ; then
|
||||
|
||||
# LTE softmodem compilation
|
||||
[ "$CLEAN" = "1" ] && rm -rf $DIR/$lte_build_dir/build
|
||||
@@ -310,6 +310,9 @@ function main() {
|
||||
echo 'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)' >> $cmake_file
|
||||
cd $DIR/$lte_build_dir/build
|
||||
cmake ..
|
||||
fi
|
||||
|
||||
if [ "$eNB" = "1" ] ; then
|
||||
echo_info "Compiling $lte_exec"
|
||||
compilations \
|
||||
$lte_build_dir $lte_exec \
|
||||
@@ -330,7 +333,7 @@ function main() {
|
||||
# ue_ip driver compilation
|
||||
echo_info "Compiling UE specific part"
|
||||
compilations \
|
||||
lte_build_oai ue_ip \
|
||||
$lte_build_dir ue_ip \
|
||||
CMakeFiles/ue_ip/ue_ip.ko $dbin/ue_ip.ko
|
||||
|
||||
# mkdir -p $DIR/at_commands/build
|
||||
@@ -398,10 +401,6 @@ function main() {
|
||||
if [ "$HW" = "EXMIMO" -a "$EPC" = "0" ] ; then
|
||||
|
||||
echo_info "Compiling Express MIMO 2 board drivers"
|
||||
[ "$CLEAN" = "1" ] && rm -rf $DIR/$lte_build_dir/build
|
||||
mkdir -p $DIR/$lte_build_dir/build
|
||||
cd $DIR/$lte_build_dir/build
|
||||
cmake ..
|
||||
compilations \
|
||||
$lte_build_dir openair_rf \
|
||||
CMakeFiles/openair_rf/openair_rf.ko $dbin/openair_rf.ko
|
||||
|
||||
Reference in New Issue
Block a user