u-boot-brain/scripts
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
..
basic fixdep: fix dependency on options surrounded by CONFIG_VAL() 2017-10-16 09:42:51 -04:00
coccinelle/net scripts: Add a cocci patch for miiphy_register 2016-08-15 15:26:23 -05:00
dtc pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
kconfig kconfig: re-sync with Linux 4.10 2017-02-12 14:31:25 -05:00
.gitignore cmd: add a new command "config" to show .config contents 2017-02-08 15:56:26 -05:00
bin2c.c scripts: import bin2c.c from Linux 4.10-rc6 2017-02-08 15:56:19 -05:00
binutils-version.sh scripts: fix binutils-version.sh for 'as' without a package. 2015-01-08 11:00:45 -05:00
build-whitelist.sh sunxi: Fix CONFIG_SUNXI_GMAC references 2017-09-01 20:48:27 +05:30
check-config.sh scripts: config_whitelist: Handle lines with leading spaces/tabs 2017-06-29 10:01:10 -04:00
checkpatch.pl checkpatch: Support wide strings 2017-10-29 10:13:10 -04:00
checkstack.pl avr32: Retire AVR32 for good 2017-07-06 16:17:19 -04:00
cleanpatch Makefile: Move some scripts imported from Linux 2013-12-13 09:18:45 -05:00
config_whitelist.txt Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT 2017-11-05 11:21:35 -05:00
const_structs.checkpatch checkpatch: update from Linux v4.13-rc6 2017-09-14 21:33:00 -04:00
coreboot.sed x86: Add a script to aid code conversion from coreboot 2016-03-17 10:27:23 +08:00
docproc.c cosmetic: kbuild: clean-up coding style (sync with Linux 3.16-rc1) 2014-06-20 11:56:26 -04:00
dtc-version.sh Makefile: Update minimum dtc version to 1.4.3 2017-09-22 07:40:05 -04:00
fill_scrapyard.py scripts: add a utility to fill blank fields of doc/README.scrapyard 2015-01-14 10:58:49 -05:00
gcc-stack-usage.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
gcc-version.sh kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
get_default_envs.sh scripts: Add script to extract default environment 2016-10-06 21:00:53 -04:00
get_maintainer.pl scripts/get_maintainer.pl: enable find_maintainer_files 2017-10-29 10:13:10 -04:00
Kbuild.include scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
kernel-doc kbuild: sync misc scripts with Linux 3.18-rc1 2014-11-07 16:27:07 -05:00
ld-version.sh kbuild: sync with Linux Kernel v3.15-rc1 2014-04-18 11:43:36 -04:00
Lindent scripts/Lindent: import from Linux 3.16 2014-08-21 12:01:29 -04:00
mailmapper tools, scripts: refactor error-out statements of Python scripts 2014-08-21 12:01:11 -04:00
Makefile dtc: Switch to building and using our own dtc unless provided 2017-09-24 07:32:24 -04:00
Makefile.autoconf kbuild: add include linux/kconfig.h in config.h 2017-01-28 08:47:42 -05:00
Makefile.build scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.clean scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
Makefile.extrawarn scripts/dtc: Update to upstream version v1.4.3 2017-09-23 17:33:03 -04:00
Makefile.host dm: Add a more efficient libfdt library 2016-07-14 20:40:24 -06:00
Makefile.lib kbuild: fix dependency of DT build 2017-10-16 09:42:51 -04:00
Makefile.spl pylibfdt: compile pylibfdt only when dtoc/binman is necessary 2017-11-17 07:43:32 -05:00
Makefile.uncmd_spl scripts/Makefile* Add SPDX-License-Identifier tag 2016-01-19 08:31:17 -05:00
mkmakefile kbuild: Make scripts executable 2014-11-12 13:25:42 -05:00
objdiff scripts: objdiff: Ignore debug info when comparing 2017-08-26 14:56:14 -04:00
setlocalversion scripts: setlocalversion: safely extract variables from auto.conf using awk 2017-08-13 17:15:08 +02:00
show-gnu-make scripts: add scripts/show-gnu-make to get GNU Make command name 2014-07-29 11:48:36 -04:00
spelling.txt scripts/checkpatch: add missing spelling.txt 2017-09-29 14:07:53 -04:00