Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel image format :  kernel image is not rebuild
Date: Wed, 5 Feb 2014 11:09:46 +0100	[thread overview]
Message-ID: <20140205110946.0f131ddd@skate> (raw)
In-Reply-To: <39AACAAA6258427B9662537ABA591922@JohanW7>

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

      reply	other threads:[~2014-02-05 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05  9:35 [Buildroot] Kernel image format : kernel image is not rebuild Sagaert Johan
2014-02-05 10:09 ` Thomas Petazzoni [this message]

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=20140205110946.0f131ddd@skate \
    --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