qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] fix whitespace bogon in some versions of make


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] fix whitespace bogon in some versions of make
Date: Mon, 03 May 2010 13:06:13 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0

On 04/26/2010 04:52 PM, Nathan Froyd wrote:
With three different make binaries I have available, configuring a
pristine QEMU tree and attempting to make gives the cryptic:

Makefile:27: *** missing separator.  Stop.

This patch fixes it (presumably because it makes the output of
`set-vpath' be an empty string, rather than a bit of whitespace), but I
don't understand why this hasn't been a problem for other folks before.

Signed-off-by: Nathan Froyd<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori
---
  rules.mak |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rules.mak b/rules.mak
index 5941b73..7e10432 100644
--- a/rules.mak
+++ b/rules.mak
@@ -40,7 +40,7 @@ cc-option = $(if $(shell $(CC) $1 $2 -S -o /dev/null -xc 
/dev/null \
                >/dev/null 2>&1&&  echo OK), $2, $3)

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

  # Generate timestamp files for .h include files






reply via email to

[Prev in Thread] Current Thread [Next in Thread]