public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch/x86/kernel/acpi/realmode/Makefile
@ 2008-05-01  1:05 Roland McGrath
  2008-05-01  9:31 ` [PATCH] fix rebuild of wakeup.bin Sam Ravnborg
  2008-05-01  9:39 ` arch/x86/kernel/acpi/realmode/Makefile Sam Ravnborg
  0 siblings, 2 replies; 8+ messages in thread
From: Roland McGrath @ 2008-05-01  1:05 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Pavel Machek, linux-kernel

I noticed that arch/x86/kernel/acpi/realmode/wakeup.lds was being remade on
every make.  A run with V=2 nicely told me why.  I did what it told me:

--- a/arch/x86/kernel/acpi/realmode/Makefile
+++ b/arch/x86/kernel/acpi/realmode/Makefile
@@ -6,7 +6,7 @@
 # for more details.
 #
 
-targets		:= wakeup.bin wakeup.elf
+targets		:= wakeup.bin wakeup.elf wakeup.lds
 
 wakeup-y	+= wakeup.o wakemain.o video-mode.o copy.o
 

That made it no longer rebuild that stuff every time.
But now it says:

make[5]: `arch/x86/kernel/acpi/realmode/wakeup.bin' is up to date.
  LD      vmlinux.o - due to: init/built-in.o

and still relinks the kernel on every make run.  

Can you figure it out, please?  "make; make" should not relink.


Thanks,
Roland

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-04  7:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-01  1:05 arch/x86/kernel/acpi/realmode/Makefile Roland McGrath
2008-05-01  9:31 ` [PATCH] fix rebuild of wakeup.bin Sam Ravnborg
2008-05-01 10:48   ` Rafael J. Wysocki
2008-05-03 18:06     ` Ingo Molnar
2008-05-03 18:15       ` Sam Ravnborg
2008-05-03 19:41         ` Ingo Molnar
2008-05-04  7:21           ` Sam Ravnborg
2008-05-01  9:39 ` arch/x86/kernel/acpi/realmode/Makefile Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox