[U-Boot] [PATCH] bin_dep.sh Support
Detlev Zundel
dzu at denx.de
Mon Apr 6 11:39:56 CEST 2009
Hi,
> Dear Prafulla Wadaskar,
>
> In message <1238759359-6544-2-git-send-email-prafulla at marvell.com> you wrote:
>> From: prafulla_wadaskar <prafulla at marvell.com>
>>
>> In some cases the u-boot.bin need to be processed further
>> to create bootable u-boot binary from boot device
>> This processing may be cpu,soc and/or board spcific
>> bin_dep.sh provides a mechanism to execute bin_dep.sh
>> if present in above platform specific folders
>>
>> Signed-off-by: prafulla_wadaskar <prafulla at marvell.com>
>> ---
>> Makefile | 2 +
>> tools/bin_dep.sh | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 81 insertions(+), 0 deletions(-)
>> create mode 100755 tools/bin_dep.sh
>
> I don't see use cases for this. This should probably remain out of
> tree.
If the wrapping is needed to get a working U-Boot image for this
specific board, I'll vote to add the code.
On the other hand, I wouldn't probably add this to the u-boot.bin
target. A makefile should really specify what file is generated from
what and generating an extra target in the u-boot.bin rule somewhat
violates this rule.
I'd say, add another target and the script. Hopefully we can make this
as generic as possible so that other boards needing this can only plug
in their script.
Cheers
Detlev
--
I will use free software even if it is less powerful, or less reliable,
because freedom is the most important thing, and that is what the Free
Software movement is about. How we get freedom.
-- Richard M. Stallman
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
More information about the U-Boot
mailing list