Revision 59bc10ee

b/Makefile
7 7
all: build-all
8 8
include config-host.mak
9 9
include $(SRC_PATH)/rules.mak
10
config-host.mak: configure
10
config-host.mak: $(SRC_PATH)/configure
11 11
	@echo $@ is out-of-date, running configure
12 12
	@sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh
13 13
else
b/Makefile.target
333 333
	$(call LINK,$(obj-y) $(obj-$(TARGET_BASE_ARCH)-y))
334 334

  
335 335

  
336
gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh
336
gdbstub-xml.c: $(TARGET_XML_FILES) $(SRC_PATH)/feature_to_c.sh
337 337
	$(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES),"  GEN   $(TARGET_DIR)$@")
338 338

  
339 339
qemu-options.h: $(SRC_PATH)/qemu-options.hx
b/configure
1991 1991
echo "VERSION=$qemu_version" >>$config_host_mak
1992 1992
echo "PKGVERSION=$pkgversion" >>$config_host_mak
1993 1993
echo "SRC_PATH=$source_path" >> $config_host_mak
1994
if [ "$source_path_used" = "yes" ]; then
1995
  echo "VPATH=$source_path" >> $config_host_mak
1996
fi
1997 1994
echo "TARGET_DIRS=$target_list" >> $config_host_mak
1998 1995
if [ "$docs" = "yes" ] ; then
1999 1996
  echo "BUILD_DOCS=yes" >> $config_host_mak
b/rules.mak
39 39
cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc /dev/null \
40 40
              >/dev/null 2>&1 && echo OK), $2, $3)
41 41

  
42
set-vpath = $(if $1,$(foreach PATTERN,%.c %.h %.S, $(eval vpath $(PATTERN) $1)))
42
VPATH_SUFFIXES = %.c %.h %.S %.m %.mak %.texi
43
set-vpath = $(if $1,$(foreach PATTERN,$(VPATH_SUFFIXES), $(eval vpath $(PATTERN) $1)))
43 44

  
44 45
# Generate timestamp files for .h include files
45 46

  

Also available in: Unified diff