* [patch 2.6.12-rc5] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time
@ 2005-06-06 3:53 Keith Owens
2005-06-06 4:11 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Keith Owens @ 2005-06-06 3:53 UTC (permalink / raw)
To: linux-kernel; +Cc: sam
arch/i386/kernel/vsyscall-note.o is not listed as a target so its .cmd
file is neither considered as a target nor is it read on the next
build. This causes vsyscall-note.o to be rebuilt every time that you
run make, which causes vmlinux to be rebuilt every time.
Signed-off-by: Keith Owens <kaos@ocs.com.au>
Index: linux/arch/i386/kernel/Makefile
===================================================================
--- linux.orig/arch/i386/kernel/Makefile 2005-06-05 19:36:29.093065944 +1000
+++ linux/arch/i386/kernel/Makefile 2005-06-06 13:44:31.727643119 +1000
@@ -43,7 +43,7 @@ obj-$(CONFIG_SCx200) += scx200.o
# Note: kbuild does not track this dependency due to usage of .incbin
$(obj)/vsyscall.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so
targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so)
-targets += vsyscall.lds
+targets += vsyscall-note.o vsyscall.lds
# The DSO images are built using a special linker script.
quiet_cmd_syscall = SYSCALL $@
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 2.6.12-rc5] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time
2005-06-06 3:53 [patch 2.6.12-rc5] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time Keith Owens
@ 2005-06-06 4:11 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-06-06 4:11 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-kernel, sam
Keith Owens wrote:
> arch/i386/kernel/vsyscall-note.o is not listed as a target so its .cmd
> file is neither considered as a target nor is it read on the next
> build. This causes vsyscall-note.o to be rebuilt every time that you
> run make, which causes vmlinux to be rebuilt every time.
>
> Signed-off-by: Keith Owens <kaos@ocs.com.au>
Nice, thanks. That always annoyed me.
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-06 4:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-06 3:53 [patch 2.6.12-rc5] Stop arch/i386/kernel/vsyscall-note.o being rebuilt every time Keith Owens
2005-06-06 4:11 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.