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

[Minios-devel] [UNIKRAFT PATCH 4/6] plat/solo5: Add solo5 platform Makefile.uk



Signed-off-by: Haibo Xu <haibo.xu@xxxxxxx>
---
 plat/Makefile.uk       |  1 +
 plat/solo5/Makefile.uk | 30 ++++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 plat/solo5/Makefile.uk

diff --git a/plat/Makefile.uk b/plat/Makefile.uk
index 72155bd..4f0d583 100644
--- a/plat/Makefile.uk
+++ b/plat/Makefile.uk
@@ -5,3 +5,4 @@ UK_PLAT_DRIVERS_BASE:= $(UK_PLAT_BASE)/drivers
 $(eval $(call _import_lib,$(UK_PLAT_BASE)/xen))
 $(eval $(call _import_lib,$(UK_PLAT_BASE)/kvm))
 $(eval $(call _import_lib,$(UK_PLAT_BASE)/linuxu))
+$(eval $(call _import_lib,$(UK_PLAT_BASE)/solo5))
diff --git a/plat/solo5/Makefile.uk b/plat/solo5/Makefile.uk
new file mode 100644
index 0000000..a83fb15
--- /dev/null
+++ b/plat/solo5/Makefile.uk
@@ -0,0 +1,30 @@
+##
+## SOLO5 platform registration
+##
+$(eval $(call addplat_s,solo5,$(CONFIG_PLAT_SOLO5)))
+
+##
+## SOLO5 platform library registration
+##
+$(eval $(call addplatlib,solo5,libsolo5plat))
+
+##
+## Platform library definitions
+##
+LIBSOLO5PLAT_ASINCLUDES-y        += -I$(LIBSOLO5PLAT_BASE)/include
+LIBSOLO5PLAT_ASINCLUDES-y        += -I$(UK_PLAT_COMMON_BASE)/include
+LIBSOLO5PLAT_CINCLUDES-y         += -I$(LIBSOLO5PLAT_BASE)/include
+LIBSOLO5PLAT_CINCLUDES-y         += -I$(UK_PLAT_COMMON_BASE)/include
+
+LIBSOLO5PLAT_ASFLAGS             += -DSOLO5PLAT
+LIBSOLO5PLAT_CFLAGS              += -DSOLO5PLAT
+LIBSOLO5PLAT_CXXFLAGS            += -DSOLO5PLAT
+
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/shutdown.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/memory.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/console.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/io.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/lcpu.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/setup.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/time.c
+LIBSOLO5PLAT_SRCS-y              += $(LIBSOLO5PLAT_BASE)/irq.c
-- 
2.17.1


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