On Tue, Oct 17, 2017 at 01:42:44PM +0900, Masahiro Yamada wrote: > Currently, pylibfdt is always compiled if swig is installed on your > machine. It is really annoying because most of targets (excepts > x86, sunxi, rockchip) do not use dtoc or binman. > > "checkbinman" and "checkdtoc" are wrong. It is odd that the final > build stage checks if we have built necessary tools. If your platform > depends on dtoc/binman, you must be able to build pylibfdt. If swig > is not installed, it should fail immediately. > > I added PYLIBFDT, DTOC, BINMAN entries to Kconfig. They should be > property select:ed by platforms that need them. Kbuild will descend > into scripts/dtc/pylibfdt/ only when CONFIG_PYLIBFDT is enabled. > > Signed-off-by: Masahiro Yamada <yamada.masah...@socionext.com> > Reviewed-by: Simon Glass <s...@chromium.org>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot