>From 217ca6cfa90524d011fb219efcc0ac4e8a5b5e20 Mon Sep 17 00:00:00 2001 From: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> 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@xxxxxxxxx> --- 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:
0001-KVM-Userspace-Make-make-sync-to-get-correct-hea.patch
Description: 0001-KVM-Userspace-Make-make-sync-to-get-correct-hea.patch