Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Kernel image format :  kernel image is not rebuild
@ 2014-02-05  9:35 Sagaert Johan
  2014-02-05 10:09 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Sagaert Johan @ 2014-02-05  9:35 UTC (permalink / raw)
  To: buildroot

 
 Hi

If i change the kernel image format from zImage to uImage buildroot does not make the uImage.
If only does it if I remove the stamps in the target kernel so buildroot is forced to recompile the kernel.
Then it generates the uImage.
Likewise if I change it to uImage with appended DTB, I must first force the kernel to be rebuild.



Regards , Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] Kernel image format :  kernel image is not rebuild
  2014-02-05  9:35 [Buildroot] Kernel image format : kernel image is not rebuild Sagaert Johan
@ 2014-02-05 10:09 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-02-05 10:09 UTC (permalink / raw)
  To: buildroot

Dear Sagaert Johan,

On Wed, 5 Feb 2014 10:35:02 +0100, Sagaert Johan wrote:

> If i change the kernel image format from zImage to uImage buildroot does not make the uImage.
> If only does it if I remove the stamps in the target kernel so buildroot is forced to recompile the kernel.
> Then it generates the uImage.
> Likewise if I change it to uImage with appended DTB, I must first force the kernel to be rebuild.

This is the expected behavior. Buildroot does not try to be smart by
detecting what should be rebuilt depending on the changes you made in
the configuration. For example, if you change configuration options
related to a library, it is impossible to know if those changes should
force the rebuild of all the reverse dependencies of this library or
not. Therefore, Buildroot takes a simple solution: it does not try to
do any detection, and leaves it to the user.

So if you have change the kernel configuration in terms of image
formats, then you should do:

	make linux-rebuild

Which will force Buildroot to restart the build and installation steps
of the kernel. There is no need to manually remove stamp files, the
"make <pkg>-rebuild" target is here for this purpose.

See: http://buildroot.org/downloads/manual/manual.html#rebuild-pkg.

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-05 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05  9:35 [Buildroot] Kernel image format : kernel image is not rebuild Sagaert Johan
2014-02-05 10:09 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox