From: Mark McLoughlin <markmc@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm <kvm@vger.kernel.org>
Subject: [PATCH] kvm: header-sync: fix to work with 2.6.28 kernel
Date: Mon, 24 Nov 2008 13:21:21 +0000 [thread overview]
Message-ID: <1227532881.7605.35.camel@blaa> (raw)
If you run header-sync against a kernel which has asm/kvm.h but not
e.g. asm/vmx.h then $(wildcard $(headers-new)) returns a string with
expanded kvm.h path and the vmx.h glob removed. We then pass the
original globs to rsync causing that to fail when vmx.h can't be
found:
rsync: link_stat ".../asm/vmx*.h" failed: No such file or directory (2)
Fix by passing the expanded paths returned by the wildcard function to
rsync.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
kernel/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
index 33d6a84..eaf1c8e 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -71,7 +71,7 @@ header-sync:
$T/
$(if $(wildcard $(headers-new)), \
rsync -R \
- $(headers-new) \
+ $(wildcard $(headers-new)) \
$T/include/asm-$(ARCH_DIR)/)
for i in $$(find $T -name '*.h'); do \
--
1.6.0.3
next reply other threads:[~2008-11-24 13:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 13:21 Mark McLoughlin [this message]
2008-11-26 16:27 ` [PATCH] kvm: header-sync: fix to work with 2.6.28 kernel Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1227532881.7605.35.camel@blaa \
--to=markmc@redhat.com \
--cc=avi@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox