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

[Minios-devel] [UNIKRAFT PATCH v2 3/8] build/Makefile.rules: Add variant argument to src2dep function



The src2dep() function in support/build/Makefile.rules did not hand-over
the (optional) variant argument to the underlying src2obj() function.
This commits corrects this behavior.

Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
---
 support/build/Makefile.rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index e8da2c0..0bc5a63 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -75,8 +75,8 @@ endef
 obj2dep = $(patsubst %.o,%.d,$(1))
 
 # converts a list of sources (.S, .c, .cc, .cpp) to paths pointing to their 
corresponding dependency file
-# src2dep $libname,$source(s)
-src2dep = $(call obj2dep,$(call src2obj,$(1),$(2)))
+# src2dep $libname,$source(s),$variant(optional)
+src2dep = $(call obj2dep,$(call src2obj,$(1),$(2),$(3)))
 
 
 
################################################################################
-- 
2.7.4


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