From 59bc10ee01038f93a13d0471f799e6ad2e1e5ee5 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 4 Jan 2010 11:02:28 +0100 Subject: finish VPATH -> vpath translation This adds a few more vpath suffixes and points the remaining two paths explicitly to $(SRC_PATH) in order to eliminate the VPATH assignment from config-host.mak. Signed-off-by: Paolo Bonzini Cc: Juan Quintela Signed-off-by: Anthony Liguori --- rules.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rules.mak') diff --git a/rules.mak b/rules.mak index 094dc0924d..5941b73eb5 100644 --- a/rules.mak +++ b/rules.mak @@ -39,7 +39,8 @@ quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1)) cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \ >/dev/null 2>&1 && echo OK), $2, $3) -set-vpath = $(if $1,$(foreach PATTERN,%.c %.h %.S, $(eval vpath $(PATTERN) $1))) +VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi +set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES), $(eval vpath $(PATTERN) $1))) # Generate timestamp files for .h include files -- cgit v1.2.1