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

Thomas Gleixner
2007-10-17T19:27:34Z

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@panasas.com>
>
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
> ---
> 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