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

Re: [Minios-devel] [UNIKRAFT PATCH v3 1/8] lib/uk9p: Add 9P library skeleton



Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>

On 05.09.19 14:14, Cristian Banu wrote:
Add libuk9p skeleton and register it within the build system.

Signed-off-by: Cristian Banu <cristb@xxxxxxxxx>
---
  lib/Config.uk        | 1 +
  lib/Makefile.uk      | 1 +
  lib/uk9p/Config.uk   | 6 ++++++
  lib/uk9p/Makefile.uk | 4 ++++
  4 files changed, 12 insertions(+)
  create mode 100644 lib/uk9p/Config.uk
  create mode 100644 lib/uk9p/Makefile.uk

diff --git a/lib/Config.uk b/lib/Config.uk
index 204f52160307..f3588aaf8002 100644
--- a/lib/Config.uk
+++ b/lib/Config.uk
@@ -49,5 +49,6 @@ source "lib/ukswrand/Config.uk"
  source "lib/ukbus/Config.uk"
  source "lib/uksglist/Config.uk"
  source "lib/uknetdev/Config.uk"
+source "lib/uk9p/Config.uk"
  source "lib/posix-libdl/Config.uk"
  source "lib/uklibparam/Config.uk"
diff --git a/lib/Makefile.uk b/lib/Makefile.uk
index ac1e38bc7fc2..e62e60afc95a 100644
--- a/lib/Makefile.uk
+++ b/lib/Makefile.uk
@@ -26,5 +26,6 @@ $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukmpi))
  $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/ukbus))
  $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uksglist))
  $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uknetdev))
+$(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uk9p))
  $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/posix-libdl))
  $(eval $(call _import_lib,$(CONFIG_UK_BASE)/lib/uklibparam))
diff --git a/lib/uk9p/Config.uk b/lib/uk9p/Config.uk
new file mode 100644
index 000000000000..ea411448304c
--- /dev/null
+++ b/lib/uk9p/Config.uk
@@ -0,0 +1,6 @@
+config LIBUK9P
+       bool "uk9p: 9p client"
+       default n
+       select LIBUKALLOC
+       select LIBNOLIBC if !HAVE_LIBC
+       select LIBUKDEBUG
diff --git a/lib/uk9p/Makefile.uk b/lib/uk9p/Makefile.uk
new file mode 100644
index 000000000000..fa754440598c
--- /dev/null
+++ b/lib/uk9p/Makefile.uk
@@ -0,0 +1,4 @@
+$(eval $(call addlib_s,libuk9p,$(CONFIG_LIBUK9P)))
+
+CINCLUDES-$(CONFIG_LIBUK9P)            += -I$(LIBUK9P_BASE)/include
+CXXINCLUDES-$(CONFIG_LIBUK9P)          += -I$(LIBUK9P_BASE)/include


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