From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] linux.mk: depend on actual kernel image instead of stamp file
Date: Tue, 1 Mar 2011 17:23:55 +0100 [thread overview]
Message-ID: <20110301172355.2c535403@surf> (raw)
In-Reply-To: <1297986294-23446-2-git-send-email-bjorn.forsman@gmail.com>
Hello,
On Fri, 18 Feb 2011 00:44:54 +0100
Bj?rn Forsman <bjorn.forsman@gmail.com> wrote:
> Use the real output file (kernel image) as target instead of a stamp
> file. This way Buildroot cannot be tricked into thinking that the kernel
> image is installed when it's not.
Well, we switched *all* packages from dependencies on installed files
to dependencies on stamp files when migrating them from hand-coded
makefiles to the package infrastructures, so I don't think we should do
the opposite for the Linux kernel package.
But maybe we need to provide for each package (kernel included) a clean
and nice mechanism to delete their stamp files so that they get
reinstalled at the next make invocation.
Regardless of the solution chosen, I think any change in this direction
should come with a clear update in the documentation. I don't want to
see dozens of different hacks^Wmechanisms to do partial rebuilds being
added all over the place without any coherency nor documentation.
Regards!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-03-01 16:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 23:44 [Buildroot] [PATCH v2 1/2] Makefile: improve $(TARGET_DIR) (re)creation Bjørn Forsman
2011-02-17 23:44 ` [Buildroot] [PATCH v2 2/2] linux.mk: depend on actual kernel image instead of stamp file Bjørn Forsman
2011-02-21 17:02 ` Bjørn Forsman
2011-03-01 16:06 ` Bjørn Forsman
2011-03-01 16:23 ` Thomas Petazzoni [this message]
2011-03-01 18:54 ` Bjørn Forsman
2011-03-01 20:06 ` Bjørn Forsman
2011-02-21 17:02 ` [Buildroot] [PATCH v2 1/2] Makefile: improve $(TARGET_DIR) (re)creation Bjørn Forsman
2011-03-01 16:03 ` Bjørn Forsman
2011-03-01 16:20 ` Thomas Petazzoni
2011-03-01 17:16 ` Bjørn Forsman
2011-03-03 18:22 ` Bjørn Forsman
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=20110301172355.2c535403@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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