All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] add 'license' command to u-boot?commandline
Date: Wed, 09 Jul 2008 10:42:31 -0400	[thread overview]
Message-ID: <4874CE57.7090005@ge.com> (raw)
In-Reply-To: <20080709143030.GB4657@prithivi.gnumonks.org>

Harald Welte wrote:
> Hi!
> 
> Since there has been support by Detlev and Stefan, I have modified the
> patch in a way to dynamically create the include/license.h file from the
> COPYING file by the use of a small C program and gzip combined with a
> Makefile rule.
> 
> What do you think now?

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
XXD(1)

NAME
        xxd - make a hexdump or do the reverse.

[snip other possibly useful flags like column]

        -i | -include
               output in C include file style. A complete static array 
definition is written  (named  after  the  input  file),
               unless xxd reads from stdin.

        -l len | -len len
               stop after writing <len> octets.

Best regards,
gvb

[1] <http://en.wikipedia.org/wiki/Somebody_Else%27s_Problem>

  reply	other threads:[~2008-07-09 14:42 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-06  7:52 [U-Boot-Users] [PATCH] add 'license' command to u-boot commandline Harald Welte
2008-07-06 10:11 ` Wolfgang Denk
2008-07-06 11:28   ` Harald Welte
2008-07-07 11:16     ` Detlev Zundel
2008-07-07 12:00       ` Stefan Roese
2008-07-09 14:30         ` [U-Boot-Users] [PATCH] add 'license' command to u-boot?commandline Harald Welte
2008-07-09 14:42           ` Jerry Van Baren [this message]
2008-07-09 14:56             ` Harald Welte
2008-07-09 20:42             ` Wolfgang Denk
2008-07-10  2:45               ` Jerry Van Baren
2008-07-10 10:51                 ` Detlev Zundel
2008-07-10 11:08                   ` Stefan Roese
2008-07-10 17:16                     ` Jean-Christophe PLAGNIOL-VILLARD
2008-07-10 11:13                   ` Harald Welte
2008-07-10 11:23                     ` Jerry Van Baren
2008-07-10 11:26                     ` Wolfgang Denk
2008-07-07 14:53       ` [U-Boot-Users] [PATCH] add 'license' command to u-boot commandline Wolfgang Denk
2008-07-07 15:33         ` Jean-Christophe PLAGNIOL-VILLARD
2008-07-07 18:30         ` Scott Wood
2008-07-07 19:22           ` Wolfgang Denk
2008-07-08 14:11             ` Detlev Zundel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4874CE57.7090005@ge.com \
    --to=gerald.vanbaren@ge.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.