Commit 54ed9077 authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6217 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent db9fbc9f
...@@ -690,6 +690,13 @@ compile_epc() { ...@@ -690,6 +690,13 @@ compile_epc() {
fi fi
} }
compile_exmimo2_driver() {
cd $OPENAIR_TARGETS/ARCH/EXMIMO/DRIVER/eurecom && make clean && make || exit 1
cd $OPENAIR_TARGETS/ARCH/EXMIMO/USERSPACE/OAI_FW_INIT && make clean && make || exit 1
# TO DO CHECKS...
}
compile_ltesoftmodem() { compile_ltesoftmodem() {
cd $OPENAIR_TARGETS/RT/USER cd $OPENAIR_TARGETS/RT/USER
if [ -f Makefile ]; then if [ -f Makefile ]; then
......
...@@ -415,6 +415,9 @@ build_enb(){ ...@@ -415,6 +415,9 @@ build_enb(){
check_for_ltesoftmodem_executable check_for_ltesoftmodem_executable
echo_info "7.1 finished ltesoftmodem target: check the installation log file bin/install_log.txt" echo_info "7.1 finished ltesoftmodem target: check the installation log file bin/install_log.txt"
if [ $HW = "EXMIMO" ]; then
compile_exmimo2_driver
fi
fi fi
if [ $TARGET = "OAISIM" ]; then if [ $TARGET = "OAISIM" ]; then
echo "################ compile_oaisim #################" >> bin/install_log.txt echo "################ compile_oaisim #################" >> bin/install_log.txt
...@@ -436,7 +439,6 @@ build_enb(){ ...@@ -436,7 +439,6 @@ build_enb(){
check_for_pbchsim_executable check_for_pbchsim_executable
check_for_mbmssim_executable check_for_mbmssim_executable
echo_info "7.3 finished unisim target: check the installation log file bin/install_log.txt" echo_info "7.3 finished unisim target: check the installation log file bin/install_log.txt"
fi fi
fi fi
...@@ -651,7 +653,10 @@ esac ...@@ -651,7 +653,10 @@ esac
############################################ ############################################
echo_info "11. Running ... To be done" echo_info "11. Running ... To be done"
if [ $TARGET = "SOFTMODEM" ]; then if [ $TARGET = "SOFTMODEM" ]; then
echo_info "############# running ltesoftmodem #############" if [ $HW = "EXMIMO" ]; then
bash $OPENAIR_TARGETS/RT/USER/init_exmimo2.sh
fi
echo "############# running ltesoftmodem #############"
$OPENAIR_TARGETS/RT/USER/lte-softmodem $OPENAIR_TARGETS/RT/USER/lte-softmodem
cd $OPENAIR_TARGETS/RT/USER;bash ./init_exmimo2.sh; cd $OPENAIR_TARGETS/RT/USER;bash ./init_exmimo2.sh;
if [ $RUN_GDB -eq 0 ]; then if [ $RUN_GDB -eq 0 ]; then
......
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