public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make " make sync" get correct header files with latest Linux source.
@ 2008-08-20 11:26 Zhang, Xiantao
  2008-08-21  9:52 ` Zhang, Xiantao
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Xiantao @ 2008-08-20 11:26 UTC (permalink / raw)
  To: kvm-ia64, kvm; +Cc: Avi Kivity

[-- Attachment #1: Type: text/plain, Size: 1097 bytes --]

>From 217ca6cfa90524d011fb219efcc0ac4e8a5b5e20 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Wed, 20 Aug 2008 18:46:14 +0800
Subject: [PATCH] KVM: Userspace: Make " make sync" get correct header
files with latest Linux source.

In latest linux repo, ia64, s390 and other archs moved header files from
$(LINUX)/include/asm-$(ARCH)/ to $(LINUX)/arch/$(ARCH)/include/asm/, so
this
patch adds the compatibility for new source structure.
 
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 kernel/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/Makefile b/kernel/Makefile
index e5f43a2..9d5f652 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -56,6 +56,9 @@ header-sync:
 	     "$(LINUX)"/./include/linux/kvm*.h \
 	     "$(LINUX)"/./include/asm-*/kvm*.h \
              $T/
+	-rsync -R \
+	     "$(LINUX)"/arch/$(ARCH_DIR)/include/asm/./kvm*.h \
+             $T/include/asm-$(ARCH_DIR)/
 
 	set -e && for i in $(find $T -name '*.h'); do \
 		$(call unifdef,$$i); done
-- 
1.5.1

[-- Attachment #2: 0001-KVM-Userspace-Make-make-sync-to-get-correct-hea.patch --]
[-- Type: application/octet-stream, Size: 1065 bytes --]

From 217ca6cfa90524d011fb219efcc0ac4e8a5b5e20 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Wed, 20 Aug 2008 18:46:14 +0800
Subject: [PATCH] KVM: Userspace: Make " make sync" get correct header files with latest Linux source.

In latest linux repo, ia64, s390 and other archs moved header files from
$(LINUX)/include/asm-$(ARCH)/ to $(LINUX)/arch/$(ARCH)/include/asm/, so this
patch adds the compatibility for new source structure.
 
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 kernel/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/Makefile b/kernel/Makefile
index e5f43a2..9d5f652 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -56,6 +56,9 @@ header-sync:
 	     "$(LINUX)"/./include/linux/kvm*.h \
 	     "$(LINUX)"/./include/asm-*/kvm*.h \
              $T/
+	-rsync -R \
+	     "$(LINUX)"/arch/$(ARCH_DIR)/include/asm/./kvm*.h \
+             $T/include/asm-$(ARCH_DIR)/
 
 	set -e && for i in $(find $T -name '*.h'); do \
 		$(call unifdef,$$i); done
-- 
1.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-21 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-20 11:26 [PATCH] Make " make sync" get correct header files with latest Linux source Zhang, Xiantao
2008-08-21  9:52 ` Zhang, Xiantao
2008-08-21 12:49   ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox