|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v5 2/4] doc: Add section about symbol exporting
Hi, Reviewed-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> There's just one typo which I will fix when pushing, see below. On 09/03/2018 02:17 PM, Simon Kuenzer wrote: From: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> This patch additionally adds some cross-links between application, internal library, and external library development guides. Signed-off-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- doc/guides/developers-app.rst | 36 +++++++++++++++++++++++++++++++++- doc/guides/developers-external-lib.rst | 9 +++++---- doc/guides/developers-internal-lib.rst | 25 +++++++++++++---------- 3 files changed, 55 insertions(+), 15 deletions(-) diff --git a/doc/guides/developers-app.rst b/doc/guides/developers-app.rst index 12e4739..d3e3a34 100644 --- a/doc/guides/developers-app.rst +++ b/doc/guides/developers-app.rst @@ -13,7 +13,7 @@ and rely on Unikraft's build system to build the necessary objects with correct and compatible compiler and linker flags).In greater detail, in order for an application to work with Unikraft-you need to provide at least the following three files: +you need to provide at least the following four files:* **Makefile**: Used to specify where the main Unikraft repo is with "you*r* program entry point to this file" +For the sake of file structure consistency, it is not recommended to +change the default path of this symbols file, unless it is really necessary +(e.g., multiple libraries are sharing the same base folder, this symbols file +is part of a remotely fetched archive). You can override it by defining the +``APPNAME_EXPORTS`` variable. The path must be either absolute (you can refer +with ``$(APPNAME_BASE)`` to the base directory of your application sources) or +relative to the Unikraft sources directory. + + ============================ Make Targets ============================ diff --git a/doc/guides/developers-external-lib.rst b/doc/guides/developers-external-lib.rst index 518c1fe..fb76bd8 100644 --- a/doc/guides/developers-external-lib.rst +++ b/doc/guides/developers-external-lib.rst @@ -2,10 +2,11 @@ External Library Development **************************** Porting an external library (e.g., openssl) isn't too different from -porting an application: in this case, no Makefile is needed, and -Makefile.uk follows the same format described above except that for naming -``lib`` is prefixed instead of ``app`` (``lib[name]`` instead of ``app[name]``; -e.g., ``libnewlib`` for ``newlib``). +porting an :doc:`application <developers-app>`: in this case, no +Makefile is needed, and Makefile.uk follows the same format described +above except that for naming ``lib`` is prefixed instead of ``app`` +(``lib[name]`` instead of ``app[name]``; e.g., ``libnewlib`` for +``newlib``).Another difference relates to Config.uk: You surround your settings with``menuconfig`` that enables selecting and deselecting the library. The name of diff --git a/doc/guides/developers-internal-lib.rst b/doc/guides/developers-internal-lib.rst index e1d3037..80dd32c 100644 --- a/doc/guides/developers-internal-lib.rst +++ b/doc/guides/developers-internal-lib.rst @@ -1,8 +1,8 @@ **************************** Internal Library Development **************************** -Unikraft libraries are no different than external ones, except for the -fact that +Unikraft libraries are no different than :doc:`external ones +<developers-external-lib>`, except for the fact that1. they are part of the main Unikraft repo and live under the -- Dr. Florian Schmidt フローリアン・シュミット Research Scientist, Systems and Machine Learning Group NEC Laboratories Europe Kurfürsten-Anlage 36, D-69115 Heidelberg Tel. +49 (0)6221 4342-265 Fax: +49 (0)6221 4342-155 e-mail: florian.schmidt@xxxxxxxxx ============================================================ Registered at Amtsgericht Mannheim, Germany, HRB728558 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |