From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 12 Feb 2011 10:29:58 +0100 Subject: [U-Boot] [PATCH v3] mkimage: add "-V" option to print version information In-Reply-To: <4D562D0A.9060800@free.fr> References: <1297414591-12987-1-git-send-email-wd@denx.de> <1297464103-9111-1-git-send-email-wd@denx.de> <20110211171117.b9b05b01.kim.phillips@freescale.com> <4D562D0A.9060800@free.fr> Message-ID: <20110212092958.5B1DF1519FD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <4D562D0A.9060800@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.