[Buildroot] [PATCH v2 2/2] linux.mk: depend on actual kernel image instead of stamp file

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 1 16:23:55 UTC 2011


On Fri, 18 Feb 2011 00:44:54 +0100
Bjørn Forsman <bjorn.forsman at 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.


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list