summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2008-04-22 11:39:59 +0300
committerAvi Kivity <avi@qumranet.com>2008-04-22 11:54:07 +0300
commita6244b003087c0a00aa89763f6603c5ae7943b21 (patch)
tree9e1c27061b476ea263993eb9b9ed29d7e9e09b1f /kernel
parentff4529f8e8073c1337f9a7978758ebe68b929b6a (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/Makefile4
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)