]> git.baikalelectronics.ru Git - uboot.git/commit
Pass empty CFLAGS on invocation of libfdt/setup.py
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 16 Mar 2017 22:23:55 +0000 (15:23 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 20 Mar 2017 22:04:43 +0000 (18:04 -0400)
commitd3f5752c2fa7c52d0f14e749bc8e41e094eb8769
tree7e67c09ee7b35029d672235aba6f5315af2a01d9
parente69e26929132cf037f834e2f2ef7ece2999978d3
Pass empty CFLAGS on invocation of libfdt/setup.py

When building u-boot tools in cross-build environment CFLAGS environment
variable set up for target is taken into an account when building code
for host. Make it empty on invocation of python.

This fixes the following build errors when cross-compiling for xtensa:

  cc1: error: unrecognized command line option "-mlongcalls"
  cc1: error: unrecognized command line option "-mauto-litpools"

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/Makefile