[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH 0/8] Process linker script and library specific Makefile.rules



The patch series provides the following features:
1. Each Unikraft library can extend the Unikraft build system providing a
   library specific Makefile.rules. The library Makefile.rules provides
   build rules specific to a library.

2. Unikraft current build system allows us to add extra linker script from
   a library as well as add a default linker script for a specific platform.
   The patch series from 2-8 allows the library developer to add the linker
   script as a source file and the linker scripts are automatically added to
   the platform specific linker command.

3. To differentiate the platform specific library from the common library a 
   PLATLIBNAME_PLATS is introduced to generate library rule specific to a
   platform.

3. For each platform the default linker script is defined using the variable
   UK_PLAT_*_DEF. 

4. An additional print-lds rule to print the linker scripts processed during
   the build.

This patch is based on the patch "build: Include Makefile.rules after .config 
is loaded".


Sharan Santhanam (8):
  build: Support Makefile.rules for each library
  build: Introduce PLATS variable for platform lib
  build: Introduce default linker script variable
  build: Use UK_PLAT_*_DEF_LDS in linker flag
  build: Automatically preprocess *.ldS
  build: Print linker script files
  build: Use linker script source to add the LDFLAGS
  build: Add *.ld files as source to library

 Makefile                           | 21 +++++++++++++++++-
 doc/guides/developers-app.rst      |  8 ++-----
 doc/guides/developers-platform.rst | 16 +++++++++-----
 lib/ukdebug/Makefile.uk            |  2 +-
 lib/vfscore/Makefile.uk            |  2 +-
 plat/kvm/Linker.uk                 |  9 ++++----
 plat/kvm/Makefile.uk               | 15 ++++++++++---
 plat/linuxu/Linker.uk              |  6 ++---
 plat/linuxu/Makefile.uk            |  8 +++----
 plat/xen/Linker.uk                 | 10 ++++-----
 plat/xen/Makefile.uk               | 16 +++++++++++---
 support/build/Makefile.rules       | 45 ++++++++++++++++++++++++++++++++++----
 12 files changed, 115 insertions(+), 43 deletions(-)

-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.