lkml.org 
[lkml]   [2008]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectarch/x86/kernel/acpi/realmode/Makefile
Date
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


\
 
 \ /
  Last update: 2008-05-01 03:09    [W:0.248 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site