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

[Minios-devel] [UNIKRAFT PATCH v2 1/7] lib/ukconsdev: Introduce Consdev library skeleton



Signed-off-by: Birlea Costin <costin.birlea@xxxxxxxxx>
---
 lib/Makefile.uk           | 1 +
 lib/ukconsdev/Config.uk   | 6 ++++++
 lib/ukconsdev/Makefile.uk | 5 +++++
 3 files changed, 12 insertions(+)
 create mode 100644 lib/ukconsdev/Config.uk
 create mode 100644 lib/ukconsdev/Makefile.uk

diff --git a/lib/Makefile.uk b/lib/Makefile.uk
index 4b9568a1..715563ce 100644
--- a/lib/Makefile.uk
+++ b/lib/Makefile.uk
@@ -34,3 +34,4 @@ $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uktime))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukmmap))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukblkdev))
 $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/posix-process))
+$(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukconsdev))
diff --git a/lib/ukconsdev/Config.uk b/lib/ukconsdev/Config.uk
new file mode 100644
index 00000000..e434f1d4
--- /dev/null
+++ b/lib/ukconsdev/Config.uk
@@ -0,0 +1,6 @@
+menuconfig LIBUKCONSDEV
+       bool "ukconsdev: Console driver interface"
+       default n
+       select LIBUKALLOC
+       select LIBNOLIBC if !HAVE_LIBC
+
diff --git a/lib/ukconsdev/Makefile.uk b/lib/ukconsdev/Makefile.uk
new file mode 100644
index 00000000..d6ff8e2b
--- /dev/null
+++ b/lib/ukconsdev/Makefile.uk
@@ -0,0 +1,5 @@
+$(eval $(call addlib_s,libukconsdev,$(CONFIG_LIBUKCONSDEV)))
+
+CINCLUDES-$(CONFIG_LIBUKCONSDEV)   += -I$(LIBUKCONSDEV_BASE)/include
+CXXINCLUDES-$(CONFIG_LIBUKCONSDEV) += -I$(LIBUKCONSDEV_BASE)/include
+
-- 
2.11.0


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