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

[Minios-devel] [UNIKRAFT PATCH v3 2/8] build: Introduce PLATS variable for platform lib



The patch introduces a variable to check the platform on which the
library should be included. The variable enables us to customize build
rules for specific platform.

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

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index d90807e0..29e0ce93 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -168,6 +168,7 @@ endef
 # addplatlib $platname,$libname
 define addplatlib =
 $(call mk_sub_build_dir,$(2))
+$(eval $(call uc,$(2))_PLATS   += $(call uc,$(1)))
 $(eval $(call uc,$(1))_LIBS    += $(2))
 $(eval $(call uc,$(2))_BASE    := $(_IMPORT_BASE))
 $(eval $(call uc,$(2))_BUILD   := $(BUILD_DIR)/$(2))
-- 
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®.