From 0e42ffa2a005fcc1c10f75dbb8de22066bd25bd4 Mon Sep 17 00:00:00 2001
From: gabrielC <couturier.gabriel@gmail.com>
Date: Tue, 31 Jan 2017 09:45:24 +0100
Subject: [PATCH] UE compilation for S1

---
 cmake_targets/build_oai | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cmake_targets/build_oai b/cmake_targets/build_oai
index b6f2d2c6c5..db0899d1fe 100755
--- a/cmake_targets/build_oai
+++ b/cmake_targets/build_oai
@@ -465,6 +465,11 @@ function main() {
     echo "set (CPU_AFFINITY \"${CPU_AFFINITY_FLAG_USER}\" )"      >>$cmake_file
     echo "set ( T_TRACER $T_TRACER )"              >>  $cmake_file
     echo "set (UE_AUTOTEST_TRACE $UE_AUTOTEST_TRACE)"        >>  $cmake_file
+    if [ "$UE" = 1 -a "$NOS1" = "0" ] ; then
+     echo_info "Compiling UE S1 build : enabling Linux and NETLINK"
+     echo "set (LINUX True )"              >>  $cmake_file
+     echo "set (PDCP_USE_NETLINK True )"   >>  $cmake_file
+    fi
     echo 'include(${CMAKE_CURRENT_SOURCE_DIR}/../CMakeLists.txt)' >> $cmake_file
     cd  $DIR/$lte_build_dir/build
     cmake ..
-- 
GitLab