Commit aa27146a authored by Lionel Gauthier's avatar Lionel Gauthier

Ok for build

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4369 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 0f333f9d
......@@ -43,6 +43,7 @@ fi
###############################
# COMPILE LTE_RAL_UE
###############################
echo_success "Compiling Radio Access Layer UE (RAL)"
cd $OPENAIR3_DIR/RAL-LTE/LTE_RAL_UE
make all
......@@ -50,6 +51,7 @@ make all
###############################
# COMPILE LTE_RAL_ENB
###############################
echo_success "Compiling Radio Access Layer eNB (RAL)"
cd $OPENAIR3_DIR/RAL-LTE/LTE_RAL_ENB
make all
......@@ -57,6 +59,7 @@ make all
###############################
# COMPILE rrm_std_cellular
###############################
echo_success "Compiling RRM"
cd $OPENAIR_TARGETS/SIMU/USER
make rrm_std_cellular
if [[ $? -eq 2 ]] ; then
......@@ -67,6 +70,7 @@ fi
###############################
# COMPILE IP kernel drivers
###############################
echo_success "Compiling IP Drivers"
cd $OPENAIR2_DIR
make naslite_netlink_ether.ko
cd $OPENAIR2_DIR/NAS/DRIVER/LITE/RB_TOOL/
......
......@@ -160,7 +160,11 @@ test_install_asn1c_4_rrc_cellular() {
if [ -d $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c ]; then
if [ -x $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c/asn1c/asn1c ]; then
if [ -x /usr/local/bin/asn1c ]; then
diff /usr/local/bin/asn1c $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c/asn1c/asn1c || return 0
diff /usr/local/bin/asn1c $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c/asn1c/asn1c >/dev/null 2>&1;
if [ $? -eq 0 ]; then
echo_success "asn1c for RRC cellular installed"
return 0
fi
fi
echo_warning "Installing asn1c for RRC cellular..."
cd $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c
......@@ -171,7 +175,6 @@ test_install_asn1c_4_rrc_cellular() {
echo_warning "asn1c for RRC cellular is not installed in $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/. Installing it"
cd $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c
svn co https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk asn1c
fi
echo_warning "Configuring and building and installing asn1c for RRC cellular..."
cd $OPENAIR2_DIR/RRC/LITE/MESSAGES/asn1c/asn1c
......@@ -315,6 +318,7 @@ check_for_root_rights() {
###########################################################
declare -x OPENAIR_DIR=""
declare -x OPENAIR_HOME=""
declare -x OPENAIR1_DIR=""
declare -x OPENAIR2_DIR=""
declare -x OPENAIR3_DIR=""
......@@ -324,6 +328,7 @@ declare -x OPENAIR_TARGETS=""
set_openair
cecho "OPENAIR_DIR = $OPENAIR_DIR" $green
cecho "OPENAIR_HOME = $OPENAIR_HOME" $green
cecho "OPENAIR1_DIR = $OPENAIR1_DIR" $green
cecho "OPENAIR2_DIR = $OPENAIR2_DIR" $green
cecho "OPENAIR3_DIR = $OPENAIR3_DIR" $green
......
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