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

[Minios-devel] [UNIKRAFT PATCH] build: Execute lib-specific targets after fetch.



Modified the build system such that lib-specific targets may be executed after 
fetch.
Added a new directive for post fetch lib-specific targets: UK_POST_PREPARE.
This fixes the problem where micropython does not build with the staging branch 
of unikraft.
Changes are backward compatible because they don't modify the pre-exsisting 
features.

Signed-off-by: Vlad Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index d10f53b..d9a26d6 100644
--- a/Makefile
+++ b/Makefile
@@ -179,6 +179,7 @@ export SHELL CONFIG_SHELL Q KBUILD_VERBOSE
 UK_FETCH:=
 UK_FETCH-y:=
 UK_PREPARE:=
+UK_POST_PREPARE:=
 UK_PREPATE-y:=
 UK_PLATS:=
 UK_PLATS-y:=
@@ -490,6 +491,7 @@ $(UK_CONFIG_OUT): $(UK_CONFIG)
 
 prepare: $(KCONFIG_AUTOHEADER) $(UK_CONFIG_OUT) $(UK_PREPARE) $(UK_PREPARE-y)
 prepare: $(UK_FIXDEP) | fetch
+prepare: $(UK_POST_PREPARE)
 
 objs: $(UK_OBJS) $(UK_OBJS-y)
 
-- 
2.11.0


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