From: Avi Kivity <[EMAIL PROTECTED]>

This causes the timestamps to change and the entire module to be rebuilt
unnecessarily.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/kernel/Makefile b/kernel/Makefile
index e080bf1..c30ff91 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)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to