Skip to content

Commit

Permalink
Add a trampoline target to build Unikraft targets
Browse files Browse the repository at this point in the history
  • Loading branch information
shym committed Sep 25, 2024
1 parent d3bc9e3 commit c772076
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ $(BEBLDLIBDIR)/Makefile: | $(BEBLDLIBDIR)
test -e $(UNIKRAFT)/Makefile
$(SYMLINK) $(UNIKRAFT)/Makefile $@

# Trampoline target to build a Unikraft Makefile target, such as menuconfig,
# with all the proper options set
%.unikraft: | $(CONFIG) $(BEBLDLIBDIR)/Makefile $(LIB)/unikraft \
$(MUSLARCHIVEPATH) $(LIBMUSL) $(LWIPARCHIVEPATH) $(LIBLWIP)
+$(UKMAKE) $*


# EXTRACTION OF BUILD INFO
############################
Expand Down

0 comments on commit c772076

Please sign in to comment.