[U-Boot] make: how to add post-build step?
Wolfgang Denk
wd at denx.de
Mon May 31 18:11:26 CEST 2010
Dear "V, Aneesh",
In message <FF55437E1F14DA4BAEB721A458B6701706BD7FF113 at dbde02.ent.ti.com> you wrote:
>
> We would like to add a post-build step for OMAP4430SDP. The intention of this step is to attach a header at the beginning of u-boot.bin and create a new binary.
>
> We do not mind having this as part of the main make step(i.e. as part of the target ALL) or as a separate target(let's say "omap4_header").
>
> 1. Do we need to modify the top-level Makefile for this? OR
> 2. Can we do this somehow through the board level config.mk?
>
> If 2 is not possible, will you take a patch to do this by 1. We can try to make this as generic as possible. Attaching headers may be done by other boards too?
>
> Has this been done earlier? Any input on this will be appreciated.
Extend the mkimage tool to create the image type you need (i. e. to
add the appropriate header etc.). and then add a make target for thsi
image, similar to what has been done for the u-boot.imx or u-boot.kwb
images.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A well-written program is its own heaven; a poorly-written program is
its own hell. -- Geoffrey James, "The Tao of Programming"
More information about the U-Boot
mailing list