rv1126-uboot/arch/x86
Masahiro Yamada ec821af4a7 UPSTREAM: 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.

Change-Id: I56c5daf252e28d23fcaea0bc2d327a34de60cdcf
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit d6a0c78a4efb1353f4ec6f6c59c0771298510f58)
2018-01-17 15:27:28 +08:00
..
cpu treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
dts x86: conga-qeval20-qa3-e3845.dts: Enable xHCI support in dts 2017-07-30 10:30:25 +08:00
include/asm UPSTREAM: dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2018-01-16 18:13:53 +08:00
lib x86: fsp: Configure SPI opcode registers before SPI is locked down 2017-08-24 11:00:47 +08:00
Kconfig UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
Makefile x86: Add 64-bit start-up code 2017-02-06 11:38:46 +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