rv1126-uboot/scripts/dtc
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
..
libfdt UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
pylibfdt UPSTREAM: pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile 2018-01-17 15:27:28 +08:00
.gitignore UPSTREAM: scripts: dtc: Add .gitignore 2018-01-17 15:27:28 +08:00
Makefile UPSTREAM: pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2018-01-17 15:27:28 +08:00
Makefile.dtc
checks.c UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
data.c
dtc-lexer.l
dtc-lexer.lex.c_shipped UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
dtc-parser.tab.c_shipped UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
dtc-parser.tab.h_shipped UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
dtc-parser.y UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
dtc.c UPSTREAM: scripts/dtc: Update to upstream version v1.4.4-50-gfe50bd1ecc1d 2018-01-16 18:16:48 +08:00
dtc.h UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
flattree.c
fstree.c
livetree.c UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00
srcpos.c
srcpos.h
treesource.c
update-dtc-source.sh UPSTREAM: scripts/dtc: add fdt_overlay.c and fdt_addresses.c to sync script 2018-01-17 15:27:28 +08:00
util.c
util.h
version_gen.h UPSTREAM: scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2018-01-17 15:27:28 +08:00