Skip to contentSkip to conversation

Best way to add custom step

Buildroot Will Wagner 2 participants 4 messages Feb 11, 2008 – Feb 12, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

I need to add a custom step to my build process after the linux image is built into the binaries directory. I was wondering about what was the best way to go about this.

I could add my changes to the top level makefile or to the target\linux\Makefile.in file. Is one way better than the other? Is there a better way of doing this?

Thanks,

Will

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
#1 lore raw

----- Original Message -----
From: "Will Wagner" <[email protected]>
To: <[email protected]>
Sent: Monday, February 11, 2008 4:13 PM
Subject: [Buildroot] Best way to add custom step

Quoted 6 lines

Hi All,

I need to add a custom step to my build process after the linux image is built into the binaries directory. I was wondering about what was the best way to go about this.

Quoted 6 lines

I could add my changes to the top level makefile or to the target\linux\Makefile.in file. Is one way better than the other? Is there a better way of doing this?

Thanks,

If it is board specific, then it makes more sense to put it in target/device and let the target depend on the linux binary.

What is the custom step?

Best Regards
Ulf Samuelsson

#2 lore raw
Quoted 8 lines
Quoted 8 lines

I need to add a custom step to my build process after the linux image is built into the binaries directory. I was wondering about what was the best way to go about this.

I could add my changes to the top level makefile or to the target\linux\Makefile.in file. Is one way better than the other? Is there a better way of doing this?

Quoted 6 lines
Quoted 2 lines

Thanks,

If it is board specific, then it makes more sense to put it in target/device and let the target depend on the linux binary.

Thanks, after looking at it some more I realised this.

Quoted 2 lines

What is the custom step?

Need to wrap the kernel image with some extra bytes that include crc and size so that nandboot accepts it.

Quoted 5 lines

Best Regards
Ulf Samuelsson

Signature · 5 lines
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Senior Project Engineer                  Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
#3 lore raw
Quoted 15 lines
Quoted 8 lines
Quoted 8 lines

I need to add a custom step to my build process after the linux image is built into the binaries directory. I was wondering about what was the best way to go about this.

I could add my changes to the top level makefile or to the target\linux\Makefile.in file. Is one way better than the other? Is there a better way of doing this?

Quoted 6 lines
Quoted 2 lines

Thanks,

If it is board specific, then it makes more sense to put it in target/device and let the target depend on the linux binary.

Quoted 9 lines

Thanks, after looking at it some more I realised this.

Quoted 2 lines

What is the custom step?

Need to wrap the kernel image with some extra bytes that include crc and size so that nandboot accepts it.

Quoted 1 line

Any plans to build NAND boot within Buildroot?

What is NAND boot?

Best Regards
Ulf Samuelsson