x86: fix kernel rebuild due to vsyscall fallout
authorSam Ravnborg <sam@ravnborg.org>
Wed, 17 Oct 2007 19:16:33 +0000 (21:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Oct 2007 19:19:23 +0000 (21:19 +0200)
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>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/Makefile_32

index 7ff0206..a3fa11f 100644 (file)
@@ -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.