From: Kamil Chalupnik Date: Wed, 9 May 2018 14:51:04 +0000 (+0200) Subject: doc: add shared lib building instructions for bbdev X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1518144c7340495e9755b87cffe7f5501062c134;p=dpdk.git 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 --- 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: