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

[Minios-devel] [UNIKRAFT PATCH] support/build: disable make built-in rules



When adding an externally-built object file to the Unikraft build via
[LIBNAME]_OBJS, the make built-in rule would try to recompile the
object file from source and would fail. This patch disables make's
built-in rules so the build works as intended.

Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 7f29e006..9452e80c 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,9 @@ else # umask
 .PHONY: all
 all:
 
+# Disable built-in rules
+.SUFFIXES:
+
 # Save running make version
 RUNNING_MAKE_VERSION := $(MAKE_VERSION)
 
-- 
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®.