[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080501010516.DD2FE26FA05@magilla.localdomain>
Date: Wed, 30 Apr 2008 18:05:16 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Sam Ravnborg <sam@...nborg.org>
Cc: linux-kernel@...r.kernel.org
Subject: arch/x86/kernel/acpi/realmode/Makefile
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists