How to embed a required host/cross tool

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Nov 18 14:29:29 EST 2009


On Wed, Nov 18, 2009 at 04:59:56PM +0100, Juergen Beisert wrote:
> Hi,
> 
> to setup a disk to make it bootable on a regular PC (to use u-boot-v2 as a 
> bootloader in the x86 world), a small host/cross tool is required. This tool 
> must patch the binary u-boot-v2 image after storing it on this disk.
> 
> To be able to patch at the correct offsets, this small tool and u-boot-v2's 
> linker script must be in sync. To ensure that, I would like to include this 
> tool into the u-boot-v2 source tree.
> 
> But where? The 'tools/' subdirectory is gone.
What about scripts/ ?

Yes, I understood, it's a binary, not a script:

u-boot-v2$ find scripts/ -name \*.c | wc -l
32

Best regards
Uwe

-- 
Pengutronix e.K.                              | Uwe Kleine-König            |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |




More information about the barebox mailing list