tools: Correct python building host tools
authorTom Rini <trini@konsulko.com>
Mon, 23 Jan 2017 16:44:33 +0000 (11:44 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jan 2017 15:35:56 +0000 (10:35 -0500)
commit55be9b36bd8be4de3d806f8827222c514fc28930
tree4554409c0093bfd6e06a2d2d812d370c1a2c196b
parent4943dc2f1977cf89297b87f93f96ad4d7f09d24d
tools: Correct python building host tools

When we have python building tools for the host it will not check HOSTXX
variables but only XX variables, for example LDFLAGS and not
HOSTLDFLAGS.

Cc: Simon Glass <sjg@chromium.org>
Reported-by: Heiko Schocher <hs@denx.de>
Fixes: 1905c8fc711a ("build: Always build the libfdt python module")
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-by: Heiko Schocher <hs@denx.de>
tools/Makefile