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

[Minios-devel] [UNIKRAFT PATCH] build: plat library are build even when disabled



Platform library is built even when the configuration is
disabled. This is fixed by using conditional expansion
instead of conditional-directives.

Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx>
---
 support/build/Makefile.rules | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index 999e17e..926a533 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -167,9 +167,7 @@ endef
 
 # addplatlib_s $platname,$libname,$switch
 define addplatlib_s =
-ifeq ($(3),y)
-$(call addplatlib,$(1),$(2))
-endif
+$(if $(filter y,$(3)),$(call addplatlib,$(1),$(2)),)
 endef
 
 
-- 
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®.