From: Sheng Yang <[EMAIL PROTECTED]> We use 'ln -sf' to refresh the symbolic now. But if 'include/asm' is a directory (as in old layout), 'ln' will give wrong result.
Signed-off-by: Sheng Yang <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> diff --git a/kernel/Makefile b/kernel/Makefile index d409a0a..e5d9fff 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -35,7 +35,8 @@ sync: "$(LINUX)"/./include/linux/kvm*.h \ "$(LINUX)"/./include/asm-x86/kvm*.h \ tmp/ - ln -sf asm-x86 include/asm + rm -rf include/asm + ln -s asm-x86 include/asm $(call unifdef, include/linux/kvm.h) $(call unifdef, include/linux/kvm_para.h) ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-commits mailing list kvm-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-commits