[U-Boot] [PATCH v3] mkimage: add "-V" option to print version information
Wolfgang Denk
wd at denx.de
Sat Feb 12 10:29:58 CET 2011
Dear Albert ARIBAUD,
In message <4D562D0A.9060800 at free.fr> you wrote:
>
> I might argue that this is kind of a hack, and that rather than trying
> to prune the U_BOOT_VERSION string, one should define two macros, for
> instance:
>
> #define PLAIN_VERSION "whatever"
> #define U_BOOT_VERSION "U-Boot " PLAIN_VERSION
I know this works find in C, but I'm not absolutely sure if this is
acceptable with all assemblers.
But I get the idea...
Updated patch follows.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People seldom know what they want until you give them what they ask
for.
More information about the U-Boot
mailing list