Google
  Web www.spinics.net

[PATCH] KVM: Qemu: Sync compiler.h from kernel source when do make sync.

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


>From 138335ed8c52e775a267a91086e580f86dd5b047 Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
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@xxxxxxxxx>
---
 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: 0001-KVM-Qemu-Sync-compiler.h-from-kernel-source-when-d.patch
Description: 0001-KVM-Qemu-Sync-compiler.h-from-kernel-source-when-d.patch


[Home]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]

  Powered by Linux