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>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to