Daniel Hobi 02bd475e34 tools/env: cleanup host build flags
This patch makes tools/env/Makefile more similar to tools/imls:
- define HOSTSRCS and HOSTCPPFLAGS, so that .depend generation works.
- include U-Boot headers using -idirafter to prevent picking up
  u-boot/include/errno.h.
- use HOSTCFLAGS_NOPED (fw_env.c does not conform to -pedantic).

In order to cross-compile tools/env, override the HOSTCC variable
as in this example:

  make tools env HOSTCC=bfin-uclinux-gcc

Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Tested-by: Detlev Zundel <dzu@denx.de>
Tested-by: Steve Sakoman <steve.sakoman@linaro.org>
2010-11-14 23:26:29 +01:00
..
2010-11-14 23:26:29 +01:00
2010-10-12 21:49:28 +02:00
2010-09-21 22:44:53 +02:00
2010-10-27 20:16:52 +02:00
2010-09-19 19:29:49 +02:00
2005-07-21 11:22:21 +02:00
2009-11-24 23:43:18 +01:00
2009-04-28 01:16:46 +02:00