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

[Minios-devel] [UNIKRAFT PATCH] lib/ukunistd: Move utsname.h to uksysinfo library


  • To: minios-devel@xxxxxxxxxxxxx
  • From: Costin Lupu <costin.lupu@xxxxxxxxx>
  • Date: Sun, 2 Jun 2019 14:48:55 +0300
  • Cc: felipe.huici@xxxxxxxxx
  • Delivery-date: Sun, 02 Jun 2019 11:49:19 +0000
  • Ironport-phdr: 9a23:EsRbTR1RCzTBBK9HsmDT+DRfVm0co7zxezQtwd8ZseIXKPad9pjvdHbS+e9qxAeQG9mCsrQd0Led7/yocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmSexbalvIBi4rQjducYbjIR/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTljjoMOTwk/2HNksF+jLxVrg+vqRJ8xIDZe52ZOOZkc6/BZ94WWXZNU8BMXCJBGIO8aI4PAvIfMOZftIn9u1oOrR2jDgeqGePv0iJIjWLx0KIm1OQhCh3G3A0mH94UtHTUsc31NLoJXO+p16nE1y3Db+5N1jvn8ojIdQksrPeRVrxzacrc0VQjGgzYglmKqoHoPymZ2voTv2WZ9eZtW/qjh3Mopg1suDSixcchhpPXio8bxF3I7zh1zYkrKdC+VUV1e8SrEIFKuCGfL4Z2R8QiTHx2tysi0b0GvIK7fDANyJQ62x7Tc/yHfJaM4hLkTOuRPzJ4i2hkeLK7nRq97VOgxvfkVsmpy1lGtDBFkt7UunAM0Rzc9NSHR+Ng8kquxDqDzQPe5+FeLUwqi6bWKYQtz7AompoWq0vDHyv2mEvsjK+Rc0Up4vSn6+P8YrX6p5+cMZV4igXjMqQ2h8yyGvg3MhMUU2iD5OSzz6fv/Vf+QLlSlP05jrHZsIzGJcQcvqO5Bg5V0oAi6xa4FDeqyckXkmcZLF1bfBKKlIzpO1DVIPDkFvezmVutnyltx/zcOb3hGJrNJGDZkLj9ZbZ991JcyA0rwNBR+Z1UDrABIOrtVUPrtNzYEx45PBC1w+v8DtVyyJ8RWWaVDaCCKq/dr0KItaoTJLyJZYkUvy24J/U76vrGiX4ihURbbaSvm5wNZyOWBPNjdm6eembthJ8lDH8X9l41S/f2iVvEVSNLel65ROQk+zt9EoXwXtSLfZyknLHUhHTzJZZRfG0TUl0=
  • Ironport-sdr: hX2NfCZAT20mbY4k5YnkGbpXUU3ofvXhFf+AE0wnf1JsBs2cx0/r8Nf7zlmIJNuLo/1W8h0Xwl pW2YAC9LtogA==
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Commit bbcb60ce wrongfully moved this header to ukunistd library instead of
uksysinfo, where uname() implementation is placed.

Signed-off-by: Costin Lupu <costin.lupu@xxxxxxxxx>
---
 lib/uksysinfo/Makefile.uk                         | 3 +++
 lib/{ukunistd => uksysinfo}/include/sys/utsname.h | 0
 lib/ukunistd/Makefile.uk                          | 3 ---
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename lib/{ukunistd => uksysinfo}/include/sys/utsname.h (100%)

diff --git a/lib/uksysinfo/Makefile.uk b/lib/uksysinfo/Makefile.uk
index 707c69f4..28e99fb5 100644
--- a/lib/uksysinfo/Makefile.uk
+++ b/lib/uksysinfo/Makefile.uk
@@ -1,3 +1,6 @@
 $(eval $(call addlib_s,uksysinfo,$(CONFIG_UKSYSINFO)))
 
+CINCLUDES-$(CONFIG_UKSYSINFO)    += -I$(UKSYSINFO_BASE)/include
+CXXINCLUDES-$(CONFIG_UKSYSINFO)  += -I$(UKSYSINFO_BASE)/include
+
 UKSYSINFO_SRCS-$(CONFIG_UKSYSINFO) += $(UKSYSINFO_BASE)/sysinfo.c
diff --git a/lib/ukunistd/include/sys/utsname.h 
b/lib/uksysinfo/include/sys/utsname.h
similarity index 100%
rename from lib/ukunistd/include/sys/utsname.h
rename to lib/uksysinfo/include/sys/utsname.h
diff --git a/lib/ukunistd/Makefile.uk b/lib/ukunistd/Makefile.uk
index 0ad9c56a..3c7a8229 100644
--- a/lib/ukunistd/Makefile.uk
+++ b/lib/ukunistd/Makefile.uk
@@ -1,6 +1,3 @@
 $(eval $(call addlib_s,ukunistd,$(CONFIG_UKUNISTD)))
 
-CINCLUDES-$(CONFIG_UKUNISTD)    += -I$(UKUNISTD_BASE)/include
-CXXINCLUDES-$(CONFIG_UKUNISTD)  += -I$(UKUNISTD_BASE)/include
-
 UKUNISTD_SRCS-$(CONFIG_UKUNISTD) += $(UKUNISTD_BASE)/user.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®.