public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Qemu: Sync compiler.h from kernel source when do make sync.
@ 2008-11-13  7:33 Zhang, Xiantao
  2008-11-13 15:32 ` Avi Kivity
  0 siblings, 1 reply; 6+ messages in thread
From: Zhang, Xiantao @ 2008-11-13  7:33 UTC (permalink / raw)
  To: kvm@vger.kernel.org, Avi Kivity; +Cc: kvm-ia64@vger.kernel.org

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

>From 138335ed8c52e775a267a91086e580f86dd5b047 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Thu, 13 Nov 2008 15:23:31 +0800
Subject: [PATCH] KVM: Qemu: Sync compiler.h from kernel source when do make sync.

In some OS distros, there is no compiler.h installed for building
applications, and leads to break userspace build.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 kernel/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/Makefile b/kernel/Makefile
index aca365e..ed4e2fd 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -64,6 +64,7 @@ header-sync:
 	rm -rf $T
 	rsync -R \
 	     "$(LINUX)"/./include/linux/kvm*.h \
+	     "$(LINUX)"/./include/linux/compiler.h \
 	     $(if $(wildcard $(headers-old)), $(headers-old)) \
              $T/
 	$(if $(wildcard $(headers-new)), \
-- 
1.6.0

[-- Attachment #2: 0001-KVM-Qemu-Sync-compiler.h-from-kernel-source-when-d.patch --]
[-- Type: application/octet-stream, Size: 881 bytes --]

From 138335ed8c52e775a267a91086e580f86dd5b047 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Thu, 13 Nov 2008 15:23:31 +0800
Subject: [PATCH] KVM: Qemu: Sync compiler.h from kernel source when do make sync.

In some OS distros, there is no compiler.h installed for building
applications, and leads to break userspace build.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 kernel/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/kernel/Makefile b/kernel/Makefile
index aca365e..ed4e2fd 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -64,6 +64,7 @@ header-sync:
 	rm -rf $T
 	rsync -R \
 	     "$(LINUX)"/./include/linux/kvm*.h \
+	     "$(LINUX)"/./include/linux/compiler.h \
 	     $(if $(wildcard $(headers-old)), $(headers-old)) \
              $T/
 	$(if $(wildcard $(headers-new)), \
-- 
1.6.0


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

end of thread, other threads:[~2008-11-18 12:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-13  7:33 [PATCH] KVM: Qemu: Sync compiler.h from kernel source when do make sync Zhang, Xiantao
2008-11-13 15:32 ` Avi Kivity
2008-11-14  1:25   ` Zhang, Xiantao
2008-11-16  8:23     ` Avi Kivity
2008-11-17  2:07       ` Zhang, Xiantao
2008-11-18 12:47         ` Avi Kivity

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