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

[Minios-devel] [UNIKRAFT PATCH 0/8] Improvements to build system



This patch introduces some handy improvements to the build system:
 - Support for building linker scripts with GCC's pre-processor
 - Increased build support for filename extensions for Assembler
   and C++ source files.

Changes since v1:
 - Merge lds2dep and obj2dep into single function, called out2dep.
   This avoids that build_cmd_fixdep has to have another parameter
   for usage
 - $(RM) is not deleting recursively as default
 - Register buildrule_lds to the build rules wrapper buildrule

Changes since v2:
 - Correct line breaks in touched Linker.uk files (Xen, KVM)

Simon Kuenzer (8):
  plat/kvm, plat/xen: Add linker script as build dependency
  plat/kvm, plat/xen: Rename linker script file name extension to '.lds'
  build/Makefile.rules: Add variant argument to src2dep function
  build/Makefile.rules: Rename fixdep_and_cmd to build_cmd_fixdep
  build/Makefile.rules: Add support for linker scripts requiring the
    pre-processor '*.lds.S'
  build/Makefile.rules: Complete list of supported source file
    extensions
  build/Makefile.rules: Use $(RM) within build_cmd_fixdep
  build: Remove recursive deletion flag from $(RM)

 Makefile                     |   4 +-
 plat/kvm/Linker.uk           |  14 ++++--
 plat/kvm/x86/link64.ld       |  94 -------------------------------------
 plat/kvm/x86/link64.lds      |  94 +++++++++++++++++++++++++++++++++++++
 plat/xen/Linker.uk           |  23 +++++----
 plat/xen/arm/link32.ld       | 109 -------------------------------------------
 plat/xen/arm/link32.lds      | 109 +++++++++++++++++++++++++++++++++++++++++++
 plat/xen/x86/link64.ld       |  89 -----------------------------------
 plat/xen/x86/link64.lds      |  89 +++++++++++++++++++++++++++++++++++
 support/build/Makefile.rules | 100 +++++++++++++++++++++++++++------------
 10 files changed, 389 insertions(+), 336 deletions(-)
 delete mode 100644 plat/kvm/x86/link64.ld
 create mode 100644 plat/kvm/x86/link64.lds
 delete mode 100644 plat/xen/arm/link32.ld
 create mode 100644 plat/xen/arm/link32.lds
 delete mode 100644 plat/xen/x86/link64.ld
 create mode 100644 plat/xen/x86/link64.lds

-- 
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®.