]> git.sur5r.net Git - u-boot/commit
tools/env: cross-compile fw_printenv without setting HOSTCC
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:45 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:10:04 +0000 (11:10 -0500)
commit79fc0c5f498c3982aa4740c273ab1a9255063d9c
tree63ae9ab410770442f296586ae4207fdae51cfa35
parent9a368d0f5818bb671c4567ca0e2dbabbf9c6724d
tools/env: cross-compile fw_printenv without setting HOSTCC

fw_printenv is a program which mostly runs on the target Linux.

Before switching to Kbuild, we needed to set HOSTCC at the
command line like this:
    make HOSTCC=<your CC cross-compiler> env

Going forward we can cross compile it by specifying CROSS_COMPILE:
    make CROSS_COMPILE=<your cross-compiler prefix> env
This looks more natural.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Tested-by: Gerhard Sittig <gsi@denx.de>
tools/.gitignore
tools/env/.gitignore [new file with mode: 0644]
tools/env/Makefile
tools/env/README