u-boot/scripts/dtc
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
..
libfdt scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
pylibfdt pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile 2017-11-17 07:43:32 -05:00
.gitignore scripts: dtc: Add .gitignore 2017-10-02 18:03:37 -04:00
checks.c scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
data.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
dtc-lexer.l scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
dtc-lexer.lex.c_shipped scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
dtc-parser.tab.c_shipped scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
dtc-parser.tab.h_shipped scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
dtc.c scripts/dtc: Update to upstream version v1.4.4-50-gfe50bd1ecc1d 2017-09-23 17:33:10 -04:00
dtc.h scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
flattree.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
fstree.c scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
livetree.c scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00
Makefile pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
Makefile.dtc scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
srcpos.c scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
srcpos.h scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
treesource.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
update-dtc-source.sh scripts/dtc: add fdt_overlay.c and fdt_addresses.c to sync script 2017-11-17 07:43:32 -05:00
util.c scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
util.h scripts/dtc: Update to upstream version v1.4.4 2017-09-23 17:33:06 -04:00
version_gen.h scripts/dtc: Update to upstream version v1.4.5-3-gb1a60033c110 2017-11-17 07:43:32 -05:00