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

Re: [Minios-devel] [UNIKRAFT PATCH] build: add support to specify linking-stage makefile



This went out a bit too early, I'll resend with a more verbose explanation.

On 5/22/19 3:10 PM, Florian Schmidt wrote:
by setting UK_PLAT_*_LINKER

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
---
  support/build/Makefile.rules | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index 04f2f0dc..b8571416 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -125,13 +125,14 @@ undefine _IMPORT_BASE
  endef
  # _import_linker $plat_name
  define _import_linker =
- include $(UK_PLAT_$(call uc,$(1))_BASE)/Linker.uk
+ include $(UK_PLAT_$(call uc,$(1))_LINKER)
  endef
# Register a platform to the build system
  define addplat =
  UK_PLATS += $(1)
-$(eval UK_PLAT_$(call uc,$(1))_BASE  := $(_IMPORT_BASE))
+$(eval UK_PLAT_$(call uc,$(1))_BASE   := $(_IMPORT_BASE))
+$(eval UK_PLAT_$(call uc,$(1))_LINKER := $(_IMPORT_BASE)/Linker.uk)
  endef
# addplat_s $platname,$switch


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

 


Rackspace

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