diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-01-04 11:02:28 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-08 16:55:03 -0600 |
commit | 59bc10ee01038f93a13d0471f799e6ad2e1e5ee5 (patch) | |
tree | 9a7e5d06b5070d291525d0d61c53fbec152a77d1 /rules.mak | |
parent | 78d9356d3caad95a74bc9cd65eea5fc7e050c35d (diff) | |
download | hqemu-59bc10ee01038f93a13d0471f799e6ad2e1e5ee5.zip hqemu-59bc10ee01038f93a13d0471f799e6ad2e1e5ee5.tar.gz |
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 <pbonzini@redhat.com>
Cc: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'rules.mak')
-rw-r--r-- | rules.mak | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |