]> git.baikalelectronics.ru Git - uboot.git/commit
fdt: Makefile: Build python libfdt library if needed
authorSimon Glass <sjg@chromium.org>
Sat, 27 May 2017 13:38:23 +0000 (07:38 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 2 Jun 2017 16:17:50 +0000 (10:17 -0600)
commit0f9e2b7e94c9d4134431cfd264237e0dc76eea51
treead48702d5c9f5e12cbb352179cf70fd0414cc7a7
parent19f05bee35a1dacdbef6d03cc469d4ad153fab9f
fdt: Makefile: Build python libfdt library if needed

This is needed by binman and dtoc, so if those are being used, check that
the library is present and complain if not. Make sure that any error
appears on stderr so that buildman notices it.

This means that the fallback library (which uses fdtget) will not be used
anymore and swig will need to be installed to use binman / dtoc.

This affects any board which uses binman (currently sunxi and x86) or dtoc
(anything that uses CONFIG_SPL_OF_PLATDATA, currently some rockchip
boards).

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
scripts/Makefile.spl