Re: [PATCH] x86: fix kernel rebuild due to vsyscall fallout

From: Thomas Gleixner
Date: Wed Oct 17 2007 - 15:27:37 EST


On Wed, 17 Oct 2007, Sam Ravnborg wrote:

> Fix rebuild of kernel when there is no changes.
> This happened for i386.
> Using make V=2 hinted that the output files were
> not assigned to targets - fixed by this patch.
>
> Reported by: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
>
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
> ---
> diff --git a/arch/x86/kernel/Makefile_32 b/arch/x86/kernel/Makefile_32
> index 7ff0206..a3fa11f 100644
> --- a/arch/x86/kernel/Makefile_32
> +++ b/arch/x86/kernel/Makefile_32
> @@ -51,7 +51,7 @@ obj-$(CONFIG_SCx200) += scx200_32.o
> # We must build both images before we can assemble it.
> # Note: kbuild does not track this dependency due to usage of .incbin
> $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter_32.so
> -targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so)
> +targets += $(foreach F,int80 sysenter,vsyscall-$F_32.o vsyscall-$F_32.so)
> targets += vsyscall-note_32.o vsyscall_32.lds
>
> # The DSO images are built using a special linker script.

Thanks, applied

tglx


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/