diff options
author | Daniel Hobi <daniel.hobi@schmid-telecom.ch> | 2010-11-10 14:11:21 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-14 23:26:29 +0100 |
commit | 02bd475e343582b3c915b94ef4016d5876d4a4f1 (patch) | |
tree | e0530e3952b87d1081f1ccce4be1cb17218201c1 /tools/setlocalversion | |
parent | 34bbf618600fb6961d8359e42fb87e59fbd788d9 (diff) | |
download | u-boot-02bd475e343582b3c915b94ef4016d5876d4a4f1.tar.gz u-boot-02bd475e343582b3c915b94ef4016d5876d4a4f1.tar.xz u-boot-02bd475e343582b3c915b94ef4016d5876d4a4f1.zip |
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>
Diffstat (limited to 'tools/setlocalversion')
0 files changed, 0 insertions, 0 deletions