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

[Minios-devel] [UNIKRAFT PATCH 1/3] lib/uksysinfo: Rename internal name to libuksysinfo



Registers the library with `libuksysinfo` to the build. The
previous name `uksysinfo` did not follow our naming convention.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 lib/uksysinfo/Config.uk   | 3 ++-
 lib/uksysinfo/Makefile.uk | 8 ++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/lib/uksysinfo/Config.uk b/lib/uksysinfo/Config.uk
index 03d60739..d0464cfd 100644
--- a/lib/uksysinfo/Config.uk
+++ b/lib/uksysinfo/Config.uk
@@ -1,3 +1,4 @@
-menuconfig UKSYSINFO
+menuconfig LIBUKSYSINFO
        bool "uksysinfo: info about system parameters"
+       select NOLIBC if !HAVE_LIBC
        default n
diff --git a/lib/uksysinfo/Makefile.uk b/lib/uksysinfo/Makefile.uk
index 28e99fb5..22ac28e7 100644
--- a/lib/uksysinfo/Makefile.uk
+++ b/lib/uksysinfo/Makefile.uk
@@ -1,6 +1,6 @@
-$(eval $(call addlib_s,uksysinfo,$(CONFIG_UKSYSINFO)))
+$(eval $(call addlib_s,libuksysinfo,$(CONFIG_LIBUKSYSINFO)))
 
-CINCLUDES-$(CONFIG_UKSYSINFO)    += -I$(UKSYSINFO_BASE)/include
-CXXINCLUDES-$(CONFIG_UKSYSINFO)  += -I$(UKSYSINFO_BASE)/include
+CINCLUDES-$(CONFIG_LIBUKSYSINFO)    += -I$(LIBUKSYSINFO_BASE)/include
+CXXINCLUDES-$(CONFIG_LIBUKSYSINFO)  += -I$(LIBUKSYSINFO_BASE)/include
 
-UKSYSINFO_SRCS-$(CONFIG_UKSYSINFO) += $(UKSYSINFO_BASE)/sysinfo.c
+LIBUKSYSINFO_SRCS-$(CONFIG_LIBUKSYSINFO) += $(LIBUKSYSINFO_BASE)/sysinfo.c
-- 
2.20.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®.