From: Wolfgang Denk Date: Tue, 27 Nov 2007 23:12:41 +0100 Subject: [U-Boot-Users] [PATCH]: tools: fix fw_printenv tool to compile again In-Reply-To: Your message of "Tue, 27 Nov 2007 15:56:18 EST." <474C8472.4080706@ge.com> Message-ID: <20071127221241.2FFBA24075@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 In message <474C8472.4080706@ge.com> you wrote: > > I'm not sure it is a reasonable suggestion, but something like... > > ifeq ($(strip $(wildcard /usr/include/mtd/mtd-user.h)),) > MTD_VERSION=old > else > MTD_VERSION=new > endif Doesn't work. Who says my target uses the same MTD version as my build host? 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 ... The things love can drive a man to -- the ecstasies, the mise- ries, the broken rules, the desperate chances, the glorious failures and the glorious victories. -- McCoy, "Requiem for Methuselah", stardate 5843.7