Fix building tools alone with host compiler
authorFrançois Revol <revol@free.fr>
Fri, 18 Mar 2011 11:03:03 +0000 (11:03 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 12 May 2011 20:46:42 +0000 (22:46 +0200)
commitbbc6353c740064c8e0741b772376a1a67a1c3f01
treeb31ad5246207fa478afed2d5ad2e32dc78839505
parent95efa79d089fabf9f5a56756ff3c32235ddebc37
Fix building tools alone with host compiler

- don't include config.h when building with host cc,
- HOSTCFLAGS was defined with the wrong name, so wasn't used,
- make sure make finds sources outside of tools/.

Signed-off-by: François Revol <revol@free.fr>
tools/Makefile