u-boot/arch/x86
Masahiro Yamada d6a0c78a4e pylibfdt: compile pylibfdt only when dtoc/binman is necessary
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.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-11-17 07:43:32 -05:00
..
cpu x86: braswell: cherryhill: Update dts for SPI lock down 2017-10-27 15:13:47 +08:00
dts x86: braswell: cherryhill: Update dts for SPI lock down 2017-10-27 15:13:47 +08:00
include/asm x86: acpi: Put sleepstates.asl to the common place 2017-10-27 15:13:47 +08:00
lib x86: fsp: graphics: Add some notes about the graphics info hob 2017-10-27 15:13:47 +08:00
config.mk x86: Enforce toolchain to generate 64-bit codes for 64-bit U-Boot 2017-08-01 20:17:02 +08:00
Kconfig pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
Makefile x86: Add 64-bit start-up code 2017-02-06 11:38:46 +08:00