diff options
author | Avi Kivity <avi@qumranet.com> | 2008-04-22 11:39:59 +0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-04-22 11:54:07 +0300 |
commit | a6244b003087c0a00aa89763f6603c5ae7943b21 (patch) | |
tree | 9e1c27061b476ea263993eb9b9ed29d7e9e09b1f /kernel | |
parent | ff4529f8e8073c1337f9a7978758ebe68b929b6a (diff) |
kvm: external module: don't remove include/ subdir during make sync
This causes the timestamps to change and the entire module to be rebuilt
unnecessarily.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index e080bf1d..c30ff91b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -36,13 +36,13 @@ sync: header-sync source-sync T = $(subst -sync,,$@)-tmp header-sync: - rm -rf $T include + rm -rf $T rsync -R \ "$(LINUX)"/./include/linux/kvm*.h \ "$(LINUX)"/./include/asm-x86/kvm*.h \ $T/ mkdir -p include/linux include/asm-x86 - ln -s asm-x86 include/asm + ln -sf asm-x86 include/asm ln -sf asm-x86 include-compat/asm $(call unifdef, include/linux/kvm.h) |