From: Andrew Cooper Date: Mon, 18 Jan 2016 10:48:59 +0000 (+0000) Subject: Disable implicit makefile rules X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2618a6eb0454ea3d9e0c733ea09ac6a9b6900fa4;p=people%2Froyger%2Fxen-test-framework.git Disable implicit makefile rules They are not needed, and cause unexpected behaviour. Signed-off-by: Andrew Cooper --- diff --git a/Makefile b/Makefile index 71e3767..54cf8e1 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +MAKEFLAGS += -r + .PHONY: all all: @for D in $(wildcard tests/*); do \ diff --git a/selftests/Makefile b/selftests/Makefile index 7fae9d6..603b1b3 100644 --- a/selftests/Makefile +++ b/selftests/Makefile @@ -1,3 +1,4 @@ +MAKEFLAGS += -r ROOT := $(abspath $(CURDIR)/..) CC = gcc diff --git a/tests/example/Makefile b/tests/example/Makefile index ec78ad1..e4878bc 100644 --- a/tests/example/Makefile +++ b/tests/example/Makefile @@ -1,3 +1,4 @@ +MAKEFLAGS += -r ROOT := $(abspath $(CURDIR)/../..) include $(ROOT)/build/common.mk diff --git a/tests/selftest/Makefile b/tests/selftest/Makefile index 258795c..22079fb 100644 --- a/tests/selftest/Makefile +++ b/tests/selftest/Makefile @@ -1,3 +1,4 @@ +MAKEFLAGS += -r ROOT := $(abspath $(CURDIR)/../..) include $(ROOT)/build/common.mk diff --git a/tests/swint-emulation/Makefile b/tests/swint-emulation/Makefile index 4bff60d..59a3226 100644 --- a/tests/swint-emulation/Makefile +++ b/tests/swint-emulation/Makefile @@ -1,3 +1,4 @@ +MAKEFLAGS += -r ROOT := $(abspath $(CURDIR)/../..) include $(ROOT)/build/common.mk