From: Detlev Zundel Date: Thu, 10 Jul 2008 12:51:03 +0200 Subject: [U-Boot-Users] [PATCH] add 'license' command to u-boot?commandline In-Reply-To: <487577BC.2010106@gmail.com> (Jerry Van Baren's message of "Wed, 09 Jul 2008 22:45:16 -0400") References: <20080709204205.E891A248FE@gemini.denx.de> <487577BC.2010106@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, > Wolfgang Denk wrote: >> In message <4874CE57.7090005@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