[U-Boot-Users] [PATCH] add 'license' command to u-boot?commandline

Detlev Zundel dzu at denx.de
Thu Jul 10 12:51:03 CEST 2008


Hi,

> Wolfgang Denk wrote:
>> In message <4874CE57.7090005 at ge.com> you wrote:
>>> Bleah on the small C program (nothing personal, just hate to add
>>> Yet Another Program to the build process).  How about using echo
>>> for prelim text (if necessary) and xxd to create the struct
>>> instead?  I like making maintenance Somebody Else's Problem
>>> (SEP[1])
>>>
>>> $ man xxd
>>
>> How standard is xxd across distributions and operating systems?
>>
>> Best regards,
>>
>> Wolfgang Denk
>
> In debian, it is (also) provided by the vim-common package.  It looks
> like vim (the project) is the origin of the command.  That was
> Harald's objection to using xxd.  Unfortunately, it appears to be a
> reasonable objection.
>
> $ dpkg -S /usr/bin/xxd
> vim-common: /usr/bin/xxd
>
> IMHO, vim and xxd are essential programs so I'm OK with using
> xxd. OTOH, I understand some people actually prefer emacs and may have
> a problem with requiring vim to be installed.  ;-/

Even though I'm an enthusiastic Emacs user, I have different reasons for
my vote.  As far as build dependencies go, I'd like to restrict this to
the LSB standard[1].  Xdd is not in there, so thats why I vote for the
small C program (unless we can adapt the script and use 'od').

Cheers
  Detlev

[1] http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/toccommand.html

-- 
Perfection (in design) is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
                                        -- Antoine de Saint-Exupery
--
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