From 1518144c7340495e9755b87cffe7f5501062c134 Mon Sep 17 00:00:00 2001 From: Kamil Chalupnik Date: Wed, 9 May 2018 16:51:04 +0200 Subject: [PATCH] doc: add shared lib building instructions for bbdev Added a note to enable building as a shared lib. Signed-off-by: Kamil Chalupnik Acked-by: Amr Mokhtar --- doc/guides/bbdevs/turbo_sw.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/bbdevs/turbo_sw.rst b/doc/guides/bbdevs/turbo_sw.rst index 7448dc997b..914b9724b3 100644 --- a/doc/guides/bbdevs/turbo_sw.rst +++ b/doc/guides/bbdevs/turbo_sw.rst @@ -98,6 +98,14 @@ The following instructions should be followed in this exact order: cd /FlexRAN-1.4.0/SDK-R1.4.0/sdk/ ./create-makefiles-linux.sh +#. If build as a shared library is required, then add ``"-fPIC"`` option to file + ``/FlexRAN-1.4.0/SDK-R1.4.0/sdk/cmake/intel-compile-options.cmake`` + as follows: + + .. code-block:: console + + add_compile_options("-fPIC") + #. A build folder is generated in this form ``build--``, enter that folder and install: -- 2.20.1