[Buildroot] Rebuilding Linux after modifying Linux device tree in output/build directory?

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Nov 15 21:02:01 UTC 2019


Hello Scott,

Please keep the Buildroot mailing list in Cc.

On Fri, 15 Nov 2019 20:40:50 +0000
"Whitney, Scott" <scwhitn at amazon.com> wrote:

> I understand that such changes are volatile, but this gives me a way
> to run experiments without having to check each one into Git and
> pulling a new copy of the Linux repository from scratch.

Using the <pkg>_OVERRIDE_SRCDIR would give you the best of both worlds:
you're not working on a volatile copy *and* you don't rebuild from
scratch.

> After running "make linux-rebuild", I believe that I will also need
> to run "make" in order to generate the sdcard.img file that I need
> for my target, correct?  "make linux-rebuild" only rebuilds parts of
> the kernel that changed, but does not run any of my post-build steps
> to create my image, I believe.

Correct, "make linux-rebuild" only rebuilds the kernel itself.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list