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

[Minios-devel] [UNIKRAFT PATCH 1/2] plat/*: Expose UK_PLAT_BASE, UK_PLAT_COMMON_BASE variable



Expose UK_PLAT_BASE and UK_PLAT_COMMON_BASE Makefile variable
to simplify code-organization. These Makefile variables can be
used by a platform library Makefile that need to include sources
from the platforms-shared common base: plat/common/*

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 plat/Makefile.uk | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/plat/Makefile.uk b/plat/Makefile.uk
index dad7cc0..4f8fa34 100644
--- a/plat/Makefile.uk
+++ b/plat/Makefile.uk
@@ -1,3 +1,6 @@
-$(eval $(call _import_lib,$(UK_BASE)/plat/xen))
-$(eval $(call _import_lib,$(UK_BASE)/plat/kvm))
-$(eval $(call _import_lib,$(UK_BASE)/plat/linuxu))
+UK_PLAT_BASE        := $(UK_BASE)/plat
+UK_PLAT_COMMON_BASE := $(UK_PLAT_BASE)/common
+
+$(eval $(call _import_lib,$(UK_PLAT_BASE)/xen))
+$(eval $(call _import_lib,$(UK_PLAT_BASE)/kvm))
+$(eval $(call _import_lib,$(UK_PLAT_BASE)/linuxu))
-- 
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®.