[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Minios-devel] [UNIKRAFT PATCH v4 1/8] build: Support Makefile.rules for each library
The patch gives the option to a library developer to extend the default Unikraft build system with library specific definitions. The Makefile.rules are included before processing of Makefile.uk Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx> --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da9b226..677a477 100644 --- a/Makefile +++ b/Makefile @@ -315,7 +315,12 @@ export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE ################################################################################ # We need to include this file early (before any rule is defined) # but after we have tried to load a .config and after having our tools defined -include $(CONFIG_UK_BASE)/support/build/Makefile.rules +$(foreach M,$(strip $(wildcard $(addsuffix Makefile.rules,\ + $(CONFIG_UK_BASE)/support/build/ $(CONFIG_UK_BASE)/lib/*/\ + $(CONFIG_UK_BASE)/plat/*/ $(addsuffix /,$(ELIB_DIR)) $(APP_DIR)/)\ + )),\ + $(info Include $(M));\ + $(eval include $(M))) ################################################################################ # Clean targets that do not have any dependency on a configuration -- 2.7.4 _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |