From: Wolfgang Denk Date: Fri, 18 Mar 2011 23:38:19 +0100 Subject: [U-Boot] [PATCH] Fix building tools alone with host compiler In-Reply-To: <1300482183-17836-1-git-send-email-revol@free.fr> References: <1300482183-17836-1-git-send-email-revol@free.fr> Message-ID: <20110318223819.E7915B370@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 =?UTF-8?q?Fran=C3=A7ois=20Revol?=, which exact problem is your patch supposed to fix? In message <1300482183-17836-1-git-send-email-revol@free.fr> you wrote: > > - don't include config.h when building with host cc, > - HOSTCFLAGS was defined with the wrong name, so wasn't used, What makes you think so? Top-level "config.mk" defines HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ $(HOSTCPPFLAGS) ? > - make sure make finds sources outside of tools/. Again, which exact problem are you trying to fix? 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 Another dream that failed. There's nothing sadder. -- Kirk, "This side of Paradise", stardate 3417.3