Am Donnerstag, 20. November 2008 schrieb Andi Kleen:
> How about this variant? Does it work for you?
> 
> -Andi
> 
> --- kvm-79/Makefile~  2008-11-12 12:48:01.000000000 +0100
> +++ kvm-79/Makefile   2008-11-20 14:36:54.000000000 +0100
> @@ -33,7 +33,9 @@
>  header-sync-n:
> 
>  header-sync-y:
> -     make -C kernel LINUX=$(KERNELDIR) header-sync
> +     make -C kernel \
> +     LINUX=$(if "$(KERNELSOURCEDIR)",$(KERNELSOURCEDIR),$(KERNELDIR)) \
> +     header-sync

Nope.
[EMAIL PROTECTED]:/space/kvm-userspace$ make
make -C kernel \
        LINUX= \
        header-sync
fatal: Not a git repository
make[1]: Entering directory `/space/kvm-userspace/kernel'
rm -rf header-tmp
rsync -R \
             ""/./include/linux/kvm*.h \
              \
             header-tmp/
rsync: link_stat "/include/linux/kvm*.h" failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at main.c(1058) 
[sender=3.0.3]
make[1]: *** [header-sync] Fehler 23
make[1]: Leaving directory `/space/kvm-userspace/kernel'
make: *** [header-sync-y] Fehler 2



But

        LINUX=$(if $(KERNELSOURCEDIR),$(KERNELSOURCEDIR),$(KERNELDIR)) \
(without the " ) 

seems to work.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to