[prev in list] [next in list] [prev in thread] [next in thread] 

List:       u-boot
Subject:    [U-Boot] make: how to add post-build step?
From:       wd () denx ! de (Wolfgang Denk)
Date:       2010-05-31 16:11:26
Message-ID: 20100531161126.D7BEFC15848 () gemini ! denx ! de
[Download RAW message or body]

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"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic