From: Roland McGrath <roland@redhat.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Pavel Machek <pavel@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: arch/x86/kernel/acpi/realmode/Makefile
Date: Wed, 30 Apr 2008 18:05:16 -0700 (PDT) [thread overview]
Message-ID: <20080501010516.DD2FE26FA05@magilla.localdomain> (raw)
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
next reply other threads:[~2008-05-01 1:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 1:05 Roland McGrath [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080501010516.DD2FE26FA05@magilla.localdomain \
--to=roland@redhat.com \
--cc=pavel@suse.cz \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®